Guest User

Untitled

a guest
Jun 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. if (tbsTable[searchPos] >= key) // If the value in the search position
  2. { // is greater than the number for
  3. upperbound = searchPos - 1; // which we are searching, change
  4. } // upperbound to the search position
  5. else // minus one.
  6. { // Else, change lowerbound to search.
  7. lowerbound = searchPos + 1;// position plus one.
  8. }
Add Comment
Please, Sign In to add comment