202508500004

202508500004

Professional Development

40 Qs

quiz-placeholder

Similar activities

AZ900-05

AZ900-05

Professional Development

39 Qs

ITS 101 10-14 Review

ITS 101 10-14 Review

10th Grade - Professional Development

45 Qs

Net+ Day 1 OSI Model Topologies and Cables

Net+ Day 1 OSI Model Topologies and Cables

Professional Development

40 Qs

Pemrogaman Dasar x 2020

Pemrogaman Dasar x 2020

Professional Development

40 Qs

HTML

HTML

9th Grade - Professional Development

35 Qs

Python

Python

KG - Professional Development

35 Qs

TCS NQT Mock Test 1,VERBAL ABILITY,QUANTITATIVE APTITUDE,PROGRAM

TCS NQT Mock Test 1,VERBAL ABILITY,QUANTITATIVE APTITUDE,PROGRAM

Professional Development

41 Qs

UD2: Prueba Proyecto TicTacToe

UD2: Prueba Proyecto TicTacToe

Professional Development

35 Qs

202508500004

202508500004

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Lilesh Pathe

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which approach is optimal to find the smallest missing positive number in an unsorted array?

Sorting

HashMap

In-place Indexing

Binary Search

Greedy

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the time complexity of rotating an array of n elements by k positions (using reversal algorithm)?

O(nk)

O(log n)

O(n)

O(k)

O(n log n)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What’s the optimal way to design a circular queue using array?

Push from front

Push using two arrays

Use front and rear pointers with modulo

Doubly Linked List

Prefix tree

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Time complexity to reverse a doubly linked list?

O(log n)

O(n)

O(1)

O(n²)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following cannot be implemented using a linked list?

Stack

Queue

Hash Table

Random Access Array

Deque

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a Binary Tree, the diameter is the:

Max number of leaves

Depth of root

Longest path between any two nodes

Height + width

Sum of left subtree

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following trees is ideal for implementing priority queues?

Binary Search Tree

AVL Tree

Heap

Red-Black Tree

Segment Tree

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?