imposters-handbook/feedback

BinarySearch infinite loop when element not found?

Closed this issue · 1 comments

Imposter's Handbook v2.2\imposters_handbook.pdf
page: 169,170

  • Given :
    • a list of number elements
    • a number to search which is not in that list
  • Expect : -1
  • Actual : infinite while loop