All challenges
Multiple ChoiceHard 30s

Z Algorithm

The Z algorithm computes Z-array for pattern matching in:
Options
  1. 1O(n²)
  2. 2O(n log n)
  3. 3O(n)
  4. 4O(2^n)

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle