alexandra evenlength array consist 0s 1s the element array enumerate 1 n she want remove fracn2 element n length array way alternate sum array equal 0 ie a_1 a_2 a_3 a_4 dotsc 0 in word Alexandra want sum element odd position sum element position equal the element remove do not consecutivefor example 1 0 1 0 0 0 remove 2nd 4th element equal 1 1 0 0 alternate sum 1 1 0 0 0help