← Questions

Sort names by text prefix, then numeric suffix

0
PerplexityCodingLast asked Oct 2026

A coding interview question asked in Perplexity's coding round, last asked Oct 2026. It tests sorting and strings.

You get a list of topic names. Each is a lowercase word, one underscore and a whole number, such as logs_10 or logs_2.

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 · strings

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