VCE-ALPHA-22.11.2023-AN

VCE-ALPHA-22.11.2023-AN

Professional Development

15 Qs

quiz-placeholder

Similar activities

NCCU QUIZ 3

NCCU QUIZ 3

Professional Development

15 Qs

Trivia Game

Trivia Game

Professional Development

18 Qs

A Single Shard Chapter 3

A Single Shard Chapter 3

Professional Development

10 Qs

Christmas Collocations

Christmas Collocations

Professional Development

10 Qs

Identify N,V,Adj,Adv

Identify N,V,Adj,Adv

Professional Development

20 Qs

Present Continuous - Questions

Present Continuous - Questions

1st Grade - Professional Development

20 Qs

coding skills(ISCP 02) Tuesday slot3 (2.00pm - 4:00pm) CSE X & Z

coding skills(ISCP 02) Tuesday slot3 (2.00pm - 4:00pm) CSE X & Z

Professional Development

20 Qs

Business English Test 2: Accounts (Intermediate)

Business English Test 2: Accounts (Intermediate)

Professional Development

10 Qs

VCE-ALPHA-22.11.2023-AN

VCE-ALPHA-22.11.2023-AN

Assessment

Quiz

English

Professional Development

Easy

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can you save memory when storing color information in Red-Black tree?
using least significant bit of one of the pointers in the node for color information
using another array with colors of each node
storing color information in the node structure
using negative and positive numbering

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the special property of red-black trees and what root should always be?
a color which is either red or black and root should always be black color only
height of the tree
pointer to next node
a color which is either green or black

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why do we impose restrictions like . root property is black . every leaf is black . children of red node are black . all leaves have same black
to get logarithm time complexity
to get linear time complexity
to get exponential time complexity
to get constant time complexity

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the speciality of cartesian sorting?
it sorts partially sorted set of data quickly
it considers cartesian product of elements
it sorts elements in less than O(logn)
it is a self balancing tree

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cartesian trees solve range minimum query problem in constant time.
true
false

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a Cartesian tree?
a skip list in the form of tree
a tree which obeys cartesian product
a tree which obeys heap property and whose inorder traversal yields the given sequence
a tree which obeys heap property only

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider a sequence of numbers to have repetitions, how a cartesian tree can be constructed in such situations without violating any rules?
use any tie-breaking rule between repeated elements
cartesian tree is impossible when repetitions are present
construct a max heap in such cases
construct a min heap in such cases

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?