Recent questions tagged ace-test-series

1 votes
1 answer
304
4 votes
1 answer
305
for (i=n ; i>0 ; i ) { for ( j=1;j<n ; j=j*2) { for ( k=0;k<j ;k++) { } } }time complexity ??how to find of inner and innermost loop?
2 votes
2 answers
306
4 votes
4 answers
307
Consider bottom-up merge sort working on 'n' elements. Assume 'n' is a power of 2. The minimum number of comparisons in order to get sorted list is(A) (n log n) / 2(B) n ...
0 votes
1 answer
309
0 votes
1 answer
310
What is best time complexity to search element in sorted doubly linkedlist??O(n) O(nlogn) O(log n) O(n2)
2 votes
2 answers
311
The keys 7,3,11,13 are inserted into avl tree .what will be the the root once 12 is inserted into above AVL tree.
0 votes
1 answer
312
1 votes
1 answer
313
What is cost of shortest path from S to T ?is any difference between when greedy method is used
0 votes
0 answers
315
2 votes
1 answer
316
0 votes
1 answer
317
S - AaA - AbA - cWhich of the following item is present in LR(1) item with S' - .S, $\$$ ?A) A - .Ab, $\$$B) A - .c, $\$$C) A - .Ab, a/bD) None
2 votes
1 answer
321
2 votes
2 answers
322
0 votes
1 answer
324
The tightest lower bound on the number of comparisons, in worst case for comparison based sorting is of the order of ?(A)$n$(B)$n^2$(C)$nlogn$(D)$n \space{log\space n}^2$...
0 votes
0 answers
327
0 votes
1 answer
328
0 votes
1 answer
329