Why did Oracle screw around this way? Why didn’t they just return the insertion point directly? The problem is, what if the insertion point were 0? You could not tell that apart from a match found in slot 0. The way it works, an insert at 0 is coded as -1.
This page is posted |
http://mindprod.com/jgloss/binarysearch.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\binarysearch.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.16.68.10] |
| |
Feedback |
You are visitor number | |