Find the Longest Valid Obstacle Course at Each Position - Practice Coding | SlaveCode