Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 -> A2 -> B3 -> C...26 -> Z27 -> AA28 -> ABCredits: Special thanks to @ifanchu for adding this PRoblem and creating all test cases.
Subscribe to see which companies asked this question.
10进制转26进制,注意’A’是从1开始的,要记得减一
新闻热点
疑难解答