We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ed05a5 commit a38a464Copy full SHA for a38a464
src/main/java/com/thealgorithms/puzzlesandgames/TowerOfHanoi.java
@@ -41,7 +41,7 @@ private TowerOfHanoi() {
41
* @param intermediatePole The name of the intermediate pole used as a temporary holding area.
42
* @param endPole The name of the end pole to which discs are moved.
43
* @param result A list to store the steps required to solve the puzzle.
44
- * @throws IllegalArgumentException if {@code n} is negative.
+ * @throws IllegalArgumentException if {@code n} is negative.
45
*
46
* <p>
47
* This method is called recursively to move n-1 discs
0 commit comments