Kent and Bob,

Are you thinking of the first problem in Bentley's Programming Pearls? 
The original poster's questions sounds like it could be in that domain.

     http://netlib.bell-labs.com/cm/cs/pearls/cto.html

So I agree: the next questions we probably should ask the original poster:

    * Why are you trying to search for a number in those sorted integers?


    * Is there anything characteristic about those sorted integers that
      might be peculiar or useful?  Do the numbers have "streaks"?  Are the
      integers large or small?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to