1784. Check if Binary String Has at Most One Segment of Ones - Easy | DSA Corner | Talentd