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