Logo
IconChallenge
Icon
IconProblem
IconSolutions
IconSubmissions

Excel Sheet Column Title

XPChallenge Points: 10
levelLevel: Easy

In Excel, columns are labeled alphabetically — for example, the first column is labeled "A", the second "B", and so on up to "Z". After "Z", the sequence continues as "AA", "AB", "AC", etc.
You are given an integer columnNumber, and your task is to return the corresponding Excel column title.

Example 1:

Input: columnNumber = 3

Output: "C"

Example 2:

Input: columnNumber = 55

Output: "BC"

to Continue
like
dislike

Accepted:

Submission:

IconReport an issue
Icon
IconCode
IconYou need toto run or submitYou need toto run or submit
IconTest Case
IconTest Result