Ad
  • Custom User Avatar

    Please don't create an issue when the problem is not with the kata. Use question label next time. Your code doesn't do what it should, it just returns the value of the middle element. Read the description again:

    returns the index of the numerical element that lies between the other two elements.