We need a sorted array to perform a binary search in that case the time complexity already became greater than the linear search, so isnt linear search a better option in that case?
We need a sorted array to perform a binary search in that case the time complexity already became greater than the linear search, so isnt linear search a better option in that case?
Codeforces site is not displaying properly on my pc,all other websites are running fine I tried different browsers like firefox,edge,chrome but still getting the same problem,is there a way to fix this problem?