Commit Graph

1520 Commits

Author SHA1 Message Date
David Leal
243dcc156d
Merge branch 'master' into scheduling 2021-10-13 11:44:07 -05:00
Harsh Tripathi
89bfc1244e
fix: Armstrong number bug fixes (#1689)
* added a new directory named Recursion and a most common exxample of recusion i.e. Tower of Hanoi in it

* Added Comments

* Bug fixed according to the correct definition of armstrong_number

* Bug Fixed in armstrong_number.cpp

Bug Fixed in armstrong_number.cpp according to the correct definition of armstrong_number.

* Update armstrong_number.cpp

* Added documentation

* Delete Recursion directory

* Update armstrong_number.cpp

* Update dynamic_programming/armstrong_number.cpp

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

* Update armstrong_number.cpp

fixed errors.

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Update armstrong_number.cpp

Applied suggested changes.

* Update armstrong_number.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-13 11:19:09 -05:00
github-actions
716b3ef885 clang-format and clang-tidy fixes for b40a2801 2021-10-13 09:26:57 +00:00
Pratyush219
b40a28019f Rearranged code 2021-10-13 14:55:35 +05:30
Pratyush219
4aaa66fbc7 Fixed documentation 2021-10-13 14:17:01 +05:30
github-actions
3c639313a4 clang-format and clang-tidy fixes for 40d663d3 2021-10-13 06:33:25 +00:00
Pratyush219
40d663d358 Replaced time(0) with time(nullptr) 2021-10-13 12:01:00 +05:30
Pratyush219
bc37ae9a04 Added test cases using random number generator 2021-10-13 11:18:24 +05:30
github-actions
8e1ff2b405 clang-format and clang-tidy fixes for 31f05910 2021-10-13 05:28:43 +00:00
Pratyush219
31f0591030
Merge branch 'master' into scheduling 2021-10-13 10:57:29 +05:30
Urwashi Kumrawat
2e6b71e206
feat: Adding switch-case and removing if-else-if (#1727)
* Adding switch-case and removing if-else-if

* [feat/fix]: Update

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-12 12:49:39 -05:00
github-actions
07afee4b94 clang-format and clang-tidy fixes for 295f0cc6 2021-10-12 06:26:56 +00:00
Pratyush219
295f0cc6d1 Merge branch 'scheduling' of https://github.com/Pratyush219/C-Plus-Plus into scheduling 2021-10-12 11:53:37 +05:30
Pratyush219
29308eaffa Updated the documentation and used unsigned int for non-negative integers 2021-10-12 11:42:01 +05:30
github-actions
d51f98e365 clang-format and clang-tidy fixes for 732f247d 2021-10-07 05:55:39 +00:00
Pratyush219
732f247dae
Merge branch 'master' into scheduling 2021-10-07 11:24:51 +05:30
github-actions
9ff928ff58 clang-format and clang-tidy fixes for c95495b4 2021-10-07 05:42:24 +00:00
github-actions
7ab098bc94 updating DIRECTORY.md 2021-10-07 05:42:14 +00:00
Pratyush219
c95495b48b Removed nested directory 2021-10-07 11:10:43 +05:30
Pratyush219
c55ebc18ad Replaced array of tuples with vector of tuples 2021-10-07 10:40:49 +05:30
Pratyush219
422c5c58db Replaced array of tuples with vector of tuples
Replaced formatted printf with cout and iomanip flags
Removed unused code blocks
2021-10-07 10:32:57 +05:30
Yaniv Hollander
7309ef1370
feat: Add the Windowed Median algorithm (#1649)
* Create windowed_median.cpp

* Update windowed_median.cpp

* Update windowed_median.cpp

* updating DIRECTORY.md

* Update probability/windowed_median.cpp

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

* Update windowed_median.cpp

* Update windowed_median.cpp

* Update windowed_median.cpp

* Update windowed_median.cpp

* Update windowed_median.cpp

* Update windowed_median.cpp

* Update probability/windowed_median.cpp

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

* clang-format and clang-tidy fixes for 7634ece0

* Update probability/windowed_median.cpp

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

* Update probability/windowed_median.cpp

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

* Update probability/windowed_median.cpp

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

* Update probability/windowed_median.cpp

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

* Update probability/windowed_median.cpp

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

* Update probability/windowed_median.cpp

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

* Update probability/windowed_median.cpp

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

* Update probability/windowed_median.cpp

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

* Update windowed_median.cpp

* Update windowed_median.cpp

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-06 18:55:45 -05:00
Pratyush219
07a91a0122
Deleted .vscode directory 2021-10-07 00:04:22 +05:30
Pratyush219
ffd979e9c5 Added comments for member variables of FCFS class 2021-10-06 20:13:21 +05:30
Pratyush219
b62916254f Updated comments 2021-10-06 19:54:26 +05:30
Pratyush219
f467fe20f0 Renamed files and directories to match guidelines 2021-10-06 19:44:31 +05:30
Pratyush219
796983a817 FCFS scheduling algorithm in operating system
Added C++ implementation of FCFS scheduling algorithm in a new directory Operating-System/Scheduing-Algorithms
2021-10-06 19:31:14 +05:30
David Leal
c05b05463d
feat: Update stale workflow message (#1648) 2021-10-02 20:43:14 -05:00
Tisha Soumya
f7a5aecce5
feat: Add reverse linked list algorithim (#1596)
* add: reverse linked list algorithim

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 5cac47c9

* Update data_structures/reverse_a_linked_list.cpp

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

* Update data_structures/reverse_a_linked_list.cpp

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

* Update the description in data_structures/reverse_a_linked_list.cpp

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

* clang-format and clang-tidy fixes for 19b4a937

* Updating data_structures/reverse_a_linked_list.cpp

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

* add:test for the reversing algorithim

* fix: synatx changes

* docs :added an external link for explanation of the algorithim

* fix: suggested changes

* fix: chamges in the code

* docs : changes required in the docs

* docs :fix indentation

* fix : ouptut statement changes

* fix: clang-tidy warnings

* formatting filenames f7695035

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for f7695035

* fix : display function removed

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 38547be2

* fix: changed the data types

* clang-format and clang-tidy fixes for 3b2e68c2

* docs : documentation fixes

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

* docs : documentation changes

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

* clang-format and clang-tidy fixes for 57953be1

* docs: fix changes

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

* clang-format and clang-tidy fixes for db8e74a9

* fix : display changes

Co-authored-by: ERR ! <75872316+amino19@users.noreply.github.com>

* fix : added try block

* fix: try-catch block

* fix :merge conflict

* docs:documentation changes

* added more efficient test cases

* clang-format and clang-tidy fixes for 83ee6e44

* Update data_structures/reverse_a_linked_list.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>
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
Co-authored-by: ERR ! <75872316+amino19@users.noreply.github.com>
2021-09-26 19:03:53 -05:00
tGautot
5245b3e4a9
feat. Add SHA-1 hashing algorithm (#1609)
* feat: add sha1 algorithm

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for eb45eaef

* Added description + some clean up

* clang-format and clang-tidy fixes for fc29a370

* Improved interactive mode and added nl at eof

* Clarified includes' comments

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-24 14:59:26 -05:00
tGautot
404e2c15b3
feat: Add MD5 Hashing Algorithm (#1595)
* clang-format and clang-tidy fixes for 89d118bb

* feat: add md5 hashing algorithm, namespace md5

* updating DIRECTORY.md

* docs: added missing docs and cleared syntax

* Added newline at the end of file

* clang-format and clang-tidy fixes for b7b32ac7

* Comments for libs, put global funcs as static

* clang-format and clang-tidy fixes for d5da4807

* docs: added additional comments

* docs: Fixed some newlines in doxygen docs

* Changed incorrect comment

* Fixed docs & cleared potential endianness problems

* Removed useless line

* Clarified how to exit interactive mode

* Better wording

* Improved interactive mode

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-24 11:35:31 -05:00
Andrii Siriak
9f5bfc7230
feat: Unleash full power of the stale workflow (#1607)
Set stale bot action limit to default because it's actually GitHub API action limit and not the number of issues/PRs it marks per run as I thought

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-09-14 13:16:13 -05:00
Andrii Siriak
66331a77b4
[feat/fix]: Add working workflow for stale items (#1605)
* Create stale.yml

* Delete stale.yml

* Update stale.yml
2021-09-13 14:23:24 -05:00
Mayank Mamgain
040237d41a
feat: Add Travelling Salesman Problem(Naive Approach) (#1590)
* Add Travelling Salesman Problem(Naive Approach)

* Change header and add reference in Travelling Salesman problem

* feat: Add travelling salesman problem(Naive Approach)

* feat: Add travelling salesman problem.

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* Update graph/travelling_salesman_problem.cpp

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

* updating DIRECTORY.md

* Update graph/travelling_salesman_problem.cpp

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

* feat: Add Travelling Salesman Problem

* feat: Add Travelling Salesman Problem

* Update graph/travelling_salesman_problem.cpp

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

* feat: Add travelling salesman problem

* fix: Hopefully fix Ci errors

* Update graph/travelling_salesman_problem.cpp

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

* clang-format and clang-tidy fixes for 56dc1e90

* feat: Add travelling salesman problem.

* feat: Add travelling salesman problem

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-12 12:19:06 -05:00
Tushar Khanduri
ea9ae3a91b
feat: Add the Selection Sort Recursive algorithm (#1578)
* Create selection_sort_recursive.cpp

* updating DIRECTORY.md

* Add: Description of Algorithm

* Update sorting/selection_sort_recursive.cpp

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

* clang-format and clang-tidy fixes for 8f466c86

* Apply suggestions from code review

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update selection_sort_recursive.cpp

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* clang-format and clang-tidy fixes for bfda3660

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

* Update sorting/selection_sort_recursive.cpp

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

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ayaan Khan <ayaankhan98@gmail.com>
2021-09-05 23:20:51 +05:30
Jxtopher
a6bbe050f7
fix: Add return 0 in bactracking/magic_sequence.cpp (#1589)
* Update magic_sequence.cpp

* clang-format and clang-tidy fixes for ff127de6

* Update backtracking/magic_sequence.cpp

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-09-05 12:37:31 -05:00
RitikaGupta8734
b82e2cd4e7
feat: added z_algorithm in strings (#1581)
* feat: added z_algorithm in strings

* Updated z_function.cpp 

Updated z_function.cpp as per contribution guidelines.
Fixed Link using github markdown syntax
Created a separate function for tests and covered the corner case

* Apply suggestions from code review

More comments added to the code

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

* Apply suggestions from code review

Some more documentation added as per contribution guidelines.

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

* Update strings/z_function.cpp

comments added

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

* Update strings/z_function.cpp

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

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 0c7515e9

* Updated int -> uint64_t 

Updated int -> uint64_t for non-negative values

* clang-format and clang-tidy fixes for 12d51239

* Update strings/z_function.cpp

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

* Update strings/z_function.cpp

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

* More comments added

* clang-format and clang-tidy fixes for 8a627ac9

* Update strings/z_function.cpp

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

* Update strings/z_function.cpp

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

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-04 12:39:19 +05:30
ERR !
341ed50da8
feat: Finding no. of digits in a Number (#1497)
* Finding no. of digits in a Number

* Initialize n

* Initialize n as int

* Changes done

* Changes done with codes by adding more comments

* Changes done with codes by adding name as md

* Modified comments

* add void

* remove void & update comments

* Set some changes to pass Awesome CI Workflow

* add return 0 & file name in lower case

* Changes done..

* Update finding_number_of_Digits_in_a_Number.cpp

* Update finding_number_of_Digits_in_a_Number.cpp

* Update finding_number_of_Digits_in_a_Number.cpp

* formatting filenames 0ec45e33

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for 0ec45e33

* clang-format and clang-tidy fixes for 9c0a437e

* updating DIRECTORY.md

* Wrote test, needs review

* [fix/docs]: Fix tests/code and add documentation

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-03 14:49:37 -05:00
Aaron
289ebc5c67
fix: typo in README.md (#1582) 2021-09-01 17:33:56 -05:00
Bensuperpc
f7d656cb17
feat: Add inverse inverse root functions (#1570)
* Add inverse inverse root function

Add inverse inverse root function

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Update comment

Update comment

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Update math/inv_sqrt.cpp

Change to IO operations

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

* Update math/inv_sqrt.cpp

Update comment

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

* Update math/inv_sqrt.cpp

Update comment

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

* Update math/inv_sqrt.cpp

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

* Update math/inv_sqrt.cpp

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

* Fix fist warning

Fix fist warning

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Fix warning N2

Fix warning N2

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Fix warning N3

Fix warning N3

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Fix warning N4

Fix warning N4

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* updating DIRECTORY.md

* Update math/inv_sqrt.cpp

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

* Update math/inv_sqrt.cpp

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

* Update math/inv_sqrt.cpp

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

* clang-format and clang-tidy fixes for 1acc7773

* Update math/inv_sqrt.cpp

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

* Update math/inv_sqrt.cpp

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

* Add tests and improve comment

Add tests and improve comment

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Update math/inv_sqrt.cpp

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

* Add default template type (double)

Add default template type (double)

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Update comment

Update comment

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* Update math/inv_sqrt.cpp

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

* Add comments

Add comments

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>

* updating DIRECTORY.md

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-09-01 11:20:01 -05:00
Riti Kumari
70868f2b5e
feat: add manacher's algorithm (#1577)
* feat: add manacher algorithm in strings/

* fix: directory.md format

* fix: add test cases, fix clang-tidy warning, implement requested changes

* fix: update comments

* fix: update int to uint64_t, add suggested changes

* fix: update description
2021-08-31 11:47:59 +05:30
Ashish Bhanu Daulatabad
88394665b4
[feat/fix]: A Star Search Improvement (#1566)
* A Star Search Improvement

* A Star Search Improvement - 2

* A Star Search Improvement - 3

Co-authored-by: David Leal <halfpacho@gmail.com>
2021-08-27 12:50:40 -05:00
Sujal Gupta
c3b07aed22
feat: add dnf sort (#1558)
* add dnf sort

* refactored code

* remove extra empty lines

* add tests

* update date type for non-negative values

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* Update sorting/dnf_sort.cpp

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

* updating DIRECTORY.md

* Update sorting/dnf_sort.cpp

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

* update data type for variables

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-08-19 17:55:13 +05:30
Nitin Sharma
446e0a5ce8
feat: add lru caching algorithm (#1557)
* updating DIRECTORY.md

* feat: add lru caching algorithm

* removing clang tidy warnings

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for fcb50fb7

* docs updated

* clang-format and clang-tidy fixes for ee18e3aa

* using list instead of bits/stdc++.h

* clang-format and clang-tidy fixes for 19d09e85

* Update others/lru_cache.cpp

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

* Update others/lru_cache.cpp

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

* clang-format and clang-tidy fixes for 4e223bc3

* Update others/lru_cache.cpp

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

* Update others/lru_cache.cpp

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

* Update others/lru_cache.cpp

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

* Update others/lru_cache.cpp

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

* Update others/lru_cache.cpp

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

* Update others/lru_cache.cpp

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

* Update others/lru_cache.cpp

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

* clang-format and clang-tidy fixes for 4bea23ef

* using uint for non negative numbers

* clang-format and clang-tidy fixes for 87e7df55

* Update others/lru_cache.cpp

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

* clang-format and clang-tidy fixes for b423fd4b

* suggestions applied

* clang-format and clang-tidy fixes for e3ba29eb

* Update others/lru_cache.cpp

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

* clang-format and clang-tidy fixes for bdeee3da

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
2021-08-17 12:25:08 -05:00
ss1208
5dca8bc615
fix: Minor spelling fixes in README.md (#1560)
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-08-16 11:44:39 -05:00
Piyush Kumar
d088e290d4
feat: Add endlines in hashing/chaining.cpp (#1559)
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-08-15 11:23:18 -05:00
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