摘要: class Solution { public: string convertToTitle(int n) { if (n == 0) { return ""; } return convertToTitle((n - 1) / 26) + (char)((n - 1) % 26 + 'A'); } }; ... 阅读全文
posted @ 2018-01-23 11:29 Sherry_Yang 阅读(100) 评论(0) 推荐(0) 编辑