Problem 1340 · Hard
Memoize the longest chain of jumps from each index, where a jump may only cross strictly smaller values.
Open the interactive visualisation