Suffix Tree - check!

Suffix Tree - check!

Professional Development

5 Qs

quiz-placeholder

Similar activities

Animals

Animals

1st Grade - Professional Development

8 Qs

Suffixes Used In Dentistry

Suffixes Used In Dentistry

Professional Development

8 Qs

Fundamentos de Programación

Fundamentos de Programación

Professional Development

10 Qs

Trees

Trees

5th Grade - Professional Development

10 Qs

variables, constants, statements

variables, constants, statements

Professional Development

10 Qs

LIDERANÇA

LIDERANÇA

University - Professional Development

10 Qs

Wandavision episode 6 quiz

Wandavision episode 6 quiz

KG - Professional Development

10 Qs

IBD & Ca Colon

IBD & Ca Colon

University - 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.