Given a binary string s, return true if the longest contiguous segment of s, or return false otherwise.
Constraints:
s.length
s[i] is either '0' or '1'.
Given a binary string s, return true if the longest contiguous segment of s, or return false otherwise.
Constraints:
s.length
s[i] is either '0' or '1'.