* feat: add Stooge sort algorithm
* docs: add documentation for function parameters and includes
* test: add new tests for the Stooge sort
* docs: Update functions descriptions
* fix: Update parameter type to size_t
* doc: Add message that the tests have passed
* fix: Update return statement structure
---------
Co-authored-by: David Leal <halfpacho@gmail.com>
* added log code for counting digits
* one space removed
* fix: CI warnings (hopefully)
* fix: revert for now
* decoupled test functions
* Update math/finding_number_of_digits_in_a_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update math/finding_number_of_digits_in_a_number.cpp
typo changes
Co-authored-by: David Leal <halfpacho@gmail.com>
* uint64_t changed to double to resolve clang-tidy warnings
* clang-format and clang-tidy fixes for 61bb2dea
* comment improvement
* clang-format and clang-tidy fixes for 39ebc33d
* guarded required function
---------
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
* fix: remove memory leak in queue
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for effd74c9
* style: simplify logic while using reserve
* style: use value_type as return type in front
* style: use proper error message
* style: use pre-increment and pre-decrement
* docs: use doxygen syntax
* docs: improve wording
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
* Boruvkas Algorithm Implementation
Implemented Boruvkas Algorithm under graphs as a means for finding the minimums spanning tree
* Boruvkas Algorithm Implementation
Implemented Boruvkas algorithm, a greedy algorithm to find a graphs minimum spanning tree.
* Update climits
limits.h to climits
Co-authored-by: David Leal <halfpacho@gmail.com>
* Fixes for maintainability
Made changes as recommended by Panquesito7 for maintainability and security
* Fixed boruvkas main
Made suggested changes
Co-authored-by: David Leal <halfpacho@gmail.com>
* Suggested changes for Boruvkas
Changed from graph to greedy algorithm, removed the extra main(), general fixes
* Update Boruvkas readability, CI Workflow
General readability changes, change push_back to implace_back
* Update Boruvkas memory allocation
Added pre-allocation of memory for the parent vector of Boruvkas
* Fixed file name, added namespace
Fixed file name, added Boruvkas namespace, made suggested changes
* Update boruvkas spacing
Fixed spacing hopefully
* Update boruvkas spacing
Fixing weird tabs
* Update Boruvkas tabs spacings
Finally done with spacing i think
* Boruvkas - Finished spacing
Triplle checked tabs/spaces
* chore: apply suggestions from code review
* fix: CI issues (hopefully)
* fix: last fix
Co-authored-by: David Leal <halfpacho@gmail.com>
* Added aliquot_sum.cpp
* Fixed indentation and changed argument to ull int
* Fixed type of I
* Made parameter as const
* Made some required changes
* Added changes due to namespace
* Formatting changes
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: Awesome Workflow issues
Thanks to @tjgurwara99 for the original fix: TheAlgorithms/C#1176
* chore: apply suggestions from code review
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* feat: various improvements
* chore: apply suggestions from code review
Co-authored-by: Taj <tjgurwara99@users.noreply.github.com>
* feat: add new median search algorithm with linked list
* Removed filename
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: Requested changes made
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Added algorithm and implementation explanations. Also added wikipedia link.
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Added @brief and wikipedia link to algo
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* moved includes to top of file
* fix: clang-tidy fixes applied
* fix: clang-tidy fixes
* updating DIRECTORY.md
* clang-format and clang-tidy fixes for b24ca86e
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for 247e0616
* fix: fixed test case failing
* clang-format and clang-tidy fixes for 4c1400db
* fix: test cases now pass
* clang-format and clang-tidy fixes for f3027971
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update search/median_search2.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* clang-format and clang-tidy fixes for b8b5f5fd
* clang-format and clang-tidy fixes for d67d450c
Co-authored-by: David Leal <halfpacho@gmail.com>
* feat: add bloom_filter.c(bloom filter and bitset for it)
* updating DIRECTORY.md
* docs: add comments to bloom_filter
* test: add tests and minor fixes
* docs: more common docs
* fix: clang-tidy warnings fix
* fix: clang-forma - minor fixes
* fix: line-space and better naming in hashStr
* updating DIRECTORY.md
* fix: apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: test_bitset was moved before main. Changed description for template T parameter
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: namespace fix
* fix: minor style fix
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix: params names was removed from prototypes
* Update data_structures/bloom_filter.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* docs: minor improvements/fixes
Co-authored-by: David <Panquesito7@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
* Added one Useful Link
Have Added Scaler Topics Binary Search Tree (BSTs) Page. Kindly Please check the suggested changes. Hope this contribution helps
* chore: apply suggestions from code review
* chore: make the line shorter
Co-authored-by: David Leal <halfpacho@gmail.com>
* fix(list_array): fix overflow check
+ use template for list size
* Update data_structures/list_array.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>