but you are right. binary search is the best solution if we understood the OP right.
In reply to Re^3: getting elements from an array based on a value not in the array
by lima1
in thread getting elements from an array based on a value not in the array
by ginni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |