Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?

MCA 2024

Quiz
•
Computers
•
Professional Development
•
Hard
Shatabdi Ghadei
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insertion Sort
Quick Sort
Heap Sort
Merge Sort
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Let P be a singly linked list. Let Q be the pointer to an intermediate node x in the list. What is the worst-case time complexity of the best known algorithm to delete the node Q from the list?
O(n)
O(log2 n)
O(logn)
O(1)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is an application of Stack Data Structure?
Managing function calls
The stock span problem
Arithmetic expression evaluation
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The five items: A, B, C, D, and E are pushed in a stack, one after other starting from A. The stack is popped four items and each element is inserted in a queue. The two elements are deleted from the queue and pushed back on the stack. Now one item is popped from the stack. The popped item is
A
B
C
D
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The minimum number of stacks needed to implement a queue is
3
1
2
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case number of arithmetic operations performed by recursive binary search on a sorted array of size n?
Θ(√n)
Θ(log2(n))
Θ(n2)
Θ(n)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a complete binary tree where the left and the right subtrees of the root are max-heaps. The lower bound for the number of operations to convert the tree to a heap is
Ω(logn)
Ω(n)
Ω(nlogn)
Ω(n2)
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Gry komputerowe 3

Quiz
•
1st Grade - Professio...
10 questions
Structure Data Review

Quiz
•
University - Professi...
6 questions
Algouniversity - Nomdic Gurukul - 14th august

Quiz
•
Professional Development
13 questions
DSA 2

Quiz
•
Professional Development
15 questions
Y8 Search Algorithms: End of Topic Quiz

Quiz
•
Professional Development
10 questions
last

Quiz
•
Professional Development
10 questions
Quiz on Data Structures

Quiz
•
Professional Development
11 questions
ME ADS QUIZ

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade