[LeetCode] 2609. Find the Longest Balanced Substring of a Binary String

You are given a binary string s consisting only of zeroes and ones. A substring of s is considered balanced if all zeroes are before ones and the numb
posted @ 2023-11-08 02:17  CNoodle  阅读(15)  评论(0编辑  收藏  举报