CodingEasy
Check if substring exists in a string
Filed under Nvidia
The question
Write code to search for a substring within a given string, printing 'YES' if it exists and 'NO' otherwise.
No write-up yet. Related questions below have one.
Related Nvidia questions
Collected from public candidate posts and coding forums. Updated Nov 2026.