Given an array int a[]. Add the sum at even indexes.do the same with odd indexes. if both the sum is equal return 1 or return -1.
Home/given an array int a[]. add the sum at even indexes do the same with odd indexes if both the sum is equal return 1 or return -1