easyMathString 0 views

Excel Sheet Column Title

Given an integer columnNumber, return its corresponding column title as it appears in an Excel sheet.

Given an integer columnNumber, return its corresponding column title as it appears in an Excel sheet.

For example:

Example 1

Input: columnNumber = 1

Output: "A"

Example 2

Input: columnNumber = 28

Output: "AB"

Example 3

Input: columnNumber = 701

Output: "ZY"

Constraints

  • 1 <= columnNumber <= 231 - 1

Hints

No hints yet.

Companies

No companies reported yet.

Discussion

Sign in to join the discussion.

Loading discussion...

Test results

No test cases yet.