Algorithms MCQ Questions

Post A Question

Classifications:

MCQ Questions Categories:

No collections found!

Dijkstra’s algorithm is based on
icon 1 answers
icon717 Views
icon0 Likes
Which of the following algorithm design technique is used in finding all pairs of shortest distances in a graph?
icon 1 answers
icon320 Views
icon0 Likes
A problem in NP is NP-complete
icon 1 answers
icon327 Views
icon0 Likes
The worst case running times of Insertion sort, Merge sort and Quick sort, respectively, are:
icon 1 answers
icon361 Views
icon0 Likes
Which of the following statements is TRUE?
icon 1 answers
icon309 Views
icon0 Likes
An unordered list contains n distinct elements
icon 1 answers
icon322 Views
icon0 Likes
Randomized quicksort is an extension of quicksort where the pivot is chosen randomly. What is the worst case complexity of sorting n numbers using randomized quicksort?
icon 1 answers
icon274 Views
icon0 Likes
The time complexity of an algorithm to compute M1 × M2 will be
icon 1 answers
icon724 Views
icon0 Likes
The minimum number of comparisons required to find the minimum and the maximum of 100 numbers is
icon 1 answers
icon303 Views
icon0 Likes
Which of the following sorting algorithms has the lowest worst-case complexity?
icon 1 answers
icon326 Views
icon0 Likes
The worst case running time of this computation is
icon 1 answers
icon301 Views
icon0 Likes
The tightest lower bound on the number of comparisons, in the worst case, for comparison-based sorting is of the order of
icon 1 answers
icon342 Views
icon0 Likes
What is the time complexity of Floyd–Warshall algorithm to calculate all pair shortest path in a graph with n vertices?
icon 1 answers
icon726 Views
icon0 Likes