Re: Finding if a number is in the range
| From: | Joseph Blythe | Date: | Fri, 18 May 2001 04:59:40 +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-53382@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):Smarty Pants :-) I give these ideas a go unfortunately the ranges are not contiguous, they are all over the place. Thanks. JosephOr 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.