934 Shortest Bridge
link: Shortest Bridge Thought Since the question ask for shortest, so BFS probabely the best algorithms to solve it. But […]
link: Shortest Bridge Thought Since the question ask for shortest, so BFS probabely the best algorithms to solve it. But […]
LinkĀ 931.Minimum Falling Path Sum Thought DFS When first seeing this question, DFS prompt into my mind directly. Take Any node
Link: Unique Email Addresses Thought Brutal Force SolutionThis question is pretty simple (and it actually is an esay one). A