Re: Finding if a number is in the range
| From: | MaD dUCK | Date: | Fri, 18 May 2001 04:16:24 +0000 |
| Subject: | Re: Finding if a number is in the range | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53381@lists.php.net to get a copy of this message | ||
also sprach Zak Greant (on Thu, 17 May 2001 09:35:18PM -0600):
> Or just use a simple chain of if statements :)
yeah, but that's so O(n) !
i can do in O(lg n)
or, given n CREW processors, in O(1) time!
yes, i have just finished my computational theory and computer
algorithms honors exam.
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr
"<*> mailto:" net@madduck
--
si vis pacem, para bellum