Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pure interest question - Find method on sorted array

Status
Not open for further replies.

Transcend

Programmer
Sep 29, 2002
858
AU
Hi guys,

I'm asking this question purely for interest as I saw this question a while ago and started thinking about it.

If you have a sorted array, how would you write a Find() method that is efficient in processor usage that finds an integer in that array.

Any takers?

Transcend
[gorgeous]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top