Ad
  • Custom User Avatar

    This turned out to be much simpler than I originally thought. When comparing values left to right, you only need to determine that the first value is less than the second; not the difference between the two. The difference between the values' respective indexes is what is relevant to finding a maximum.