Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

What is the purpose of constructing a suffix array?

Click the option that best answers the question.

  • To efficiently search for a substring in a given string
  • To sort a given string in lexicographic order
  • To count the number of occurrences of a character in a given string
  • To compress a given string by removing repeating characters