Nitin Sharma
1edf69df60
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-13 23:21:26 +05:30
github-actions
acc2e799f0
clang-format and clang-tidy fixes for e3ba29eb
2021-08-13 17:04:22 +00:00
foo290
e3ba29eb0a
suggestions applied
2021-08-13 22:33:22 +05:30
github-actions
99ca5294d0
clang-format and clang-tidy fixes for b423fd4b
2021-08-13 08:07:17 +00:00
Nitin Sharma
b423fd4bc0
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-13 13:36:28 +05:30
github-actions
64a822f3c1
clang-format and clang-tidy fixes for 87e7df55
2021-08-12 18:28:25 +00:00
foo290
87e7df55bd
using uint for non negative numbers
2021-08-12 23:57:39 +05:30
github-actions
59111de57f
clang-format and clang-tidy fixes for 4bea23ef
2021-08-12 18:21:29 +00:00
Nitin Sharma
4bea23efed
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:50:24 +05:30
Nitin Sharma
3d2daf7aad
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:50:14 +05:30
Nitin Sharma
422395ca56
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:50:07 +05:30
Nitin Sharma
af75e3aae2
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:49:57 +05:30
Nitin Sharma
63e72c7834
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:49:44 +05:30
Nitin Sharma
04b2cd7114
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:49:34 +05:30
Nitin Sharma
1fdc61b1b2
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:49:22 +05:30
github-actions
fd8bb59e06
clang-format and clang-tidy fixes for 4e223bc3
2021-08-12 18:19:02 +00:00
Nitin Sharma
4e223bc3c7
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:48:21 +05:30
Nitin Sharma
5a48547bb1
Update others/lru_cache.cpp
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-08-12 23:48:11 +05:30
github-actions
81a2aa65a7
clang-format and clang-tidy fixes for 19d09e85
2021-08-12 08:38:46 +00:00
foo290
19d09e8590
using list instead of bits/stdc++.h
2021-08-12 14:07:22 +05:30
github-actions
d361eb15de
clang-format and clang-tidy fixes for ee18e3aa
2021-08-12 08:33:22 +00:00
foo290
ee18e3aacd
docs updated
2021-08-12 14:02:25 +05:30
github-actions
c144576bd8
clang-format and clang-tidy fixes for fcb50fb7
2021-08-12 08:23:36 +00:00
github-actions
61df579100
updating DIRECTORY.md
2021-08-12 08:23:14 +00:00
foo290
fcb50fb782
removing clang tidy warnings
2021-08-12 13:52:06 +05:30
foo290
aa8173bb32
feat: add lru caching algorithm
2021-08-12 13:39:31 +05:30
Nitin Sharma
8bc34eb8a2
Merge branch 'TheAlgorithms:master' into master
2021-08-12 12:02:02 +05:30
Swastika Gupta
20f74d4138
feat: Karatsuba algorithm ( #1550 )
...
* karatsuba algorithm
* Update karatsuba_algorithm_for_fast_multiplication.cpp
* Update karatsuba_algorithm_for_fast_multiplication.cpp
* Update karatsuba_algorithm_for_fast_multiplication.cpp
* Update karatsuba_algorithm_for_fast_multiplication.cpp
* Update karatsuba_algorithm_for_fast_multiplication.cpp
* Update karatsuba_algorithm_for_fast_multiplication.cpp
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 180f356d
* Update divide_and_conquer/karatsuba_algorithm_for_fast_multiplication.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update divide_and_conquer/karatsuba_algorithm_for_fast_multiplication.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update divide_and_conquer/karatsuba_algorithm_for_fast_multiplication.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 2b8d67ad
* Apply suggestions from code review
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com >
2021-08-09 18:30:42 +05:30
Swastika Gupta
faa58ed190
feat: Wildcard matching problem ( #1552 )
...
* wildcard matching
* Update backtracking/wildcard_matching.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/wildcard_matching.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/wildcard_matching.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for b2e0dbe0
* Update wildcard_matching.cpp
* clang-format and clang-tidy fixes for cae3a923
* Update backtracking/wildcard_matching.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* clang-format and clang-tidy fixes for 82338785
Co-authored-by: David Leal <halfpacho@gmail.com >
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
2021-08-07 19:29:46 -05:00
Swastika Gupta
a764d57e96
feat: Add n_bonacci.cpp in math section ( #1544 )
...
* n-bonacci
* Update math/n_bonacci.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update math/n_bonacci.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for f30cb377
* Update math/n_bonacci.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 4af9dc38
* Update n_bonacci.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
2021-07-29 12:29:27 -05:00
Swastika Gupta
bd44418731
feat: Add count_of_trailing_ciphers_in_factorial_n ( #1543 )
...
* zeroes
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 537cd7e8
* Update count_of_trailing_ciphers_in_factorial_n.cpp
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_trailing_ciphers_in_factorial_n.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for a8c85e2d
Co-authored-by: David Leal <halfpacho@gmail.com >
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
2021-07-29 11:41:52 -05:00
Nitin Sharma
1d7191c2e6
Merge branch 'TheAlgorithms:master' into master
2021-07-27 01:00:52 +05:30
Panquesito7
a6bd936530
test
2021-07-25 19:06:58 +00:00
codingbbq
f9a1acd4c3
Issue #1536 - [BUG] check_prime.cpp returns incorrect output for 9 ( #1537 )
...
Co-authored-by: Idrish Laxmidhar <idrish.l@hcl.com >
Co-authored-by: Vishal Sharma <mrvishalsharma@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-22 13:08:28 -05:00
David Leal
5d34de836e
feat: Convert all issue templates into issue forms ( #1545 )
...
* feat: Convert all issue templates into issue...
...forms. Also disables blank issues and adds an `Other` template for generic issues but no blank issues.
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
2021-07-22 22:10:10 +05:30
github-actions
e9082f0365
updating DIRECTORY.md
2021-07-22 09:12:23 +00:00
Swastika Gupta
f34f93e77a
feat: Add the Subarray Sum implementation ( #1527 )
...
* Create subarray_sum.cpp
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 0a293ece
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for f37f7b7c
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update subarray_sum.cpp
* clang-format and clang-tidy fixes for 9b0b5f87
* Update backtracking/subarray_sum.cpp
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 047366a8
* Update subarray_sum.cpp
* clang-format and clang-tidy fixes for 512b1887
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subarray_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* fix: Apply suggestions from code review
* docs: Apply suggestions from code review
* clang-format and clang-tidy fixes for e6979047
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-21 14:22:16 -05:00
Swastika Gupta
0e0ba5fc89
feat: Add the floyd_cycle_detection_algo.cpp file/algorithm ( #1540 )
...
* search for duplicate number using Floyd algorithm
* Update floyd_cycle_detection_algo.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-21 14:10:17 -05:00
Nitin Sharma
652c2d2650
feat: add inorder successor for bst in operations on ds ( #1532 )
...
* feat: add inorder successor in bst
* clang-tidy errors fixed, reference docs link added
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for f8658fe5
* docs formatting changed, namespace added
* clang-format and clang-tidy fixes for f54f31cd
* added bullet points in docs
* Update operations_on_datastructures/inorder_successor_of_bst.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update operations_on_datastructures/inorder_successor_of_bst.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update operations_on_datastructures/inorder_successor_of_bst.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update operations_on_datastructures/inorder_successor_of_bst.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* docs improved
* clang-format and clang-tidy fixes for f1b83198
* Update operations_on_datastructures/inorder_successor_of_bst.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 420a4ec1
* Apply suggestions from code review
* fix: Apply suggestions from code review
* memory leaks patched
* clang-format and clang-tidy fixes for ac801a1e
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-18 00:02:08 -05:00
Jxtopher
ae8685fb6a
feat: solving magic sequence problem with backtracking ( #1533 )
...
* Create magic_sequence.cpp
* update code formatter
* updating DIRECTORY.md
* Update magic_sequence.cpp
* Delete settings.json
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update magic_sequence.cpp
* Revert "Delete settings.json"
This reverts commit 64b08dee6d .
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 2263f033
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update magic_sequence.cpp
* Update magic_sequence.cpp
* Update magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update magic_sequence.cpp
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for f889fb4f
* Update backtracking/magic_sequence.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update magic_sequence.cpp
* fix: Apply suggestions from code review
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-17 15:36:19 +05:30
Swastika Gupta
7bab516e59
feat: Add the Wave Sort algorithm ( #1525 )
...
* Create wave_sort.cpp
* Update wave_sort.cpp
* Update wave_sort.cpp
* Update wave_sort.cpp
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 196165e7
* Update wave_sort.cpp
* Update sorting/wave_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update sorting/wave_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update sorting/wave_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update wave_sort.cpp
* clang-format and clang-tidy fixes for b5f9663f
* Update sorting/wave_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update sorting/wave_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 8651884e
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-16 13:41:54 -05:00
Swastika Gupta
e059765f79
Create subset_sum.cpp ( #1517 )
...
* Create subset_sum.cpp
* Update subset_sum.cpp
* Update subset_sum.cpp
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 4827805a
* Update subset_sum.cpp
* clang-format and clang-tidy fixes for dac32465
* Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com >
* clang-format and clang-tidy fixes for 1328571c
* Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com >
* Update subset_sum.cpp
* clang-format and clang-tidy fixes for 2325e165
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* clang-format and clang-tidy fixes for 1b82d499
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 31a1deae
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update subset_sum.cpp
* clang-format and clang-tidy fixes for 9cd07635
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update subset_sum.cpp
* Update subset_sum.cpp
* clang-format and clang-tidy fixes for 2405a142
* Update subset_sum.cpp
* clang-format and clang-tidy fixes for 383baeb3
* Update subset_sum.cpp
* Update backtracking/subset_sum.cpp
* Update backtracking/subset_sum.cpp
* Update backtracking/subset_sum.cpp
* Update backtracking/subset_sum.cpp
* Update backtracking/subset_sum.cpp
* Update backtracking/subset_sum.cpp
* Update backtracking/subset_sum.cpp
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: Filip Hlasek <fhlasek@gmail.com >
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-12 20:19:03 -05:00
Swastika Gupta
82290e72c5
tests: Add test in cycle_sort.cpp ( #1520 )
...
* Update cycle_sort.cpp
* Update sorting/cycle_sort.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update sorting/cycle_sort.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* clang-format and clang-tidy fixes for 2601c621
* Update cycle_sort.cpp
* Update cycle_sort.cpp
* Update cycle_sort.cpp
* clang-format and clang-tidy fixes for 39cf3f34
* Update sorting/cycle_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update cycle_sort.cpp
* Update cycle_sort.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-12 19:50:56 -05:00
Abhinn Mishra
394811e601
fix: spelling error in CONTRIBUTING.md ( #1531 )
...
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-09 14:03:57 -05:00
Swastika Gupta
6115bc2981
feat: Add House Robber algorithm ( #1524 )
...
* Create house_robber.cpp
* updating DIRECTORY.md
* Update dynamic_programming/house_robber.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update dynamic_programming/house_robber.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* Update dynamic_programming/house_robber.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* clang-format and clang-tidy fixes for c00823e8
* Update house_robber.cpp
* clang-format and clang-tidy fixes for cdf701c2
* Update house_robber.cpp
* clang-format and clang-tidy fixes for 39c3719f
* Update dynamic_programming/house_robber.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
* clang-format and clang-tidy fixes for 126e3f21
* Update house_robber.cpp
* Update dynamic_programming/house_robber.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update dynamic_programming/house_robber.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update dynamic_programming/house_robber.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update dynamic_programming/house_robber.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update house_robber.cpp
* clang-format and clang-tidy fixes for 474a5f0b
* Update dynamic_programming/house_robber.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update dynamic_programming/house_robber.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 203cce31
* Update house_robber.cpp
* Update house_robber.cpp
* Update house_robber.cpp
* clang-format and clang-tidy fixes for 6b0bea93
* Apply suggestions from code review
* Apply suggestions from code review
* clang-format and clang-tidy fixes for 913baf88
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-09 14:02:28 -05: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
Swastika Gupta
34556ad939
Create count_of_set_bits.cpp ( #1515 )
...
* Create count_of_set_bits.cpp
* Update count_of_set_bits.cpp
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for d0dc7eb3
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for f8606e8f
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 40e0f745
* Update count_of_set_bits.cpp
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update bit_manipulation/count_of_set_bits.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 >
2021-07-09 15:13:57 +05:30
Nitin Sharma
97afa0e3e4
feat: add Sublist Search Algorithm ( #1513 )
...
* feat: add sublist search algorithm
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for e59bc3bf
* Update search/sublist_search.cpp header docs
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update search/sublist_search.cpp docs
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update docs search/sublist_search.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update docs search/sublist_search.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update minor docs in search/sublist_search.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* made test function non static
Co-authored-by: David Leal <halfpacho@gmail.com >
* test docs updated
Co-authored-by: David Leal <halfpacho@gmail.com >
* namespaces added for search algo, docs added for test cases
* [feat/fix/docs]: Perform some necessary changes
* clang-format and clang-tidy fixes for 5a02b336
* test cases docs added, merge fixed
* clang-format and clang-tidy fixes for be0160b4
* one liner docs added
* clang-format and clang-tidy fixes for 95b362f3
* some final docs fixes
* clang-format and clang-tidy fixes for 798972e9
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* docs updated for one line docs
* clang-format and clang-tidy fixes for aebae1df
* added one liner docs
* clang-format and clang-tidy fixes for f6913b75
* Update search/sublist_search.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update search/sublist_search.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* clang-format and clang-tidy fixes for 66d1b87f
* Update search/sublist_search.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update search/sublist_search.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Apply suggestions from code review
* clang-format and clang-tidy fixes for dc5b0c6c
* Apply suggestions from code review
* clang-format and clang-tidy fixes for 6436932f
* Apply suggestions from code review
* clang-format and clang-tidy fixes for 35f39b57
* Update docs search/sublist_search.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 >
2021-07-07 14:53:29 +05:30
Nitin Sharma
60ee52fd6a
feat: add random pivot quick sort algorithm ( #1510 )
...
* feat: add random pivot quick sort algorithm, test cases included
* updating DIRECTORY.md
* docs: add proper docs for random pivot quick sort algorithm, code reformatted.
* fix: copy constructor bug fixed for TestCase class for random pivot quick sort algo
* docs and code reformatted according to standards
* c-style array declarations removed
* added minor suggestion in docs
* resource link added in docs
* docs formatted
* test function's docs added, using stl function for swap
* generator function migrated to namespace
* Update sorting/random_pivot_quick_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update sorting/random_pivot_quick_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* Update sorting/random_pivot_quick_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com >
* docs fixed sorting/random pivot quick sort
* Apply suggestions from code review
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
Co-authored-by: David Leal <halfpacho@gmail.com >
2021-07-06 22:49:27 +05:30
David Leal
0c5c096991
[feat/fix]: Improve the contributing guidelines... ( #1522 )
...
...and add the `CodingGuidelines.md` file, taken and edited from the [C](https://github.com/TheAlgorithms/C ) repository.
2021-07-05 22:02:33 -05:00