All challenges
Multiple ChoiceBeginner 30s

Stable Sort

A stable sorting algorithm:
Options
  1. 1Always guarantees O(n log n) time on every input
  2. 2Works correctly only on plain integer input values
  3. 3Preserves the relative order of equal elements
  4. 4Preserves input order by never swapping any two elements

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