Search Header Logo

Suffix Tree - check!

Authored by Mỹ Nguyễn

Specialty

Professional Development

Used 2+ times

Suffix Tree - check!
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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.

Access all questions and much more by creating a free account

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?