This question uses binary search, however the correct answer is " output is 1 with linear time complexity" instread of logarithmic time complexity.
Please guide as to how we reach this correct answer. (since binary search complexity is logarithmic)
STL Quiz, question 2
ohk…thanks for your help!