-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made code formatter happy; added test fixtures
- Loading branch information
Showing
5 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
Step 0 | ||
|
||
1 | ||
2 | ||
3 | ||
--------- | ||
L C R | ||
|
||
Step 1 | ||
|
||
|
||
2 | ||
3 1 | ||
--------- | ||
L C R | ||
|
||
Step 2 | ||
|
||
|
||
|
||
3 2 1 | ||
--------- | ||
L C R | ||
|
||
Step 3 | ||
|
||
|
||
1 | ||
3 2 | ||
--------- | ||
L C R | ||
|
||
Step 4 | ||
|
||
|
||
1 | ||
2 3 | ||
--------- | ||
L C R | ||
|
||
Step 5 | ||
|
||
|
||
|
||
1 2 3 | ||
--------- | ||
L C R | ||
|
||
Step 6 | ||
|
||
|
||
2 | ||
1 3 | ||
--------- | ||
L C R | ||
|
||
Step 7 | ||
|
||
1 | ||
2 | ||
3 | ||
--------- | ||
L C R |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
1. Move disk from left pole to right pole. | ||
2. Move disk from left pole to center pole. | ||
3. Move disk from right pole to center pole. | ||
4. Move disk from left pole to right pole. | ||
5. Move disk from center pole to left pole. | ||
6. Move disk from center pole to right pole. | ||
7. Move disk from left pole to right pole. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters