* Created jumpgame.cpp
An algorithm to check if you can reach the destination
* Changed header files
* Changed header files
* Fixed warnings
* Fixed bug and removed namespace std
* fixed bugs final
* Updated changes
* added documentation
Added description of the problem and a brief explanation of the algorithm.
* Delete linked list without head pointer
You are given a pointer/ reference to the node which is to be deleted from the linked list of N nodes. The task is to delete the node. Head pointer is not given.
* fixed bugs
* Author_edit_Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* main_func_Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation added, testing yet to be added
* Added test function
* deleted linked list without head
* documentation update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation update 2
Co-authored-by: David Leal <halfpacho@gmail.com>
* test func update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation updated final
* Formatting update
Co-authored-by: David Leal <halfpacho@gmail.com>
* Formatting update 1
Co-authored-by: David Leal <halfpacho@gmail.com>
* Formatting update 2
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update return
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Added link to the problem
* documentation update 3
Co-authored-by: David Leal <halfpacho@gmail.com>
* documentation update 4
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update greedy_algorithms/jumpgame.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Revert "Update greedy_algorithms/jumpgame.cpp"
This reverts commit 072f9cc946.
* Revert "Update greedy_algorithms/jumpgame.cpp"
This reverts commit f308a5f6c2.
* Revert "Update greedy_algorithms/jumpgame.cpp"
This reverts commit 4b6eb0cbc9.
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* feat: add Horspool algorithm
* Fixed conversion from unsigned long to int with static casting
* Removed changes from CMakeLists.txt file
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Documentation, test function and namespaces added
* Documentation, test function and namespaces added
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update strings/horspool.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Removed blank rows
* Commit to see if the problem with automated tests is solved
Co-authored-by: David Leal <halfpacho@gmail.com>
* Addition of Test to LinkedList
I noticed an infinite loop when the program asks the user to "Enter the element to be inserted:", and the user enters a wrong input such as "rr".
* Revised Tests
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update data_structures/linked_list.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* added documentations to functions
I made a few changes although I'm not sure I covered all.
* Update linked_list.cpp
* function documentation
Co-authored-by: David Leal <halfpacho@gmail.com>
* function documentation
Co-authored-by: David Leal <halfpacho@gmail.com>
* function documentation
* Update linked_list.cpp
* removed global variable
I decided to go with the parameter approach.
Is line 79(Iter& ....) and others like it considered healthy code?
* removed global variable
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* fixed clang errors
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* program rewrite
* Update linked_list.cpp
* Update linked_list.cpp
* Removed extra space
* Update linked_list.cpp
* Delete vdoubly_linked_list.ico
* added documentation
* added documentation
* added documentation
* use of shared_ptr
* use of shared_ptr
* modified linked list
* Update linked_list.cpp
* added string header
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* fixed documentation
* fixed link class
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* Update linked_list.cpp
* fixed link class
* fixed runtime error
Co-authored-by: David Leal <halfpacho@gmail.com>
* docs: Update clang-format instructions in CONTRIBUTING.
* Accomodate more changes in the PR section of CONTRIBUTING.
* code formatting
* code sample as a shell script
* format build command
* Add instructions for clang-format installation.
* gitpod
* remove a sentence.
* attempt to fix trie-tree code
* clang-tidy fixes
* remove performance-unnecessary-value-param as error - this has auto-fix
* make test() static
* added original author to the description
* added namespace
* doc updates
* fix true spelling
* extended to small & big caps alphabets - 52 characters
* clang-format and clang-tidy fixes for edc2247a
* move const parameter to after the parameters
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* fix: linter and spacing for is_graph_bipartite.
* updating DIRECTORY.md
* clang-tidy fixes for a49ec9b8d7
* use clang-12
* downgrade to clang11
* added clang-format confiug file
* added explicit clang-format step in workflow
* fix git command
* commit format and lint together
lint first and then format
* corrected order
* Revert "Merge branch 'is_graph_bipartite' into fix_clang"
This reverts commit d4d4060175, reversing
changes made to 2ccc3a364e.
Co-authored-by: Filip Hlásek <fhlasek@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* feat: add Pigeonhole algorithm
* Executed clang-format
* Used pointers and vector
* Corrected clang-tidy issues
* Modified code structure
* Apply suggestions from code review
Suggested changes applied
Co-authored-by: David Leal <halfpacho@gmail.com>
* Added missing parameter and documentation
* Added delete function
* Update pigeonhole_sort.cpp
* Corrected delete function
Co-authored-by: David Leal <halfpacho@gmail.com>
* 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>
* Changed documentation regarding array size
* clang-tidy
* Apply suggestions from code review
Co-authored-by: David Leal <halfpacho@gmail.com>
* assert moved to test function
* Update pigeonhole_sort.cpp
* Update sorting/pigeonhole_sort.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
* Added test function and inbuilt min function
* min and max to const variables
* const int* to auto
* const int* to auto
* Apply suggestions from code review
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
* Modified pigeonSort documentation
* Corrected test functions
Co-authored-by: lsurface <lownish@hotmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>