DOUBT REGARDING THE QUESTION

In this question we re asked to seperate words from string and print them but there are millions of words . how can we do tht

hello @dhruv.mahajan.mait

we are following camecase so whenver we encounter any capital letter then that will signify that last words ended and new word started.
for example-> abcDeeG

here-> abc will be one word becuase next element (D) is in capital letter .
then Dee (again becuase G is in capital)
and G.

logic->

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.