Data Structures - Training: Quiz 1

Data Structures - Training: Quiz 1

University

11 Qs

quiz-placeholder

Similar activities

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

Jira

Jira

University

15 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ

6th Grade - University

14 Qs

Semiconductores

Semiconductores

University

10 Qs

UX Design

UX Design

University

10 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Modelo de cascada

Modelo de cascada

University

12 Qs

Data Structures - Training: Quiz 1

Data Structures - Training: Quiz 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

S Sampath Kumar

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which sorting algorithm can be used to sort a random linked list with minimum time complexity?

Insertion Sort

Quick Sort

Heap Sort

Merge Sort

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Suppose each set is represented as a linked list with elements in arbitrary order. Which operations among union, intersection, membership, cardinality will be the slowest? (GATE CS 2004)

union

membership

cardinality

union, intersection

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the optimal time complexity to count the number of nodes in a linked list?

O(n)

O(1)

O(log n)

O(n log n)

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following algorithms is not feasible to implement in a linked list?

Insertion Sort

Quick Sort

Heap Sort

Binary Search

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the time complexity to insert an element to the front of a LinkedList (head pointer given)?

O(n)

O(1)

O(log n)

O(n log n)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the time complexity of a program to reverse a linked list?

O(n)

O(1)

O(log n)

O(n log n)

7.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of the following problems can be solved using 2 pointers on linked list?

Detecting cycle in a Linked List

Finding intersection of two linked lists

Finding middle of a linked lists

None of the above

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

Already have an account?