

Flashcard Sample by Ashis
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
ashis pradhan
Used 1+ times
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following data structures is a non-linear data structure? Array, Linked List, Stack, Tree
Back
Tree
2.
FLASHCARD QUESTION
Front
What is the time complexity of searching for an element in a sorted array using binary search?
Back
O(n^2)
3.
FLASHCARD QUESTION
Front
Which data structure is commonly used for implementing recursion?
Back
Linked List
4.
FLASHCARD QUESTION
Front
What is the primary purpose of a stack data structure?
Back
To store data in a Last In First Out (LIFO) manner
5.
FLASHCARD QUESTION
Front
What is the average time complexity for inserting an element in a hash table?
Back
O(1)
6.
FLASHCARD QUESTION
Front
Which data structure uses a FIFO (First In First Out) order?
Back
Queue
7.
FLASHCARD QUESTION
Front
Which of the following data structures is used to implement a priority queue? Array, Linked List, Heap, Stack
Back
Heap
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?