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.
* 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 a49ec9b8d79e62be49587043cf482a9f705e3ed1
* 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 d4d406017502cc745a9a77b4d462dc7a4aea6522, reversing
changes made to 2ccc3a364e4a6491e62ad836a237eb1603ddef6a.
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>