Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added z_algorithm in strings (TheAlgorithms#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 0c7515e * Updated int -> uint64_t Updated int -> uint64_t for non-negative values * clang-format and clang-tidy fixes for 12d5123 * 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 8a627ac * 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>
- Loading branch information