codemistic / Data-Structures-and-Algorithms

A repository to help the open-source community with DSA related contributions
MIT License
373 stars 350 forks source link

Binary String Has at Most One Segment of Ones.cpp #469

Closed Aman5989 closed 2 years ago

Aman5989 commented 2 years ago

Check if Binary String Has at Most One Segment of Ones. here's the solution of it

please add hacktoberfest tags.