Problem 975 · Hard

Odd Even Jump

Odd jumps go to the smallest later value at least as big; even jumps to the largest later value no bigger. Work backwards to see who reaches the end.

Open the interactive visualisation