Segregate 0's and 1's in an array(collect 0 and 1 together respectively)
Given an array of 0's and 1's. Segregate the 0's and 1's in the array. Collect 0 and 1 together respectively.
Given an array of 0's and 1's. Segregate the 0's and 1's in the array. Collect 0 and 1 together respectively.