Test cases failed

Hey @ashish_arora369
There are many errors in your code
try for “Find” it will not work
So instead push in vector until s[i+1] is not null or not capital
when its capital or null print it and clear it

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.

i still didn’t got it

hello @ashish_arora369

this problem has very simple approach .

iterate the string from 0 to last index.
    a) if current character belongs to { 'A'....'Z } then print newline character
   
   b) print current character

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.