N-Queens — Backtracking Pattern — Neetcode150

Link : https://leetcode.com/problems/n-queens/description/