CanYouReadThis? problem doubt

The last two test cases are showing wrong answer in my code linked above. Please help.

Hi @Rooopak_Sharma, pls that your code fails for a testcase like this:

// Input
FindAllWordsH
// Expected Output
Find
All
Words
H
// Your Output
Find
All
WordsH

Pls debug your code for this bug. Hope this helps :slight_smile:

In Camel Case every Individual word starts with Capital letter and rest all are in lowercase.

So, you are suppose to check for every uppercase letter in the given string as it marks the start every word.

Note: first letter is in upper case, so you should also take care of that to avoid extra blank line in the start of the output.

Hope, this would help,.
If you still have doubts, feel free to ask.