SanketAndStrings

How can I approach this problem using STL?

hello @Kinjal
tumhara code to sahi lag raha hai.
submit kar ke dekho ek baar

Bhaiya, yah sahi hai. Magar, abhi C++ STL ka course kr rhe hai, aur yah question iss course meh hai so using STL iss question ko kese kre?

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.