diff --git a/graph-search/src/features/search/solution.js b/graph-search/src/features/search/solution.js
index da0ee237318884f3c7338c8127591d408bf84d54..94ab48c52e1bb295c71130825092d5b6c81942c1 100644
--- a/graph-search/src/features/search/solution.js
+++ b/graph-search/src/features/search/solution.js
@@ -29,7 +29,7 @@ function formatSolution(solution) {
 }
 
 export function Solution(props) {
-  const search = bestFirst;
+  const search = recursiveDFS;
   const firstSolution = search(firstExample, 'a', 'd');
   const secondSolution = search(secondExample, '123', '321');
   return (