Skip to content

Commit

Permalink
fix(ruby): Fix typo in Knights Trevails
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyky committed Aug 14, 2024
1 parent 92ff407 commit a74b8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruby/computer_science/project_knights_travails.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Sometimes *there is more than one fastest path*. Examples of this are shown belo
<div class="lesson-content__panel" markdown="1">

1. Think about the rules of the board and knight, make sure to follow them.
1. For every square there is a number of possible moves, choose a data structure that will allow you to work with them . Don't allow any moves to go off the board.
1. For every square there is a number of possible moves, choose a data structure that will allow you to work with them. Don't allow any moves to go off the board.
1. Decide which search algorithm is best to use for this case. Hint: one of them could be a potentially infinite series.
1. Use the chosen search algorithm to find the shortest path between the starting square (or node) and the ending square. Output what that full path looks like, e.g.:

Expand Down

0 comments on commit a74b8e2

Please sign in to comment.