Longest substring with equal number of 0s and 1s leetcode July 8, 2019 16 32 64 128 Number of segments in a string leetcode