Discussion:
Question about isPali
(too old to reply)
Travis Hogg
2005-07-23 16:17:45 UTC
Permalink
In the RecursiveTester.java I'm a little confused about which ones should
return true. I know radar for test one should. What about Radar? I see in
the test it looks to see if it's !result. And then in the third test should
the empty string return true? Thanks

-Travis
Marcel Adi Prasetya
2005-07-23 19:32:51 UTC
Permalink
radar -> return true
Radar -> return false (this is why the if condition is
"!result", instead of "result")
"" -> return true
--
**********************************************************************
Marcel Adi Prasetya
***@cs.utexas.edu
http://www.cs.utexas.edu/~marcel
Post by Travis Hogg
In the RecursiveTester.java I'm a little confused about which ones should
return true. I know radar for test one should. What about Radar? I see in
the test it looks to see if it's !result. And then in the third test
should the empty string return true? Thanks
-Travis
Continue reading on narkive:
Loading...