Commit Graph

1346 Commits

Author SHA1 Message Date
Rishabh Agarwal
ff4792d369
Update geometry/jarvis_algorithm.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-08-16 22:12:56 +05:30
Rishabh Agarwal
686ceb3cfa
Update geometry/jarvis_algorithm.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-08-16 22:12:37 +05:30
David Leal
9adf7f465c
Merge pull request #1023 from fzxutar/master
test: add test for fibonacci() function
2020-08-16 11:36:15 -05:00
David Leal
591c47ee12
Merge pull request #1018 from AkVaya/master
Added is_graph_bipartite.cpp
2020-08-16 11:32:02 -05:00
Filip Hlásek
2c41598e37 fix: linter for connected_components. 2020-08-15 15:57:45 -07:00
Filip Hlásek
c1961d7c2b fix: linter for dijkstra 2020-08-15 15:54:16 -07:00
rishabh-997
e59559af0f Added jarvis algorithm 2020-08-15 13:05:28 +05:30
rishabh-997
c6c5d81f1b Added Jarvis Algorithm to compute convex hull
Fixed code formatting

Fixed code formatting

Fixed code formatting

Added Jarvis algorithm to compute convex hull

Capitalized class name

Added requested changes

Added requested changes

Added jarvis algorithm

Added jarvis algorithm to compute convex hull
2020-08-15 13:00:29 +05:30
AkVaya
fd6b810061 Performed the requested changes 2020-08-15 10:58:51 +05:30
fzxutar
cc64ca66b0
[Updated] test: add test for fibonacci() function
Fixed the errors as suggested by the author.
2020-08-15 12:51:06 +08:00
Filip Hlásek
efbcaf253d Merge branch 'master' into fixgraph 2020-08-14 16:47:21 -07:00
David Leal
bae4b4c14c
fix: spelling typo (#1024) 2020-08-14 18:11:54 -04:00
AkVaya
e248a614e5 Performed requested changes 2020-08-15 01:58:23 +05:30
AkVaya
3e355d0f7a Performed the requested changes 2020-08-15 00:53:31 +05:30
Filip Hlasek
def8f4937e
Refactor lowest comomon ancestor. (#980)
* Refactor lowest comomon ancestor.

* Fix linter warnings.

* Address comments and linter warnings.

* Added Kaprekar number implementation

* updating DIRECTORY.md

* Added Collatz Conjecture implementation

* updating DIRECTORY.md

* Added Ugly Numbers implementation

* updating DIRECTORY.md

* Add lowest common ancestor to the graph namespace.

* updating DIRECTORY.md

* static tests function

* Revert ugly number kaprekar and collatz.

Co-authored-by: Deepak Vijay Agrawal <64848982+DebugAgrawal@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-14 12:35:11 -04:00
fzxutar
4c0b1a76b5
test: add test for fibonacci() function 2020-08-14 19:58:40 +08:00
AkVaya
ab26183183 Performed the requested changes 2020-08-14 10:04:21 +05:30
David Leal
426d6da4b6
Merge pull request #1000 from Panquesito7/backtracking_updates_2
[fix/docs]: Improve backtracking/n_queens.cpp
2020-08-13 17:16:46 -05:00
Krishna Vedala
6794515dc1
[enhancement] update openmp version & doxygen path fix (#1021)
* exclude 'build' directory from doxygen

* bump openmp version to 3.0

OpenMP >= v3.0 supports signed and unsigned for loop variables
2020-08-13 18:15:48 -04:00
David Leal
8454057249
docs: Remove file name 2020-08-13 17:03:56 -05:00
AkVaya
d87a6685f6 Performed the requested changes 2020-08-14 01:43:57 +05:30
AkVaya
97f3e1a076 Perfomed the requested changes 2020-08-14 01:06:24 +05:30
AkVaya
b94c29ce01 Added is_graph_bipartite.cpp 2020-08-14 00:23:51 +05:30
Filip Hlásek
ed5213e354 Merge remote-tracking branch 'upstream/master' into fixgraph 2020-08-13 10:38:09 -07:00
Filip Hlasek
bc73f9dd60
fix: linter for max flow. (#997)
(cherry picked from commit b23e9e643978de99cb17843d7388f15246e390f0)
2020-08-13 11:07:50 -04:00
David Leal
dfcfedcdd2
fix: Add endline (.vscode/settings.json) 2020-08-11 00:25:21 -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
Filip Hlásek
95f6c6e5fe Merge branch 'master' into fixgraph 2020-08-10 16:25:04 -07: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
250c0c4d0a
Merge pull request #998 from fhlasek/prim
fix: linter for prim.
2020-08-10 12:34:00 -05:00
David Leal
f4c187b9ae
[fix/docs]: Improve backtracking/n_queens.cpp 2020-08-09 14:00:54 -05:00
github-actions
f7ff88e7d7 updating DIRECTORY.md 2020-08-09 02:14:27 +00:00
Filip Hlásek
2e43bbdfb3 Rename dfs to depth_first_search.: 2020-08-08 19:12:57 -07:00
Filip Hlásek
b7383ed552 Undo changs in cycle check. 2020-08-08 13:02:14 -07:00
Filip Hlásek
ce0896f196 Merge remote-tracking branch 'upstream/master' into fixgraph 2020-08-08 12:44:08 -07:00
Filip Hlásek
e5ba469130 Using to replace typedef 2020-08-08 09:29:02 -07:00
github-actions
043c890524 updating DIRECTORY.md 2020-08-08 12:30:00 +00:00
Filip Hlasek
7559610a84
fix: refactor BFS algorithm. (#990)
* Refactor BFS algorithm.

* Rename bfs.

* Align the parameter padding.

* Fix parameter padding

* Fix typo in function name.
2020-08-08 08:28:50 -04:00
Filip Hlásek
c8dfc38456 fix: linter for prim. 2020-08-07 17:52:38 -07:00
github-actions
a2178f33cd updating DIRECTORY.md 2020-08-08 00:39:39 +00:00
Filip Hlásek
e0b583385b Merge branch 'master' into fixgraph 2020-08-07 17:38:45 -07: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
Filip Hlasek
b36ce9a8c0
fix: linter warnings for topological_sort. (#994)
Approving for now to enable a PR that adds graph folder to the CI build system.
2020-08-07 12:52:44 -04:00
Filip Hlasek
418e876dfe
Fix linter warnings for connected_components_with_dsu. (#992) 2020-08-07 12:49:12 -04:00
Filip Hlasek
426a12da58
fix: linter warnings for topological_sort_by_kahns_algo (#993) 2020-08-07 12:40:44 -04:00
Filip Hlasek
24653d9194
fix: linter warnings for bridge finding algorithm. (#991)
* Fix linter warnings for bridge finding algorithm.

* Comment main function.
2020-08-07 12:40:04 -04:00
Filip Hlásek
5dbf857fb4 Fix global variable name in topological_sort. 2020-08-04 00:00:52 -07:00
Filip Hlásek
1f9da87c12 Fix global variable name for connected_component_with_dsu. 2020-08-03 23:57:57 -07:00