Pocket Gems Interview Question

Code strstr() and know the bigO notation for it.