Cody

Problem 2476. Max Change in Consecutive Elements

Created by Chandan singh in Community

If an array is given as input then find the index of consecutive elements that represent maximum change.

Example:

 Input    x = [1 10 3 0 2 4 0 -8 9 1]
 Output   y = [8 9]

Solution Stats

84.16% Correct | 15.84% Incorrect
Last solution submitted on Apr 30, 2019

Problem Comments

Recent Solvers71

Suggested Problems