FunctionRacerProblemsRace

Excel Sheet Column Title

EasyMathPython, JavaScript, TypeScript, Java, C++

Spreadsheet columns are named A to Z, then AA, AB, ... AZ, BA, ..., ZZ, AAA, and so on. Given a column number columnNumber (1 is A), return its name.

Example 1

columnNumber 1
returns "A"

The first column is A.

Example 2

columnNumber 28
returns "AB"

After Z (26) and AA (27) comes AB.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More Math problems