If the post order traversal gives a b - c d * + then the label of the nodes 1, 2, 3 ... will be
SMARTICUS

Quiz
•
Computers
•
University
•
Hard
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
+, -, *, a, b, c, d
a, -, b, +, c, *, d
a, b, c, d, -, *, +
-, a, b, +, *, c, d
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity for adding an element to a heap?
O(1)
O(log n)
O(n)
O(n log n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used to implement depth-first search in a graph?
Array
Linked List
Stack
Queue
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operations on a heap data structure has the worst-case time complexity of O(log n)?
Insertion
Deletion
Search
Heapify
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct formula to calculate the index of a node's parent in a binary heap?
i/2
2i
2i+1
i-1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The postfix form of the expression (A B)*(C*D− E)*F / G is
AB CD* E − F **G /
AB CD*E − FG /**
AB CDE − F *G /
AB CD* E − F G /
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a cycle in a graph?
A set of vertices that are all connected to each other.
A path in the graph that starts and ends at the same vertex.
A group of edges that connect two different vertices.
A subgraph that is disconnected from the main graph.
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Data Structures Quiz

Quiz
•
University
20 questions
Data Structures and Algorithm

Quiz
•
University
15 questions
Data Structure

Quiz
•
University
20 questions
Sorting and Searching Algorithms Quiz - Batch 1

Quiz
•
University
15 questions
Selection Sort & Exhaustive Search

Quiz
•
University
20 questions
Algo Duel

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade