Given an integer
columnNumber
, return its corresponding column title as it appears in an Excel sheet.For example:
1
2
3
4
5
6
7
8 A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB -> 28
...
1 | class Solution { |
Given an integer
columnNumber
, return its corresponding column title as it appears in an Excel sheet.For example:
1
2
3
4
5
6
7
8 A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB -> 28
...
1 | class Solution { |