Recursion And Backtracking Leetcode Rating