retagged by
12,134 views

3 Answers

7 7 votes
Binary search is always for sorted array , and it takes A) O(log n) time for searching an element
Answer:
Position:
Show:

Related questions

61 61 votes
5 answers 5 answers
14.4k
14.4k views
Kathleen asked Sep 17, 2014
14,388 views
A program consists of two modules executed sequentially. Let $f_1(t)$ and $f_2(t)$ respectively denote the probability density functions of time taken to execute the two ...
14 14 votes
3 answers 3 answers
7.1k
7.1k views
go_editor asked Jun 10, 2016
7,110 views
Djikstra’s algorithm is used toCreate LSAsFlood an internet with informationCalculate the routing tablesCreate a link state database
6 6 votes
2 2 answers
5.6k
5.6k views
go_editor asked Jun 10, 2016
5,639 views
A rule in a limited entry decision table is arow of the table consisting of condition entriesrow of the table consisting of action entriescolumn of the table consisting o...
8 8 votes
2 answers 2 answers
3.0k
3.0k views
go_editor asked Jun 10, 2016
2,981 views
The average case and worst case complexities for Merge sort algorithm are$O \: (n^2), O\: (n^2)$$O \: (n^2), O\: (n \log_2 n)$$ O\: (n \log_2 n), O \: (n^2)$$ O\: (n \lo...