From 8403fe5032d4f5caa111c71be03e0cd5456cd1b4 Mon Sep 17 00:00:00 2001 From: Donne Martin Date: Mon, 6 Jul 2015 05:44:35 -0400 Subject: [PATCH] Tweaked palindrome challenge algorithm discussion. --- linked_lists/palindrome/palindrome_solution.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linked_lists/palindrome/palindrome_solution.ipynb b/linked_lists/palindrome/palindrome_solution.ipynb index af781d4..0f4403f 100644 --- a/linked_lists/palindrome/palindrome_solution.ipynb +++ b/linked_lists/palindrome/palindrome_solution.ipynb @@ -62,6 +62,8 @@ "## Algorithm\n", "\n", "* Reverse the linked list\n", + " * Iterate through the current linked list\n", + " * Insert to front the current node into a new linked list\n", "* Compare the reversed list with the original list\n", " * Only need to compare the first half\n", "\n",