Intel Corporation interview question

Strpbrk library function implementation and design