Intel Corporation interview question

how to implement strtok