Prim's algorithm This solution looks like Prim's algorithm. jump to the furthest reachable point update maxjump like Jump Game count = count + 1 loop until reach the end