首页 › 答案 › 题库 › 才高八斗

请问对一个排好序的数组进行查找,时间复杂度为()

请问对一个排好序的数组进行查找,时间复杂度为()
A、O(n)
B、O(lgn)
C、O(nlgn)
D、O(1)
正确答案:B