longest substring with equal number of 0 and 1

We are given a string of 0s and 1s.
We have to find the maximum length of the substring in which no. of 0s and 1s is equal.

Comments

Popular posts from this blog