Files
C-Plus-Plus/graph/number_of_paths.cpp
Aditya Borate b30bdd30bf feat: add algorithm to find the number of paths in a graph using DFS (#2815)
* feat: add count_paths algorithm with a test case

* fix: updated number_of_paths algorithm, added more test cases, and set unsigned int as parameter

* fix: replaced unsigned int with std::uint32_t for fixed size

* fix: Handled empty graph, invalid input and added test cases for the same

* clang-format and clang-tidy fixes for 80e27baa

---------

Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-08-17 21:47:53 +00:00

5.4 KiB