Given an array of 1's and 0's, divide the array into parts such that the number of 1's in first array is equal to number of 0's in the other. Print the index at which this partition occurs. If there are many such possibilities, find the first of such a partition.Given an array of 1's and 0's, divide the array