Check if Binary String Has at Most One Segment of Ones - DSA Problem | Talentd