github-actions
ed033c38b3
updating DIRECTORY.md
2020-10-19 21:39:00 +00:00
chestamittal
c7912e7b1b
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:07:45 +05:30
chestamittal
1ebb42185f
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:03:03 +05:30
chestamittal
c89a0e3bf0
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:50 +05:30
chestamittal
1c7fe26285
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:41 +05:30
chestamittal
0978680880
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:32 +05:30
chestamittal
2db80b5066
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:21 +05:30
chestamittal
403f44d924
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 03:02:11 +05:30
Deep Raval
7f97119f8a
feat: Added Morse Code ( #1322 )
...
* Added Morse Code
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 7ff8c973
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/morse_code.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 16:25:28 -05:00
chestamittal
6dc89cc441
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:43:59 +05:30
chestamittal
261960cfb0
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:39:58 +05:30
chestamittal
1e1d11d03e
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:39:35 +05:30
chestamittal
d817968d1a
Update math/lcm_sum.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-20 01:39:23 +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
chestamittal
2854a463e1
add lcm_sum.cpp
2020-10-20 01:04:17 +05:30
David Leal
7c64998d42
[fix/docs]: Improve CONTRIBUTING.md ( #1300 )
...
* [fix/docs]: Improve CONTRIBUTING.md
* fix: Add suggested changes
2020-10-19 08:34:13 -04:00
Neha Hasija
fe538baac4
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:52:20 +05:30
github-actions
a6b57f8896
clang-format and clang-tidy fixes for db3f6944
2020-10-18 20:14:12 +00:00
github-actions
581715db04
updating DIRECTORY.md
2020-10-18 20:13:56 +00:00
Neha Hasija
db3f694490
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:47 +05:30
Neha Hasija
f03910abdc
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:38 +05:30
Neha Hasija
579a290acb
Update math/magic_number.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-19 01:42:31 +05:30
Deep Raval
981f781d09
docs: Imporoved Documentation in neural_network.cpp ( #1331 )
2020-10-18 14:20:12 -05:00
Pardeep Bhatt
3206660bcd
added documentation in dynamic_programming/0_1_knapsack.cpp
( #1207 )
...
* added docs
* algorithm added in comments
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* updated template parameter
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/0_1_knapsack.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-18 13:23:56 -05:00
Neha Hasija
e3f6382219
Create magic_number.cpp
...
This Pull Request is for HacktoberFest 2020
2020-10-17 19:31:30 +05:30
Krishna Vedala
79b98cc905
feat: guidelines for reviewers ( #1302 )
...
* Create REVIEWER_CODE.md
* added heading
2020-10-16 16:18:38 -04:00
divyansh12323
5731bcd6fc
feat: Add Pancake Sort algorithm ( #1189 )
...
* Create pancake_sort.cpp
* Update pancake_sort.cpp
* Update pancake_sort.cpp
* Update pancake_sort.cpp
* Update pancake_sort.cpp
* Update pancake_sort.cpp
* Update pancake_sort.cpp
* Update pancake_sort.cpp
* Update pancake_sort.cpp
* updating DIRECTORY.md
* Update pancake_sort.cpp
* Update pancake_sort.cpp
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-16 15:06:21 -05:00
Akshay Anand
34a6faf401
adding word break DP approach ( #1278 )
...
* adding word break DP approach
* fixing formatting
* fixing linting issues
* adding documentation and other enhancements
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 061c21ae
* docs: fixed documentation
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/word_break.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for d8ab6b02
* Update dynamic_programming/word_break.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* clang-format and clang-tidy fixes for 05d7ca14
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-16 15:54:42 -04:00
Arpan Mukherjee
a55e362ee1
Added Sparse Table for range query ( #996 )
...
* Added Sparse Table for range query
* Fixed Lint Warnings
* Fixed comments and Lint warnings
* Fixed comments
* Fixed comments and Lint warnings
* Fixed comments and Lint warnings
* Fixed variable reference Lint warnings
* Added documentation for functions parameters and return statements
* updating DIRECTORY.md
* Added documentation
* Applied namespace range_queries
Co-authored-by: David Leal <halfpacho@gmail.com>
* Updated wikipedia documentation link
* Resolved comments
* Fixed typo
Co-authored-by: David Leal <halfpacho@gmail.com>
* Resolved comments
* Added tests
* Cleaned up debugging statements
* Resolved comments
* Resolved Comments
* Update sparse_table.cpp
* Resolved comments
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Fixed comments
* Update sparse_table.cpp
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-16 12:38:00 -04: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
Krishna Pal Deora
06b6714b0e
Hopcroft–Karp algorithm implementation ( #1087 )
...
* Hopcroft–Karp algorithm implementation
The Hopcroft–Karp algorithm is an algorithm that takes as input a bipartite graph and produces as output a maximum cardinality matching.
* Update hopcroft_karp.cpp
* fix : fixed the issues
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update hopcroft_karp.cpp
Added Global variable as private variable
* Update hopcroft_karp.cpp
* Update hopcroft_karp.cpp
* Update hopcroft_karp.cpp
* Update hopcroft_karp.cpp
* Update hopcroft_karp.cpp
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update hopcroft_karp.cpp
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-tidy fixes for 780580f71f
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-tidy fixes for 03f97cb241
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* applied suggested changes
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* applied changes
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* improved documentation
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update hopcroft_karp.cpp
* corrected code
* Update hopcroft_karp.cpp
* changed the class name
* applied suggested changes
included the HKGraph class and it's member functions inside namespace graph
* Update graph/hopcroft_karp.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update hopcroft_karp.cpp
* Update hopcroft_karp.cpp
* added sample test cases
* Update DIRECTORY.md
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update DIRECTORY.md
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* updating DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: @8848hg <53469557+Himalay12@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-16 08:41:51 -04:00
David Leal
78fbb40e9d
[fix/feat]: Added Code of Conduct ( #1135 )
...
Code of Conduct from the https://github.com/TheAlgorithms/.github repository.
2020-10-14 16:17:27 -05: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
Deep Raval
895ae31cd7
Fixed a typo ( #1237 )
2020-10-11 10:31:00 -04:00
Divyajyoti Ukirde
04e0acc3cf
feat: added check_factorial ( #1155 )
...
* feat: added check_factorial
* updating DIRECTORY.md
* feat: added check_factorial
* review changes
* review changes
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-05 08:52:27 -04:00
github-actions
a6a3b7deec
updating DIRECTORY.md
2020-10-02 12:22:58 +00:00
pratamjain
c915f9f3c2
Updated stack_using_array.cpp ( #1137 )
...
Added bottom function for getting bottom element from a stack .
2020-10-02 08:22:14 -04:00
Rakshaa Viswanathan
8ccd66bda3
Created jumpgame.cpp ( #1068 )
...
* Created jumpgame.cpp
An algorithm to check if you can reach the destination
* Changed header files
* Changed header files
* Fixed warnings
* Fixed bug and removed namespace std
* fixed bugs final
* Updated changes
* added documentation
Added description of the problem and a brief explanation of the algorithm.
* 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.
* fixed bugs
* Author_edit_Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* main_func_Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation added, testing yet to be added
* Added test function
* deleted linked list without head
* documentation update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation update 2
Co-authored-by: David Leal <halfpacho@gmail.com>
* test func update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation updated final
* Formatting update
Co-authored-by: David Leal <halfpacho@gmail.com>
* Formatting update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
* Formatting update 2
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update return
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Added link to the problem
* documentation update 3
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation update 4
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Revert "Update greedy_algorithms/jumpgame.cpp"
This reverts commit 072f9cc946
.
* Revert "Update greedy_algorithms/jumpgame.cpp"
This reverts commit f308a5f6c2
.
* Revert "Update greedy_algorithms/jumpgame.cpp"
This reverts commit 4b6eb0cbc9
.
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-10-02 08:21:16 -04:00
Darshana Sarma
bcf79e259a
feat: Added Postfix Evaluation ( #1083 )
...
* feat:Added Postfix evaluation
* updating DIRECTORY.md
* Fixed global variable name and stack def
* Fixed c from int to float
* Fixed clang-tidy
* Modified code for larger values
* Added string header
* Suggested changes
* Fixed clang-tidy
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* Added description for class
* Fixed function calling
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* Updated evaluate function documentation
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update others/postfix_evaluation.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update others/postfix_evaluation.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Darshana-Sarma <lownish@hotmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-09-30 13:48:39 -05:00
Pardeep Bhatt
b09b3da69a
[fix]: dynamic_programming/cut_rod.cpp
does not compile ( #1085 )
...
* Create largestBST_in_binary_tree.cpp
* formatting filenames b15bd1ea
* updating DIRECTORY.md
* Update DIRECTORY.md
* updating DIRECTORY.md
* fixed compilation error in cut_rod.cpp code
* fixed clang-tidy warnings
* Delete largestbst_in_binary_tree.cpp
* removed compilation errors
* Update cut_rod.cpp
* added requested changes in the code
* added testing
* Update DIRECTORY.md
* Delete largestbst_in_binary_tree.cpp
* added namespaces
* added kadane2 algorithm
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/cut_rod.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/cut_rod.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/cut_rod.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added right funtion name in comments
* Update dynamic_programming/cut_rod.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/cut_rod.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added documentation for template parameter
* checking for github actions
* clang-format and clang-tidy fixes for db70ae2f
Co-authored-by: anishmo99 <ani10sh@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Anish Mookherjee <59157112+anishmo99@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-30 13:03:34 -05:00
Mertcan Davulcu
8e14b25fa3
Added strand sort algorithm ( #1081 )
...
* Create strand_sort.cpp
* Update strand_sort.cpp
* Update strand_sort.cpp
* Delete strand_sort.cpp
* Create strand_sort.cpp
* Update sorting/strand_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strand_sort.cpp
* Update strand_sort.cpp
* Update sorting/strand_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/strand_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strand_sort.cpp
* Update sorting/strand_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/strand_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/strand_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update sorting/strand_sort.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update sorting/strand_sort.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update sorting/strand_sort.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update strand_sort.cpp
* Update strand_sort.cpp
* updating DIRECTORY.md
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-09-30 12:21:25 -05:00
@8848hg
67be3a592d
fix: short a bit the code (sorting/merge_sort.cpp) ( #1066 )
...
* Merge_sort modified in while loop
* Merge_sort modified in while loop
* Merge_sort modified in while loop
* Update merge_sort.cpp
2020-09-27 15:53:47 -05:00
github-actions
0196573949
updating DIRECTORY.md
2020-09-23 18:42:14 +00:00
Ayush Singh
7f7b2b0e68
added kadane algorithm function ( #1079 )
...
* added kadane algorithm function
* added changes
* third commit
* fixed some problems
* fixed warnings
* added documentation
* Update kadane_algorithm/kadane.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update kadane_algorithm/kadane.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update kadane_algorithm/kadane.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added details in the documentation
* Update kadane_algorithm/kadane.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update kadane_algorithm/kadane.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added kadane2.cpp
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added some things
* fixed
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* changes
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added code
* added changes suggested
* Update .vscode/settings.json
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/kadane2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-23 14:41:28 -04:00
Filip Hlasek
d4b54b8294
feat: Define graph structure in breadth_first_search ( #1076 )
...
* feat: Define graph structure in breadth_first_search
* using instead of typedef
2020-09-18 13:34:18 -04:00
Rakshit Raj
88fe6911df
Update merge_sort.cpp ( #1077 )
...
On line 133 --- corrected the size argument so that the last element is not missed
2020-09-09 12:51:07 -04:00
github-actions
508ea020d3
updating DIRECTORY.md
2020-09-04 00:14:24 +00:00
ckontakis
60050d7b1b
Added Horspool algorithm ( #1071 )
...
* feat: add Horspool algorithm
* Fixed conversion from unsigned long to int with static casting
* Removed changes from CMakeLists.txt file
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Documentation, test function and namespaces added
* Documentation, test function and namespaces added
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Removed blank rows
* Commit to see if the problem with automated tests is solved
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-03 20:12:56 -04:00
Bolaji Boluwatife
6e77f98494
Revised Linked List ( #999 )
...
* Addition of Test to LinkedList
I noticed an infinite loop when the program asks the user to "Enter the element to be inserted:", and the user enters a wrong input such as "rr".
* Revised Tests
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added documentations to functions
I made a few changes although I'm not sure I covered all.
* Update linked_list.cpp
* function documentation
Co-authored-by: David Leal <halfpacho@gmail.com>
* function documentation
Co-authored-by: David Leal <halfpacho@gmail.com>
* function documentation
* Update linked_list.cpp
* removed global variable
I decided to go with the parameter approach.
Is line 79(Iter& ....) and others like it considered healthy code?
* removed global variable
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* fixed clang errors
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* program rewrite
* Update linked_list.cpp
* Update linked_list.cpp
* Removed extra space
* Update linked_list.cpp
* Delete vdoubly_linked_list.ico
* added documentation
* added documentation
* added documentation
* use of shared_ptr
* use of shared_ptr
* modified linked list
* Update linked_list.cpp
* added string header
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* fixed documentation
* fixed link class
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* fixed link class
* fixed runtime error
Co-authored-by: David Leal <halfpacho@gmail.com>
2020-09-03 19:01:50 -05:00
Krishna Vedala
08c4a3f664
feat: Added merge-insertion sort from #246 ( #1062 )
...
* Create Merge-insertion sort.cpp
* fixed file path
* working code
* added documentation
* replace c-style array with std::array
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 8b3a6634
Co-authored-by: sinkyoungdeok <tlsrudejr123@nate.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-09-03 08:51:30 -04:00