• Leetcode 37


    Before solving this problem, we need to know what is backtracking. Generally speaking, backtracking method is: there are many choices at present, we don’t know which one to choose, so we need to try each one. Every path you try to connect will get a tree solution. For example, in the coordinates above[0,2]Through observation, we […]