[LC] Add solution to jump game.