-
Notifications
You must be signed in to change notification settings - Fork 19.9k
Add class documentation, improve comments in MazeRecursion.java
#5576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add class documentation, improve comments in MazeRecursion.java
#5576
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5576 +/- ##
============================================
+ Coverage 57.80% 57.91% +0.11%
- Complexity 3644 3646 +2
============================================
Files 545 545
Lines 15696 15672 -24
Branches 2993 2984 -9
============================================
+ Hits 9073 9077 +4
+ Misses 6244 6215 -29
- Partials 379 380 +1 ☔ View full report in Codecov by Sentry. |
…an/Java into maze_recursion_improvement
src/main/java/com/thealgorithms/backtracking/MazeRecursion.java
Outdated
Show resolved
Hide resolved
I modified the class to accept a maze as a parameter and return the solution instead of printing it. I also added JUnit tests to validate the functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
clang-format -i --style=file path/to/your/file.java