Beautiful Strings — Asked in Microsoft, Adobe and Intuit Interviews

Problem Statement :

01011
1

Explanation of given Test Cases :

Approach :

Code :

Thanks for Reading

Upskilling students for tech placements!