Ashish Bhanu Daulatabad
bb40ea4ca5
Wrong return
2021-04-11 00:27:27 +05:30
Ashish Bhanu Daulatabad
581753c65c
Merge branch 'new-code' of https://github.com/AshishYUO/C-Plus-Plus into new-code
2021-04-11 00:18:03 +05:30
Ashish Bhanu Daulatabad
8b8dec7218
Comment modification
2021-04-11 00:17:37 +05:30
github-actions
857bf97e4b
clang-format and clang-tidy fixes for ae6a048d
2021-04-10 18:44:33 +00:00
Ashish Bhanu Daulatabad
ae6a048de9
Comment modification
2021-04-11 00:13:13 +05:30
github-actions
397059cea4
clang-format and clang-tidy fixes for 276fde9d
2021-04-10 18:37:08 +00:00
Ashish Bhanu Daulatabad
276fde9d3f
Type checks and integer shift checked
2021-04-11 00:05:40 +05:30
Ashish Bhanu Daulatabad
6c4fdc53d1
Type checks and destructor added
2021-04-11 00:01:01 +05:30
Ashish Bhanu Daulatabad
2001c91cd4
Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-bit handling
2021-04-10 22:55:03 +05:30
Ashish Bhanu Daulatabad
ac2a5e1742
Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-bit handling
2021-04-10 22:45:02 +05:30
Ashish Bhanu Daulatabad
c6d0db0c9d
Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-bit handling
2021-04-10 22:37:59 +05:30
Ashish Bhanu Daulatabad
8f207ffdcf
Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling-2
2021-04-10 22:20:32 +05:30
Ashish Bhanu Daulatabad
c2db976979
Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling
2021-04-10 22:03:38 +05:30
Ashish Bhanu Daulatabad
d87f29fe23
Merge branch 'master' of https://github.com/AshishYUO/C-Plus-Plus
2021-04-10 21:59:04 +05:30
Ashish Bhanu Daulatabad
82cfa17a58
Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers: Error handling
2021-04-10 21:58:53 +05:30
github-actions
dcb6208779
updating DIRECTORY.md
2021-04-10 16:14:36 +00:00
Ashish Bhanu Daulatabad
3cfa917e5e
Feat: Elliptic Curve Diffie Hellman Key Exchange, Ciphers
2021-04-10 21:43:52 +05:30
Ashish Bhanu Daulatabad
ff7e9e5c5e
Merge remote-tracking branch 'upstream/master'
...
update.
2021-04-10 15:58:32 +05:30
David Leal
8adaec948c
fix: CodeQL warnings in `machine_learning/a_st...
...
...`ar_search.cpp`
2021-04-08 18:39:28 -05:00
Ashish Bhanu Daulatabad
0a596dd7aa
feat: Base64 Encoding/Decoding, type: Ciphers ( #1471 )
...
* updating DIRECTORY.md
* Feat: Base64 Encoding Decoding, Type: cipher
* Feat: Base64 Encoding Decoding, Type: cipher-2
* Type checks
* updating DIRECTORY.md
* Wrong param explaination
* Namespace and comments
* Update ciphers/base64_encoding.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update ciphers/base64_encoding.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-03-31 10:46:54 +05:30
Ashish Bhanu Daulatabad
d0f6a8e9c6
Merge remote-tracking branch 'upstream/master'
...
Merge fork
2021-03-26 14:37:22 +05:30
Ashish Bhanu Daulatabad
8f72965be4
Feat: A Star Search, Type: AI/ML ( #1468 )
...
* updating DIRECTORY.md
* Feat: A* Search Algorithm, Type: AI/ML
* Type changes
* Code reformatting.
* Code reformatting-2
* Code refactoring-3.
* Code refactoring-3.
* Code refactoring-4.
* Code refactoring-4.
* Code refactoring-5.
* updating DIRECTORY.md
* Minor changes
* clang-format and clang-tidy fixes for edf593f7
* Minor changes-2
* Enhanced AyStarSearch class documentation.
* Adding Closed List for faster A* search.
* Type checks
* Type checks-2
* Comments
* Update machine_learning/a_star_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-03-25 22:00:03 +05:30
Ashish Bhanu Daulatabad
8647a797bb
Merge remote-tracking branch 'upstream/master'
2021-03-20 22:19:52 +05:30
David Leal
8aed15d5fb
fix: Update Stale bot to ignore PRs/issues with...
...
...the `dont-close` label.
2021-03-19 19:17:21 -06:00
Venkata Bharath Malapati
7ea1ca6c9c
feat: Trie data structure using hashmap, predict_words method, class Trie ( #1464 )
...
* feat: add Trie data structure using hashmap, predict_words method, class Trie
* updating DIRECTORY.md
* fix: fixed clang.tidy warnings
* docs: added documentation toclass trie
* docs: updated documentation
* fix: added namespace trie_using_hashmap
* docs: updated documentation with comments
* docs: updated documentation with spelling corrections
* docs: updated requested changes
* docs : updated requested changes in documentation
* 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-03-18 23:58:33 +05:30
Ashish Bhanu Daulatabad
73ff948b0d
feat: Solving linear recurrence using Matrix Exponentiation (with examples). ( #1463 )
...
* updating DIRECTORY.md
* feat: Solving Linear Recurrence using Matrix Exponentiation
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 83efb534
* Directory.md
* updating DIRECTORY.md
* Comment Modification
* Comments
* Missing namespace
* Missing namespace
* Type checking
* reduced mod size due to integer overflow, changed int32 to int64
* Adding template parameters and missing markdowns.
* Markdown and minor code changes
* Minor changes
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-03-17 23:57:51 +05:30
David Leal
1ba772a432
feat: Add CodeQL Analysis badge in README.md
2021-03-15 14:54:29 -06:00
David Leal
8f32a02d55
feat: Add CodeQL Analysis workflow ( #1465 )
...
Replaces LGTM, as LGTM only runs on commits, and CodeQL works faster, too.
2021-03-14 13:58:02 -06:00
Ashish Bhanu Daulatabad
80dc6039af
Merge branch 'master' of https://github.com/AshishYUO/C-Plus-Plus
...
Update current tree
2021-03-12 09:55:53 +05:30
Ashish Bhanu Daulatabad
a2970af4c4
feat: add abbreviation.cpp: topic: Dynamic Programming ( #1461 )
...
* Feat: Abbreivation problem (abbreviation.cpp), topic: Dynamic Programming.
* Spelling correction
* Spelling Mistakes
* Refactoring code
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 232d4f5e
* clang-format and clang-tidy fixes for 232d4f5e
* Documentation and renaming variable
* adding a comment
* adding a comment
* Re-documentation
* Re-documentation
* Re-documentation
* Update dynamic_programming/abbreviation.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/abbreviation.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update dynamic_programming/abbreviation.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Varaible type-checks
* Update dynamic_programming/abbreviation.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for 8f5a50be
* Varaible type-checks
* Markdown correction
* Comment Modification
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-03-12 00:33:15 +05:30
github-actions
ba442f181e
updating DIRECTORY.md
2021-03-10 16:19:21 +00:00
Ashish Bhanu Daulatabad
2edc52630d
Merge pull request #1 from TheAlgorithms/master
...
fix: LGTM warnings in...
2021-03-10 21:48:34 +05:30
David Leal
d970011d3d
fix: LGTM warnings in...
...
...`data_structures/rb_tree.cpp`.
2021-03-07 21:19:21 -06:00
David Leal
f71fbc54d7
fix: Move rb_tree.cpp
to its correct director...
...
...y and fix filename.
2021-03-04 21:33:27 -06:00
sinkyoungdeok
8db1451c5e
feat: Create RBTree.cpp ( #204 )
...
https://github.com/TheAlgorithms/C-Plus-Plus/pull/204#issuecomment-784093478
2021-03-02 20:51:21 -06:00
g-s-k-zoro
ef0e7ff87c
feat: Multiple Variants of Search on Trie ( #1456 )
...
* Trie with 3 types of search
* Trie with 3 types of search and all basic operations
* updating DIRECTORY.md
* docs: added Main function documentation
* test: Added test for operations and improved documentation
* docs: Code formatted to conform more with clang
* docs: Code formatted to conform more with clang
* docs: Code formatted to conform more with clang format
* docs: Code formatted to conform more with clang format
* docs: Code format conforms to clang format
* docs: Suggested documentation changes implemented
* docs: added comments for headers
* docs: Added comments for headers
* fix: Add a new line at the end
* docs: Added newline at end and modified header comments
* docs: Added newline at end and modified header comments
* docs: Added newline at end and modified header comments
* docs: suggested comments implemented
* docs: Function documentation corrected
* fix: Used unsigned int for appropriate variables
* fix: Made test() static and improved documentation
* docs: Improved Documentation
* docs: Improved Readability
* fix: Use of std::count for numberOfChildren
* docs: improved documentation
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-24 14:03:25 +05:30
Max A. Jurankov
0b890fd842
feat: add program to calculate binomial coefficients ( #1448 )
...
* Add program to calculate binomial coefficients
* docs: add link to github profile, change cmath to cstdlib
* correction of comments, adding math namespace
* updating DIRECTORY.md
* Adding binomial namespace, rename function and filename, correcting comments
* updating DIRECTORY.md
Co-authored-by: astronmax <astronmax@yandex.ru>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-02-23 00:51:58 +05:30
David Leal
86d2b9dd50
feat: Add income badge and donate button in...
...
...`README.md`.
2021-02-18 21:37:12 -06:00
Ravishankar Joshi
0ce5df0c21
feat: Hamming distance algorithm. ( #1376 )
...
* Added bit manipulation algorithms.
* Removed Power of 2 and xor swap.
* Update bit_manipulation/hamming_distance.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update bit_manipulation/hamming_distance.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update bit_manipulation/hamming_distance.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for ae4d4707
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* test: docs: Added tests and docs for hamming distance.
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for 94fb407b
* Update bit_manipulation/hamming_distance.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* feat: Added string method for hamming distance.
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for 455dce1d
* fix: Make hamming distance algorithm work for all strings.
* clang-format and clang-tidy fixes for ba18ec04
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-02-17 08:08:29 +05:30
Neha Hasija
9438ea11a2
Create power_of_two.cpp ( #1315 )
...
* Create power_of_two.cpp
This Pull Request is for HacktoberFest 2020
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 3d017c44
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/power_of_two.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for f76c1009
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-02-12 10:14:01 +05:30
Ayaan Khan
521aa3f8cf
Merge pull request #1454 from uvaishzafri/#1443
...
fix: Updated sorting/comb_sort.cpp
2021-02-12 10:00:45 +05:30
David Leal
287e00fa68
fix: mispelling in...
...
...`machine_learning/ordinary_least_squares_regressor.cpp`.
2021-02-11 20:35:45 -06:00
David Leal
1d9774fd3d
fix: Add endline in...
...
...`graph/connected_components_with_dsu.cpp`.
2021-02-11 20:34:41 -06:00
Uvaish Zafri
97896f852e
Updated comb_sort.cpp
2021-02-11 20:53:16 +05:30
Ayaan Khan
9074443eab
Merge branch 'master' into master
2021-02-11 11:39:39 +05:30
ayaankhan98
0665fbdf64
fix: merge conflict
2021-02-11 11:23:42 +05:30
David Leal
4ef3069f6c
feat: Setup Probot Stale app
2021-02-11 11:19:27 +05:30
Magdy Sedra
59be3fa660
feat: Added persistent segment tree with lazy propagation ( #1445 )
...
* Added persistent segment tree with lazy propagation
* Updated
* Updated
* Updated
* Updated
* Updated
* Updated
* Added a documentation
* Updated
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 4b6566d2
* Updated
* clang-format and clang-tidy fixes for 6197ba4c
* Update persistent_segment_tree_with_lazy_propagation.cpp
* Updated
* Delete persistent_segment_tree_with_lazy_propagation.cpp
* Updated
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for 81621d83
* Update persistent_seg_tree_lazy_prop.cpp
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-11 11:19:27 +05:30
Saurav Uppoor
301f55b571
fix/test/docs: update variable sizes, add namespace in graph/depth_first_search_with_stack.cpp ( #1335 )
...
* fix: add namespace graph and other improvements
* test: add tests
* docs: add documentation thorughout the code
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* Add documentation for header files
* docs: improve formatting
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update depth_first_search_with_stack.cpp
Co-authored-by: saurav <sauravUppoor@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-02-11 11:19:27 +05:30
Walt
a4f583958a
feat: add new implementation of binary search tree ( #1208 )
...
* fix: revamp binary_search_tree.cpp to use generics, oop, and modern c++ features
* fix: remove make_unique from code
* fix: fix some clang-tidy errors in binary_search_tree.cpp
* Move new implementation into new file, restore old file.
* Reset binary_search_tree.cpp to original implementation.
* Add link to new implementation.
* fix: add suggested fixes (see PR)
* Implement comment suggestions.
* Update data_structures/binary_search_tree2.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Fix additional comments.
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2021-02-11 11:19:27 +05:30