Jump Trading interview question

Dynamic programming + some language related tricks