
DSA + System Design 11
Authored by Puneet Kansal
Computers
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following properties is crucial for a good hash function?
Slow computation
Producing the same hash for different inputs
Producing a unique hash for every unique input
Large output size
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the load factor in a hash table?
The ratio of the number of entries to the number of slots
The time complexity of hashing
The speed of hash function computation
The size of the hash table
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
what is the average case time complexity of searching an element in a hash table?
O(1)
O(log n)
O(n)
O(n log n)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is true about unordered_set / HashSet / set?
Elements are sorted in ascending order
Elements are accessed using an index
Duplicate elements are not allowed
Insertion and lookup operations have a time complexity of O(log n)
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the primary advantage of using an unordered_set over a set in C++?
Faster lookup and insertion
Maintains sorted order
Uses less memory
Supports duplicates
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which data structure is used at backend for inbuild unordered_set / hashset / set.
Array
Linkedlist
Hash table
tree
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of searching an element in hash table in worst case?
O(1)
O(logn)
O(n)
O(n^2)
Access all questions and much more by creating a free account
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
12 questions
BIS - Database
Quiz
•
Professional Development
10 questions
Training Microsoft Excel 2024
Quiz
•
Professional Development
15 questions
hosting
Quiz
•
Professional Development
11 questions
Wealth Showcases - VII
Quiz
•
Professional Development
15 questions
Universidad Juan de castellanos
Quiz
•
Professional Development
10 questions
Teste - Word
Quiz
•
Professional Development
10 questions
Is Your AWS Cloud Well Architected
Quiz
•
Professional Development
13 questions
Database SQL Part 1 V1
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L3_22-23
Lesson
•
KG - Professional Dev...
20 questions
Employability Skills
Quiz
•
Professional Development