Check if Binary String Has at Most One Segment of Ones - Practice Coding | SlaveCode