Recursion And Backtracking Leetcode Problems Sql