← Questions

Sorting complexity: beat O(n²), then design the worst correct sort

0
MercorCodingLast asked Oct 2026

A coding interview question asked in Mercor's technical phone screen, last asked Oct 2026. It tests sorting, complexity and permutations.

A verbal question with no coding. The interviewer asks for the worst sorting algorithm you can think of that still always produces a correctly sorted result, and its running time.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

sorting · complexity · permutations

Your code and the AI tutor open when you unlock this question.