Correction in orange made Sunday 9 October.
Correction in brown made Wednesday 12 October.
Correction in purple made Friday 14 October.
In addition, replace all occurrences of
front( ) in Exercise 5.2 by
CircularArrayQueueof Chapter 5.
public static boolean isPalindrome (String w). You should access the letters of w only in order from the beginning, once.
isPalindromemethod with only one stack, if you had access to the number
w.length( ). Again, access the letters of w only in order from the beginning, once.
Last modified 14 October 2011