Re: Finding if a number is in the range
| From: | Zak Greant | Date: | Fri, 18 May 2001 05:50:35 +0000 |
| Subject: | Re: Finding if a number is in the range | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53384@lists.php.net to get a copy of this message | ||
MaD dUCK wrote:
> 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.
Do you really need a chainsaw to cut a piece of cake? ;)
--zak