Suffix Tree - check!

Suffix Tree - check!

Professional Development

5 Qs

quiz-placeholder

Similar activities

unit 008

unit 008

Professional Development

8 Qs

Foundation Quiz

Foundation Quiz

Professional Development

10 Qs

Prueba

Prueba

Professional Development

3 Qs

Christmas Trivia

Christmas Trivia

KG - Professional Development

10 Qs

Summer time

Summer time

Professional Development

10 Qs

Evaluación Spark ETL

Evaluación Spark ETL

Professional Development

5 Qs

LGPD

LGPD

Professional Development

10 Qs

Christmas Quiz_2022

Christmas Quiz_2022

Professional Development

10 Qs

Suffix Tree - check!

Suffix Tree - check!

Assessment

Quiz

Specialty

Professional Development

Hard

Created by

Mỹ Nguyễn

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

Which one is the time complexity for the naive algorithm building a suffix tree?

O(n^2)

O(n)

O(n^3)

O(1)

2.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

Which one is the time complexity for the Ukkonen's Algorithm bulding a suffix tree?

O(n^2)

O(n)

O(n^3)

O(1)

3.

MULTIPLE CHOICE QUESTION

1 min • 20 pts

Why do we need a terminator like $, #, *, etc. so that every string could be expressed as a suffix tree?

When a terminator is added, there's no suffix that is a prefix of another suffix.

For no reason.

When a terminator is added, all leaf nodes end with a special character.

When a terminator is added, it makes a string non-palindrome.

4.

MULTIPLE CHOICE QUESTION

1 min • 20 pts

Media Image

Which statement is not true about the suffix tree?

This string is abcabc$

Every internal node has at least 2 children.

Every edge is labeled by a prefix.

This string has 6 + 5 + 4 = 15 distinct non-empty substrings.

5.

MULTIPLE CHOICE QUESTION

1 min • 20 pts

Suffix tree is prominent in generating substrings since...

Suffix tree is constructed lexicographically.

Suffix tree includes the prefixes also.

A substring is a prefix of a suffix.

Every edge of suffix tree is labeled by a substring.