Find the Longest Valid Obstacle Course at Each Position

Find the Longest Valid Obstacle Course at Each Position - Coding Problem | K5kC