i have build the logic of this program and it is working absolutely fine except one test case so i went to leet code to check the test case which is failing but i found that it is showing an errot on leetcode and it is not compiling
error-Line 44: Char 17: error: use of undeclared identifier ‘Solution’
int ret = Solution().countSubstrings(param_1); return ret;
^
here is my program
please help me to solve the matter