Count occurrences of a substring without built-in functions
Filed under SanDisk
The question
Count how many times a substring occurs in a string without helpers such as strtok or find.
No write-up yet. Related questions below have one.
Related SanDisk questions
Collected from public candidate posts and coding forums. Updated Nov 2026.