closed by
749 views

Related questions

1 votes
1 votes
3 answers
1
khushboo123 asked May 25, 2016
1,081 views
int fun(int n){ int count = 0; for (int i = n; i 0; i /= 2) for (int j = 0; j < i; j++) count += 1; return count; }then this function should give O(nlogn).since outer lo...
0 votes
0 votes
2 answers
2
Mak Indus asked Nov 10, 2018
285 views
Given an array of distinct integers A[1, 2,…n]. Find the tightest upper bound to check the existence of any index i for which A[i]= i.(a) O (1) ...
1 votes
1 votes
2 answers
4