Excel Sheet Column Title
Given an integer columnNumber, return its corresponding column title as it appears in an Excel sheet.
Excel column titles are labeled using uppercase English letters in a 1-indexed manner:
1corresponds toA2corresponds toB26corresponds toZ27corresponds toAA
Return the column title string for the given columnNumber.
Example 1
Input
columnNumber = 1Output
"A"Column number 1 corresponds directly to the first letter, A.
Example 2
Input
columnNumber = 28Output
"AB"After Z, the next columns continue as AA, AB, so column number 28 is AB.
Constraints
- 1 <= columnNumber <= 2^31 - 1