202508500004
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Lilesh Pathe
Used 2+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which approach is optimal to find the smallest missing positive number in an unsorted array?
Sorting
HashMap
In-place Indexing
Binary Search
Greedy
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the time complexity of rotating an array of n elements by k positions (using reversal algorithm)?
O(nk)
O(log n)
O(n)
O(k)
O(n log n)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What’s the optimal way to design a circular queue using array?
Push from front
Push using two arrays
Use front and rear pointers with modulo
Doubly Linked List
Prefix tree
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Time complexity to reverse a doubly linked list?
O(log n)
O(n)
O(1)
O(n²)
O(n log n)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following cannot be implemented using a linked list?
Stack
Queue
Hash Table
Random Access Array
Deque
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a Binary Tree, the diameter is the:
Max number of leaves
Depth of root
Longest path between any two nodes
Height + width
Sum of left subtree
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following trees is ideal for implementing priority queues?
Binary Search Tree
AVL Tree
Heap
Red-Black Tree
Segment Tree
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
AWS Hackthon - quiz
Quiz
•
Professional Development
40 questions
Chapter 8 Teamwork and Communication Quiz
Quiz
•
Professional Development
39 questions
HTML quiz
Quiz
•
University - Professi...
40 questions
A+ Core2 Day 5c methods for securing mobile and embedded devices
Quiz
•
Professional Development
45 questions
SAFe 6 Agilist Part 4
Quiz
•
Professional Development
44 questions
A+ 1102 Study Quiz 4
Quiz
•
Professional Development
43 questions
DSAC-8 Annex D
Quiz
•
Professional Development
45 questions
Windows Server Quiz Boxhill 742
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
