Commit Graph

1493 Commits

Author SHA1 Message Date
github-actions
24c901c9a5 clang-format and clang-tidy fixes for 2405a142 2021-07-10 07:22:44 +00:00
Swastika Gupta
2405a1423b
Update subset_sum.cpp 2021-07-10 12:51:50 +05:30
Swastika Gupta
dc138d7270
Update subset_sum.cpp 2021-07-10 12:48:08 +05:30
Swastika Gupta
60fbdbefe1
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-10 12:43:45 +05:30
Swastika Gupta
4eb142e03f
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-10 12:43:28 +05:30
Swastika Gupta
1bbebbf10a
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-10 12:43:20 +05:30
Swastika Gupta
3fb09e4100
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-10 12:43:11 +05:30
Swastika Gupta
2337303855
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-10 12:43:02 +05:30
Swastika Gupta
0387dce9bd
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-10 12:42:53 +05:30
github-actions
39634ee98d clang-format and clang-tidy fixes for 9cd07635 2021-07-07 03:25:20 +00:00
Swastika Gupta
9cd07635ec
Update subset_sum.cpp 2021-07-07 08:54:35 +05:30
Swastika Gupta
6407a5939c
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:46:39 +05:30
Swastika Gupta
36eebdd4d0
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:46:26 +05:30
Swastika Gupta
5cd469a230
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:46:18 +05:30
Swastika Gupta
c5b7efed56
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:46:07 +05:30
Swastika Gupta
1d33439cfb
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:45:56 +05:30
Swastika Gupta
ca0ba6658a
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:45:48 +05:30
Swastika Gupta
4961e4436b
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:45:32 +05:30
Swastika Gupta
27a1fdfbcc
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:45:17 +05:30
Swastika Gupta
92fbb41da1
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:44:52 +05:30
Swastika Gupta
1992e5b269
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:44:31 +05:30
github-actions
45ac3eaef7 clang-format and clang-tidy fixes for 31a1deae 2021-07-07 03:13:55 +00:00
Swastika Gupta
31a1deaef7
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:43:17 +05:30
Swastika Gupta
bb9921bbea
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:42:55 +05:30
Swastika Gupta
6a6e72a381
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-07-07 08:42:46 +05:30
github-actions
b84c418427 clang-format and clang-tidy fixes for 1b82d499 2021-07-06 03:43:00 +00:00
Swastika Gupta
1b82d4991b
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-06 09:12:21 +05:30
Swastika Gupta
71a742ec7d
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-07-06 00:17:55 +05:30
github-actions
e80834df79 clang-format and clang-tidy fixes for 2325e165 2021-07-05 00:47:44 +00:00
Swastika Gupta
2325e16551
Update subset_sum.cpp 2021-07-05 06:17:06 +05:30
Swastika Gupta
759305cb6b
Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com>
2021-07-01 18:31:11 +05:30
github-actions
dfdad0c224 clang-format and clang-tidy fixes for 1328571c 2021-06-29 18:50:18 +00:00
Swastika Gupta
1328571ca4
Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com>
2021-06-30 00:19:35 +05:30
Swastika Gupta
a32b32f01c
Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com>
2021-06-30 00:19:26 +05:30
github-actions
e88875aa58 clang-format and clang-tidy fixes for dac32465 2021-06-29 17:41:50 +00:00
Swastika Gupta
dac3246588
Update subset_sum.cpp 2021-06-29 23:11:09 +05:30
github-actions
20560dc947 clang-format and clang-tidy fixes for 4827805a 2021-06-28 12:16:14 +00:00
github-actions
e21e53f2a0 updating DIRECTORY.md 2021-06-28 12:16:02 +00:00
Swastika Gupta
4827805a0a
Update subset_sum.cpp 2021-06-28 17:45:32 +05:30
Swastika Gupta
6334148262
Update subset_sum.cpp 2021-06-28 17:36:53 +05:30
Swastika Gupta
67681aa751
Create subset_sum.cpp 2021-06-28 17:20:08 +05:30
David Leal
d54afc520f
[feat/fix]: Improve the contributing guidelines (#1503)
* [feat/fix]: Improve the contributing guidelines

Mostly fix grammar, spelling errors, typos, and improves wording.

* [docs]: Apply suggestions from code review

* [feat/fix]: Minor improvements/fixes

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-06-18 14:55:52 -05:00
David Leal
554919d9f5
[feat/fix/docs]: Improve the dynamic_programming/longest_increasing_subsequence.cpp file (#1504)
* [feat/fix/docs]: Improve the `dynamic_programming/longest_increasing_subsequence.cpp` file

* [test/feat]: Add self-test implementations and...

...namespace (`dynamic_programming`).
Thanks to @manncodes for the idea and help!

Co-authored-by: Mann Patel <manncodes@users.noreply.github.com>

* clang-format and clang-tidy fixes for 7d4562d6

Co-authored-by: Mann Patel <manncodes@users.noreply.github.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-06-18 14:17:31 -05:00
Mann Patel
17405a05ee
feat: add spare table data structure (#1502)
* feat: add spare table data structure

Added implementation of sparse table for a 'duplicate invariant function'. Implementation of min(a1,a2...,aN) being the duplicate invariant function is done.

* fixed: clang-tidy warnings

* minor change: remove bits/stdc++ header

* added header comments

* updating DIRECTORY.md

* fixed to clang-format

* fixed header postion

suggested change

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

* fixed author name

suggested changes

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

* fixed test() info to Doxygen standards.

suggested changes

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

* changed comment

suggested changes

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

* minor changes in file info

suggested changes

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

* minor changes in file info

suggested changes

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

* minor changes in file info

suggested changes

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

* changes in variable and struct descriptions

* Update data_structures/sparse_table.cpp

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

* Update data_structures/sparse_table.cpp

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

* Update data_structures/sparse_table.cpp

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

* changed int data type for non-negative numbers

* changing datatypes of certain variables

* Update data_structures/sparse_table.cpp

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

* Update data_structures/sparse_table.cpp

Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>

* clang-format and clang-tidy fixes for ddf777fc

* minor changes

* fixed comparison of integer of diff signedness

* Update data_structures/sparse_table.cpp

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

* added description as @Panquesito7 suggested

* minor grammar checks

* minor documentation fixes

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-06-07 15:24:49 -05:00
GeorgianaK
5ba8bc2c86
read violation resolved (#1496) 2021-05-25 10:52:52 +05:30
Aditya Prakash
a9d33871a9
feat: Added Recursive Bubble Sort (#1487)
* feat: Added recursive bubble sort

* updating DIRECTORY.md

* fixed clang-tidy warnings

* fixed swap function

* improved documentation

* Reworked documentation

* reworked documentation

* fixed ubuntu compile errors

* Enhanced documentation

* Apply suggestions from code review

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

* Added explanation link and fixed documentation

* Added explanation link and fixed documentation

* Update settings.json

Removed `"cmake.configureOnOpen": false`

* 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>

* Update recursive_bubble_sort.cpp

Removed the `swap` function

* 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>

* Update recursive_bubble_sort.cpp

Replaced `int` with `uint64_t`

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-05-15 11:13:39 +05:30
David Leal
fed98e8640
feat: Add the Approved Label workflow (#1493)
When a pull request is approved, it'll automatically add the `approved` label.
2021-05-10 10:28:23 -05:00
Bolaji Boluwatife
a5022c53f2
fix: Corrected erase method in data_structures/linked_list.cpp (#1494) 2021-05-09 22:24:05 -05:00
Malte Jürgens
fd029aec78
feat: update awesome_workflow.yml to use build_directory_md.py from scripts repository (#1486)
* Update awesome_workflow.yml

* Also include .h and .hpp in DIRECTORY.md

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-04-23 11:58:01 -05:00
Benjamin Walton
a41b707919
feat: added integral approximation algorithm (#1485)
* Setup general integral aprroximation algorithm template

* feat: added integral approximation algorithm

* updating DIRECTORY.md

* feat: added integral approximation algorithm

* test: added tests for integral approximation algorithm

* docs: added comments and explanation for integral approximation algorithm

* fix: updated for loop within algorithm

* fix: data type conversions

* Modified dividing by 2

Maintains functionality but dividing by 2 is easier to read/understand

* Update math/integral_approximation.cpp

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

* Update math/integral_approximation.cpp

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

* Update math/integral_approximation.cpp

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

* Update math/integral_approximation.cpp

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

* Update math/integral_approximation.cpp

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

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* fix: Apply suggestions from code review

* feat: added Wikipedia link and detailed description

* fix: Apply suggestions from code review

* Update math/integral_approximation.cpp

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

* Update math/integral_approximation.cpp

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

* Update math/integral_approximation.cpp

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

* style: updated what the library/header is for

* docs: Update math/integral_approximation.cpp

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

* fix: changed int to uint64_t

* Update math/integral_approximation.cpp

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

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Shiqi Sheng <shiqisheng00@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-04-22 22:11:44 +05:30