← Qualcomm questions

Implement strstr function

Filed under Qualcomm · Also reported at Teradata

Implement the standard library function strstr(haystack, needle), which returns the index of the first occurrence of needle in haystack, or -1 if not found.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Qualcomm questions

Collected from public candidate posts and coding forums. Updated Nov 2026.