Returning Lowest Number Not In Array
| From: | Mike Potter | Date: | Thu, 03 May 2001 13:28:01 +0000 |
| Subject: | Returning Lowest Number Not In Array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51264@lists.php.net to get a copy of this message | ||
Hi all:
I'm hoping someone can help me out with this array problem. I'm trying to find the lowest number which is not in the array.
For example:
Given this array : return this:
(0, 0) 1 (1,0) 2 (1,2,0) 3 (3,0) 1 (1, 3) 2Does anyone have any code, or any hints on how to go about this? I've worked on it for a few hours, and am really stuck. Thanks, Mike Mike Potter OEone Corp. http://www.oeone.com