Battle With DSA

Battle With DSA

University

30 Qs

quiz-placeholder

Similar activities

Remedial UTS Analgo 2020

Remedial UTS Analgo 2020

University

31 Qs

Data Structures and Algorithm

Data Structures and Algorithm

11th Grade - Professional Development

30 Qs

Binary Trees and Traversals Quiz

Binary Trees and Traversals Quiz

University

30 Qs

Algorithms Data

Algorithms Data

11th Grade - Professional Development

30 Qs

Roll-a-coaster

Roll-a-coaster

University

30 Qs

Neo Coding Round 1 Set 2

Neo Coding Round 1 Set 2

University

25 Qs

DSA - Q1

DSA - Q1

University

25 Qs

Round 2

Round 2

University

25 Qs

Battle With DSA

Battle With DSA

Assessment

Quiz

Computers

University

Hard

Created by

Shiv S

Used 12+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following data structures can be efficiently implemented using a stack?

Queue

Binary Search Tree

Heap

Graph

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

0

1

2

Attribute error

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following highly uses the concept of an array?

Binary Search tree

Caching

Spatial locality

Scheduling of Processes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Convert the equivalent expression to prefix

-+/abc+d*ef

/+-abcd+*ef

-/+abc+*def

/-+abc+d*ef

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the outcome of the prefix expression?

18

17

25

26

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the time complexity of the following code snippet in C++?

O(n)

O(n2)

O(logn)

O(nlogn)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the post order traversal for the given graph?

4,12,10,18,24,22,15,31,44,35,90,66,70,50,25

4,12,10,15,18,24,22,25,31,44,35,66,90,70,50

4,10,12,15,18,22,24,25,31,35,44,50,66,70,90

4,12,10,18,24,22,15,31,44,35,66,90,70,50,25

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?