Count substrings with equal number of 0s 1s and 2s leetcode July 8, 2019 16 32 64 128 2506. count pairs of similar strings