Question d’entretien chez Pocket Gems

One: Strstr(); Two: find top k frequency number