Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 |
1 -> A |
1 |
class { |
- Consider it as a digit transform problem.
- Notice that the first char is
A
which corresponse to number0
, so there should ben-1
.
近期评论