MCQ Practice Single Best Answer Topic: String Algorithms

Q Which algorithm is used to find the lexicographically smallest rotation of a string?

Question ID
#5781
Subchapter
String Algorithms
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A Knuth-Morris-Pratt algorithm
  • B Burrows-Wheeler transform
  • C Suffix array
  • D Rabin-Karp algorithm
Correct Answer: B

Explanation

Answer: b) Burrows-Wheeler transform

Explanation: The Burrows-Wheeler transform is used to find the lexicographically smallest rotation of a string.

Share This Question

Share this MCQ with your friends or study group.