We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 363d33d commit dbaa4aeCopy full SHA for dbaa4ae
jump-game-ii/README.md
@@ -1,4 +1,10 @@
1
+## [Prim's algorithm](http://en.wikipedia.org/wiki/Prim's_algorithm)
2
-## TODO
3
- * write down thinking
+This solution looks like [Prim's algorithm](http://en.wikipedia.org/wiki/Prim's_algorithm).
4
+
5
6
+ * jump to the furthest reachable point
7
+ * update `maxjump` like [Jump Game](../jump-game)
8
+ * `count = count + 1`
9
+ * loop until reach the end
10
0 commit comments