Suffix Automaton (SAM) Game — Extend & Substring Query Challenge
Practice Suffix Automaton online extend(c) cases (Root Link, Direct Link, Clone Split) and distinct substring queries on a live SVG automaton.
Time Complexity: O(n)
Study the algorithm · Watch Visualizer · All Algorithm Games