Very Nice Problem

Looking at the problem, I was scared like anything but once I understood the question correctly, it was like a cake walk. Thanks to Coding Blocks that they are boosting my confidence day by day.

Hi @Shubham-Singh-3182890108418568,
Very happy to help!

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.