
Linked list

Quiz
•
Professional Development
•
Professional Development
•
Hard
Dr.S.Vidhya KGCAS
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the space complexity needed to store a linked list of n nodes?
o(1)
o(n)
o(n2)
None of the aboce
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity to insert an element to the front of a LinkedList(head pointer given)?
o(1)
o(n)
o(log n)
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms is not feasible to implement in a linked list?
Linear Search
Merge Sort
Insertion Sort
Binary Search
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following information is stored in a doubly-linked list’s nodes?
value
address of the next node
address of the previous node
all the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true?
Random access of elements at a linked list is not possible.
Arrays have better cache locality than linked list.
The size of linked list is dynamic and can be changed as needed.
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element will be?
O(log n)
O(n)
O(1)
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which scenario is the Linked List an excellent data structure?
When you need to insert elements at the end of the list
When you need to insert elements in the middle of the list
When you need to access elements in sequential order
When you need quick access to elements by index
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Pelepens Game KNB?

Quiz
•
KG - Professional Dev...
10 questions
Ivy_Honeywell_Data Analytics_7.2

Quiz
•
Professional Development
10 questions
Career Centre - LinkedIn

Quiz
•
Professional Development
13 questions
Redes y liderazgo femenino

Quiz
•
Professional Development
10 questions
"Happiness is not something ready-made. It comes from your own a

Quiz
•
Professional Development
15 questions
Emerging Tech

Quiz
•
Professional Development
10 questions
Computer Networs Lab - Viva

Quiz
•
Professional Development
15 questions
Blockchain Fundamentals Quiz

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade