AntInLoop

Suffix Array Game — Predict the Next Sorted Suffix

Learn suffix array construction by predicting the lexicographical ordering of string suffixes step by step.

Time Complexity: O(n log n)

Study the algorithm · Watch Visualizer · All Algorithm Games