sir, i was trying a question in leetcode. the question was ‘Count the Number of Consistent Strings’. i have written a code for it, which passes all test cases except one. i am not able to understand the output in this test case. here are the links:
question:
code:
I don’t want the correct solution, i want to know the error.