In a linked list implementation of stack, where does the new element get inserted?

QUiz e

Quiz
•
Computers
•
Professional Development
•
Medium
Minhajul Adil
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
At the end of the list
In the middle of the list
depends on the implementation
at the front of the list
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the time complexity of Stack Pop operation if it is implemented using Singly Linked List?
O(1)
O(N^2)
O(N)
O(logN)
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Will we be able to do 107 pop operations if we implement Stack using vector?
YES
NO
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the examples are of Queue?
Phitron Support Session Management
Books on a Shelf
Undo Operation
Online Code judging system
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which one of the following is not a operation of Queue STL
pop
enqueue
front
size
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
what will be the final stack of following code ?
stack<int> s ;
s.push(10);
s.push(20);
s.push(30) ;
s.pop() ;
s.pop()
s.push(10) ;
10 20 10
10 20 30 10
10 10
Empty
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will occur if we transfer elements from one queue to another in the order they are removed?
Reverse Queue
Sorted Queue
Random Queue
Same Queue
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
DS TRaining Day 2

Quiz
•
Professional Development
10 questions
Stacks Mastery

Quiz
•
Professional Development
11 questions
DSA + System Design - 12

Quiz
•
Professional Development
10 questions
Microprocessor 8086 Architecture -Module I

Quiz
•
Professional Development
10 questions
Gry komputerowe 3

Quiz
•
1st Grade - Professio...
10 questions
RabbitMQ Basic

Quiz
•
Professional Development
9 questions
STL 8 класс

Quiz
•
Professional Development
15 questions
SDA UTS

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