Multiple ChoiceBeginner 30s
Strings: Comparison
Comparing two strings character by character has worst-case time complexity of:
Options
- 1O(log n)
- 2O(1)
- 3O(n²)
- 4O(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.