November 2018

leetcode

935 Knight Dialer

link Knight Dialer Thought Since it ask how many distinct numbers could be generated, DP jumps to my mind immediately.

leetcode

934 Shortest Bridge

link: Shortest Bridge Thought Since the question ask for shortest, so BFS probabely the best algorithms to solve it. But

Scroll to Top