diff --git a/src/algorithms/uncategorized/n-queens-bitwise/README.md b/src/algorithms/uncategorized/n-queens-bitwise/README.md deleted file mode 100644 index f722287b..00000000 --- a/src/algorithms/uncategorized/n-queens-bitwise/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# N-Queens Problem with Bitwise Solution - -Write a function that will find all possible solutions to the N queens problem for a given N. - -## References - -- [Wikipedia](https://en.wikipedia.org/wiki/Eight_queens_puzzle) -- [GREG TROWBRIDGE](http://gregtrowbridge.com/a-bitwise-solution-to-the-n-queens-problem-in-javascript/) -- [Backtracking Algorithms in MCPL using Bit Patterns and Recursion](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.51.7113&rep=rep1&type=pdf) diff --git a/src/algorithms/uncategorized/n-queens/README.md b/src/algorithms/uncategorized/n-queens/README.md index 703cf5e9..74031df0 100644 --- a/src/algorithms/uncategorized/n-queens/README.md +++ b/src/algorithms/uncategorized/n-queens/README.md @@ -71,3 +71,7 @@ and return false. - [GeeksForGeeks](https://www.geeksforgeeks.org/backtracking-set-3-n-queen-problem/) - [On YouTube by Abdul Bari](https://www.youtube.com/watch?v=xFv_Hl4B83A&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8) - [On YouTube by Tushar Roy](https://www.youtube.com/watch?v=xouin83ebxE&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8) +- Bitwise Solution + - [Wikipedia](https://en.wikipedia.org/wiki/Eight_queens_puzzle) + - [GREG TROWBRIDGE](http://gregtrowbridge.com/a-bitwise-solution-to-the-n-queens-problem-in-javascript/) + - [Backtracking Algorithms in MCPL using Bit Patterns and Recursion](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.51.7113&rep=rep1&type=pdf) diff --git a/src/algorithms/uncategorized/n-queens-bitwise/__test__/nQeensBitwise.test.js b/src/algorithms/uncategorized/n-queens/__test__/nQeensBitwise.test.js similarity index 100% rename from src/algorithms/uncategorized/n-queens-bitwise/__test__/nQeensBitwise.test.js rename to src/algorithms/uncategorized/n-queens/__test__/nQeensBitwise.test.js diff --git a/src/algorithms/uncategorized/n-queens-bitwise/nQueensBitwise.js b/src/algorithms/uncategorized/n-queens/nQueensBitwise.js similarity index 100% rename from src/algorithms/uncategorized/n-queens-bitwise/nQueensBitwise.js rename to src/algorithms/uncategorized/n-queens/nQueensBitwise.js