Glossary: Data Structures and Algorithms in Java
Collections.reverse
A method that reverses a list in place. BFS uses it to turn a route built backward into one that reads from start to goal.
Glossary: Data Structures and Algorithms in Java
A method that reverses a list in place. BFS uses it to turn a route built backward into one that reads from start to goal.