Commit Graph

60 Commits

Author SHA1 Message Date
Jxtopher
9ac4902940 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-15 12:13:21 +02:00
Jxtopher
07ab251e5f Update magic_sequence.cpp 2021-07-14 08:34:29 +02:00
Jxtopher
a589829314 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-14 08:16:07 +02:00
Jxtopher
0a8c1d3f91 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-14 08:14:33 +02:00
Jxtopher
95d18ce1e5 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-14 08:13:18 +02:00
Jxtopher
6663406f53 Update magic_sequence.cpp 2021-07-13 23:19:18 +02:00
Jxtopher
13a65a6af5 Update magic_sequence.cpp 2021-07-13 23:16:37 +02:00
Jxtopher
9fcb7ce010 Update magic_sequence.cpp 2021-07-13 23:07:14 +02:00
Jxtopher
d4fda2e75f Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 22:58:05 +02:00
Jxtopher
6ec8ac0097 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 22:57:23 +02:00
Jxtopher
c39b7a0ccd Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 22:56:25 +02:00
Jxtopher
ddd543761f Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 22:56:16 +02:00
Jxtopher
647a3c4a2e Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 22:56:08 +02:00
Jxtopher
f713beb132 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 22:56:00 +02:00
David Leal
0878288a11 Update backtracking/magic_sequence.cpp 2021-07-13 15:26:40 -05:00
David Leal
99e408544e Update backtracking/magic_sequence.cpp 2021-07-13 15:22:40 -05:00
David Leal
d3bcf56a2c Update backtracking/magic_sequence.cpp 2021-07-13 15:20:40 -05:00
David Leal
d88ca66c0a Update backtracking/magic_sequence.cpp 2021-07-13 15:18:32 -05:00
David Leal
28563c2c86 Update backtracking/magic_sequence.cpp 2021-07-13 15:16:14 -05:00
David Leal
f8d4a8f614 Update backtracking/magic_sequence.cpp 2021-07-13 15:15:54 -05:00
David Leal
fb5b8ffe1e Update backtracking/magic_sequence.cpp 2021-07-13 15:15:14 -05:00
David Leal
9fb91e710c Update backtracking/magic_sequence.cpp 2021-07-13 15:15:00 -05:00
David Leal
93daa8129e Update backtracking/magic_sequence.cpp 2021-07-13 15:11:16 -05:00
Jxtopher
cfa635494b Update magic_sequence.cpp 2021-07-13 18:54:04 +02:00
Jxtopher
0ac4048f69 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 18:51:30 +02:00
Jxtopher
dbc783b24a Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 13:29:37 +02:00
Jxtopher
13f618dabb Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 13:29:14 +02:00
Jxtopher
2b907f52ff Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 13:27:46 +02:00
Jxtopher
63fcb877d6 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 13:26:58 +02:00
github-actions
905a69418c clang-format and clang-tidy fixes for 2263f033 2021-07-13 11:26:12 +00:00
Jxtopher
2263f033fe Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 13:25:32 +02:00
Jxtopher
7966ef22d1 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-13 13:25:25 +02:00
Jxtopher
bcdd7bb037 Update magic_sequence.cpp 2021-07-12 18:54:48 +02:00
Jxtopher
cdaaaf8b61 Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-12 18:35:31 +02:00
Jxtopher
2d72c0f5e3 Update magic_sequence.cpp 2021-07-11 23:21:43 +02:00
Jxtopher
60ccf91510 update code formatter 2021-07-11 22:52:18 +02:00
Jxtopher
e4e404dd15 Create magic_sequence.cpp 2021-07-11 06:43:45 +02:00
Jxtopher
1ab5e4e564 feat: Replace "\n" -> std::endl (#1530)
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-09 14:00:34 -05:00
Francesco Urbani
9a78d69083 feat: added highlighting differences in Sudoku Solver (#1438)
* printing out the solved grid with the differences highlighted.

* added documentation to the functions.

* removed #define because code formatter check failed.
2021-01-05 15:10:27 +05:30
David Leal
2c13a7a376 [fix/docs]: Improve backtracking/n_queens_all_solution_optimised.cpp (#1041)
* updating DIRECTORY.md

* [fix/docs]: Improve backtracking/n_queens_...

...all_solution_optimised.cpp

* fix: Remove function-like macros

* clang-format and clang-tidy fixes for 689b788c

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-19 14:59:20 -05:00
David Leal
95650899fe [fix/docs]: Improve backtracking/rat_maze.cpp (#1084)
* [fix/docs]: Improve backtracking/rat_maze.cpp

* test: Added tests

* test: Move tests to a separate test function
2020-10-16 09:07:20 -04:00
Saurav Uppoor
5a7120165e docs: Update comments to English from Hindi in sudoku_solve.cpp (#1273)
Co-authored-by: saurav <sauravUppoor@users.noreply.github.com>
2020-10-13 13:13:03 -05:00
David Leal
f0c218c789 [fix/docs]: Improve backtracking/nqueen_print_all_solutions.cpp (#1049)
* updating DIRECTORY.md

* updating DIRECTORY.md

* [fix/docs]: Improve backtracking/nqueen_print_all_solutions.cpp

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-26 12:57:21 -05:00
David Leal
8454057249 docs: Remove file name 2020-08-13 17:03:56 -05:00
David Leal
d2c3a3f0d0 fix: lint warnings 2020-08-10 18:39:54 -05:00
David Leal
b7621157cb fix: Add namespace member: n_queens 2020-08-10 18:37:51 -05:00
David Leal
358f56f9be docs: Minor correction 2020-08-10 12:37:51 -05:00
David Leal
de5f695afa fix: Add spaces between numbers 2020-08-10 12:37:06 -05:00
David Leal
f4c187b9ae [fix/docs]: Improve backtracking/n_queens.cpp 2020-08-09 14:00:54 -05:00
David Leal
25b39a34fa [fix/docs]: Update backtracking folder (#916)
* [fix/docs]: Update backtracking/graph_coloring.cpp

* Add CMakeLists.txt in backtracking folder

* Add backtracking to CMakeLists.txt

* fix: Fix build issues

* docs: Various documentation fixes

* fix: minimax.cpp issues

* fix: sudoku_solve.cpp fixes

* formatting source-code for 8ffbbb35ce

* make he code neat and clean without global variables

* fix 2 stars in comment

* fix MSVC errors by forcing template parameter in function calls

Note: This is identical to passing it as a function parameter, and may not be helpful

* Update minimax.cpp

* docs: minimax.cpp improvements

* docs: Add Wikipedia link in minimax.cpp

* fix: minimax.cpp vector fix

* docs: fix Wikipedia link in minimax.cpp

* docs: fix return statement in minimax.cpp

* fix: sudoku_solve.cpp fixes

* fix: more sudoku_solve.cpp fixes

* fix: sudoku_solve.cpp fixes

* fix: sudoku_solve.cpp

* formatting source-code for 13b5b9b829

* docs: update graph_coloring.cpp description

* fix: use array instead of vector (minimax.cpp)

* feat: add namespace (minimax.cpp)

* docs: update namespace description (graph_coloring.cpp)

* fix: graph_coloring.cpp

* fix: sudoku_solve.cpp fixes

* fix: graph_coloring.cpp

* fix: minimax.cpp

* fix: more sudoku_solve.cpp fixes

* fix: more graph_coloring.cpp fixes

* fix: graph_coloring.cpp fixes

* fix: sudoku_solve.cpp fixes

* fix: minimax.cpp

* fix: sudoku_solve.cpp fixes

* fix: too few template arguments (std::array)

* fix: too few template arguments (std::array, minimax.cpp)

* fix: narrowing conversion from double to int (minimax.cpp)

* fix: excess elements in struct initializer (graph_coloring.cpp)

* fix: no matching function (graph_coloring.cpp)

* fix: graph_coloring.cpp issues/errors

* fix: knight_tour.cpp issues/errors

* fix: sudoku_solve.cpp issues/errors

* [fix/docs]: Various fixes in graph_coloring.cpp

* fix: More graph_coloring.cpp fixes

* docs: Add initial comment block (sudoku_solve.cpp)

* fix: Add return statement (knight_tour.cpp)

* fix: array fixes (graph_coloring.cpp)

* docs: documentation improvements (sudoku_solve.cpp)

* docs: documentation improvements (knight_tour.cpp)

* docs: documentation improvements (sudoku_solve.cpp)

* docs: documentation improvements (graph_coloring.cpp)

* docs: Documentation improvements (graph_coloring.cpp)

Thanks, @kvedala!

* docs: Documentation improvements (sudoku_solve.cpp)

* docs: Document function parameter (sudoku_solve.cpp)

* docs: Documentation improvements (knight_tour.cpp)

* docs: Add long description (graph_coloring.cpp)

* docs: Add long description (minimax.cpp)

* docs: Add long description (sudoku_solve.cpp)

* docs: Documentation improvements (knight_tour.cpp)

* docs: Documentation improvements (sudoku_solve.cpp)

* docs: Documentation improvements (minimax.cpp)

* docs: More documentation improvements (minimax.cpp)

* docs: Documentation improvements (sudoku_solve.cpp)

* fix: sudoku_solve.cpp improvements

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-08-07 14:35:59 -04:00