Why isn't my binary search giving me a result for the first element?

后端 未结 0 1094
孤城傲影
孤城傲影 2021-01-17 14:20

I\'m trying to return the index of the element to be searched. All the elements are being detected except the first element. What\'s wrong? Why is the function not returning

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