info@avatto.com
+91-9920808017
6. Which of the following is useful in implementing quick sort?
Stacks
set
List
Queue
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
7. The maximum degree of any vertex in a simple graph with n vertices is
n
n-1
n+1
2n-1
8. The number of edges in a regular graph of degree d and n vertices is
maximum of n,d
n+d
nd
nd/2
9. The correct matching for the following pairs is (A) All pairs shortest path (B) Quicksort (C) Minimum weight spanning tree (D) Connected Components (1) Greedy (2) Depth-first search (3) Dynamic programming (4) Divide and conquer
A-2 , B-4 , C-1 , D-3
A-3 , B-4 , C-1 , D-2
A-3 , B-4 , C-2 , D-1
A-4 , B-1 , C-2 , D-3
10. Which of the following expressions accesses the (i,j)th entry of an (m x n) matrix stored in column-major form?
n x (i -1) + j
m x (j -1) + i
m x (n-j) + j
n x (m-i) + j
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login