While and Exit Condition in Binary Search

前端 未结 0 1605
难免孤独
难免孤独 2021-01-28 22:42
  1. With respect to the while loop to keep the search running while (low <= high), is there any consensus if it\'s better to use a \'<\' or \'<=\' sin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题