codemistic / Data-Structures-and-Algorithms

A repository to help the open-source community with DSA related contributions
MIT License
327 stars 334 forks source link

add: N-Queen Backtrack solution #613

Closed nilesh05apr closed 1 year ago

nilesh05apr commented 1 year ago

N-queens(Leetcode) JAVA Solution. #515

Added Backtracking solution for N-queens problem of Leetcode. accepted on leetcode : Runtime: 9 ms, faster than 44.45% of Java online submissions for N-Queens. Memory Usage: 46.5 MB, less than 27.44% of Java online submissions for N-Queens.