Pocket Gems Interview Question

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