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開始的,要記得減一
新聞熱點
疑難解答