Ad
  • Custom User Avatar

    As Chrono said, I think you misread the instructions. If you still don't understand why it isn't 1, I can go into more detail. Just let me know.

  • Custom User Avatar

    How is 1 equal to 3 + 4 + 3 + 2 + 1? There's no mistake in the instructions. Read them again:

    You are going to be given an array of integers. Your job is to take that array and find an index N where the sum of the integers to the left of N is equal to the sum of the integers to the right of N. If there is no index that would make this happen, return -1.