zen me dou zai tao lun liu bei???# Joke - 肚皮舞运动
I*A
1 楼
You are given an array ' containing 0s and 1s. Find O(n) time and O(1) space
algorithm to find the maximum sub sequence which has equal number of 1s and
0s.
Examples
10101010
The longest sub sequence that satisfies the problem is the input itself
1101000
algorithm to find the maximum sub sequence which has equal number of 1s and
0s.
Examples
10101010
The longest sub sequence that satisfies the problem is the input itself
1101000