Computer Science Canada Recursive Binary search... |
Author: | Lapsus Antepedis [ Tue Oct 04, 2005 9:27 am ] | ||
Post subject: | Recursive Binary search... | ||
I posted a binary search string guesser somewhere here a whie ago, but I can't find the old topic... Anyway, one of the posts in the topic was a suggestion that I try the same thing, but with recursion. I finally got around to doing it, so here's the new code...
The function itself is only 19 lines, excluding the delay and step counter that make it work exactly like the other program... How did I do for my second try at recursion? EDIT: Added loop to make program function Exactly like the other. |
Author: | goboenomo [ Thu Oct 13, 2005 11:36 am ] |
Post subject: | |
if this is supposed to be a binary digit finder... then it does not work |
Author: | [Gandalf] [ Thu Oct 13, 2005 3:07 pm ] |
Post subject: | |
No. I suggest you look up the term. *edit* Woah! 1001'th post! |