Count Valid Substrings - IBM_28thjuly_2 OA Question | OAHelper