algorithms
Wednesday, September 22, 2010
Find subarray which has equal number of 1s and 0s
How to find subarray from a array of 0s and 1s such that subarray should have equal number of 1s and 0s.
For eg:
11100 --> 1100
00111 ---> 0011
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment