N-Queens and Constraint Satisfaction | Backtracking Patterns | DSA | Thita.ai