Last test case not passing?
Hello @Deepanshu_garg,
You have done a silly mistake in your code that is producing wrong outputs:
Example:
IAmDeepanshuGarg
Your Output:
I
Am
Deepnshu
Grg
Expected Output:
I
Am
Deepanshu
Garg
What is missing? lowercase ‘a’
Mistake:
else if(s[i]>‘a’ && s[i]<=‘z’)
“=” operator is missing
Hope, this would help.
Give a like, if you are satisfied.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.