Commit Graph

1278 Commits

Author SHA1 Message Date
Rakshaa Viswanathan
5e30e7eb64 Update greedy_algorithms/jumpgame.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-09-15 12:34:23 +05:30
Rakshaa Viswanathan
4aea8495d6 Update greedy_algorithms/jumpgame.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-09-15 12:34:12 +05:30
Rakshaa Viswanathan
3ef35382a9 Update return
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-06 09:50:16 +05:30
Rakshaa Viswanathan
80da46c3c0 Formatting update 2
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-06 09:49:38 +05:30
Rakshaa Viswanathan
74eb42066f Formatting update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-06 09:49:20 +05:30
Rakshaa Viswanathan
5caf29d246 Formatting update
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-06 09:49:00 +05:30
Rakshaa Viswanathan
d948f89db9 documentation updated final 2020-09-05 10:29:59 +05:30
Rakshaa Viswanathan
96882beeaa test func update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-05 10:26:27 +05:30
Rakshaa Viswanathan
df39755e3b documentation update 2
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-05 10:25:47 +05:30
Rakshaa Viswanathan
817754c9ce documentation update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-05 10:24:12 +05:30
Rakshaa Viswanathan
ff2b89c4bc deleted linked list without head 2020-09-04 11:35:05 +05:30
Rakshaa Viswanathan
74947cecb4 Merge pull request #4 from rakshaa2000/master
More documentation and testing
2020-09-04 11:30:25 +05:30
Rakshaa Viswanathan
20aaca07a9 Added test function 2020-09-04 11:26:42 +05:30
Rakshaa Viswanathan
759313d0ce documentation added, testing yet to be added 2020-09-04 11:16:15 +05:30
Rakshaa Viswanathan
79e9444802 Merge pull request #3 from rakshaa2000/patch-1
Patch 1 merge
2020-09-04 10:38:24 +05:30
Rakshaa Viswanathan
11e9823558 main_func_Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-02 22:43:02 +05:30
Rakshaa Viswanathan
639b3ac577 Author_edit_Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-02 22:42:31 +05:30
Rakshaa Viswanathan
d0e1f715f6 fixed bugs 2020-09-01 11:03:56 +05:30
Rakshaa Viswanathan
883e3447d4 Merge pull request #2 from rakshaa2000/patch-3
Patch 3
2020-09-01 10:59:06 +05:30
Rakshaa Viswanathan
d4047b80c5 Delete linked list without head pointer
You are given a pointer/ reference to the node which is to be deleted from the linked list of N nodes. The task is to delete the node. Head pointer is not given.
2020-09-01 10:56:15 +05:30
Rakshaa Viswanathan
418a88429b Merge pull request #1 from rakshaa2000/patch-1
Patch 1
2020-09-01 10:04:17 +05:30
Rakshaa Viswanathan
f3cbd1edc9 added documentation
Added description of the problem and a brief explanation of the algorithm.
2020-09-01 09:55:04 +05:30
github-actions
a9da541127 updating DIRECTORY.md 2020-08-31 18:56:34 +00:00
Nimish Shah
0fcdbf2bdc fix: Remove repeated algorithm (#1067)
* Improve code and add support for 46+ fibb numbers

* Docs: Fibbonacci docs added

* fix: Add c++ suggested code

* fix: remove repeated algorithm
2020-08-31 13:55:49 -05:00
Rakshaa Viswanathan
84766d9443 Updated changes 2020-09-01 00:22:20 +05:30
Rakshaa Viswanathan
8622683556 fixed bugs final 2020-09-01 00:18:51 +05:30
Rakshaa Viswanathan
331638065c Fixed bug and removed namespace std 2020-09-01 00:15:34 +05:30
Rakshaa Viswanathan
35c99662ed Fixed warnings 2020-09-01 00:12:43 +05:30
Rakshaa Viswanathan
e845e4860d Changed header files 2020-09-01 00:09:11 +05:30
Rakshaa Viswanathan
2ffc847828 Changed header files 2020-09-01 00:08:54 +05:30
Rakshaa Viswanathan
0f2ce72be4 Created jumpgame.cpp
An algorithm to check if you can reach the destination
2020-09-01 00:04:11 +05:30
Filip Hlasek
072fc95228 docs: Update clang-format instructions in CONTRIBUTING. (#1053)
* docs: Update clang-format instructions in CONTRIBUTING.

* Accomodate more changes in the PR section of CONTRIBUTING.

* code formatting

* code sample as a shell script

* format build command

* Add instructions for clang-format installation.

* gitpod

* remove a sentence.
2020-08-30 13:38:49 -04:00
Filip Hlasek
4ed75018e3 fix: Clean up of code examples in CONTRIBUTING to follow guidelines. (#1063) 2020-08-28 12:47:02 -04:00
Krishna Vedala
f4fe0c6f5b [fix] rename data_structures namespace (#1061)
* rename data_structures namespace

* spelling correction

* fix namespace doc name
2020-08-27 17:13:27 -04:00
Krishna Vedala
b4bbe9dc4e [code fix] Fixed trie_tree for code quality and docs & clang-tidy error check (#1059)
* attempt to fix trie-tree code

* clang-tidy fixes

* remove performance-unnecessary-value-param as error - this has auto-fix

* make test() static

* added original author to the description

* added namespace

* doc updates

* fix true spelling

* extended to small & big caps alphabets - 52 characters

* clang-format and clang-tidy fixes for edc2247a

* move const parameter to after the parameters

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-27 12:30:14 -04:00
Raman Preet Singh
f255e3f1fa docs: Fix spelling typo (#1058) 2020-08-27 09:33:10 -05:00
Filip Hlasek
ea3071d52a fix: clang-format for hamiltons_cycle. (#1054) 2020-08-27 09:31:34 -05:00
Filip Hlasek
eee5f9495d fix: clang-format for dijkstra (#1055) 2020-08-27 09:29:22 -05:00
Filip Hlasek
79fb528dad fix: clang-format for graph/ (#1056)
* fix: clang-format for graph/

* remove graph.h
2020-08-27 09:28:31 -05:00
Filip Hlasek
3239fcc19e fix: linter and spacing for is_graph_bipartite. (#1037)
* fix: linter and spacing for is_graph_bipartite.

* updating DIRECTORY.md

* clang-tidy fixes for a49ec9b8d7

* clang-format and clang-tidy fixes for 40a56d2f

* Address reviewer's comments.

* Fix docs wording.

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-27 09:26:49 -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
Deep Raval
44f4f4d6c3 fix: error handling in opening of external files (neural_network.cpp). (#1044)
* Error Handdling of Files

* exit -> std::exit

* Improved Overall Error handling and reporting

* test commit 

added spaces in include to try to trigger GitHub Actions

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 51e943d0

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-26 12:56:31 -05:00
Krishna Vedala
c4f586b6ab [bug fix] fix code formatting in CI (#1052)
* fix: linter and spacing for is_graph_bipartite.

* updating DIRECTORY.md

* clang-tidy fixes for a49ec9b8d7

* use clang-12

* downgrade to clang11

* added clang-format confiug file

* added explicit clang-format step in workflow

* fix git command

* commit format and lint together

lint first and then format

* corrected order

* Revert "Merge branch 'is_graph_bipartite' into fix_clang"

This reverts commit d4d4060175, reversing
changes made to 2ccc3a364e.

Co-authored-by: Filip Hlásek <fhlasek@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-26 10:48:08 -04:00
github-actions
63333f38cc updating DIRECTORY.md 2020-08-25 23:58:06 +00:00
Lownish Rai Sookha
66dcc4c394 feat: add Pigeonhole algorithm (#1028)
* feat: add Pigeonhole algorithm

* Executed clang-format

* Used pointers and vector

* Corrected clang-tidy issues

* Modified code structure

* Apply suggestions from code review

Suggested changes applied

Co-authored-by: David Leal <halfpacho@gmail.com>

* Added missing parameter and documentation

* Added delete function

* Update pigeonhole_sort.cpp

* Corrected delete function

Co-authored-by: David Leal <halfpacho@gmail.com>

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>

* Changed documentation regarding array size

* clang-tidy

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>

* assert moved to test function

* Update pigeonhole_sort.cpp

* Update sorting/pigeonhole_sort.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Added test function and inbuilt min function

* min and max to const variables

* const int* to auto

* const int* to auto

* Apply suggestions from code review

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Modified pigeonSort documentation

* Corrected test functions

Co-authored-by: lsurface <lownish@hotmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-08-25 18:57:24 -05:00
Filip Hlasek
2882b7bec2 fix: math/fibonacci linter warnings. (#1047)
* fix: math/fibonacci linter warnings.

* updating DIRECTORY.md

* doxygen

* unit64_t instead of unsigned int

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-25 18:56:49 -05:00
Krishna Vedala
de868c9faa [enhancement] guideline for multiple implementations (#1051)
* guideline for multiple implementations

* updating DIRECTORY.md

* fixed spelling

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-08-25 19:20:32 -04:00
github-actions
149fe0cd63 updating DIRECTORY.md 2020-08-25 12:23:25 +00:00
Ayaan Khan
0dad6265f8 Merge pull request #1050 from verma-anushka/cpp
fix typo: (rename file) fast_interger_input -> fast_integer_input
2020-08-25 17:48:06 +05:30
Anushka Verma
47bbc2a16e remove word break 2020-08-24 01:54:17 +05:30