ASThat's excellent, but I have to mention that there is a prerequisite for binary search to be implemented in the given array- which is clearly is this the array should be in non-decreasing or non-increasing order. and that in most cases not applicable.Comment路Article路Aug 14, 2022路Comparison between Linear and Binary Search Algorithm