登录
  • #刷题

Mi‌‌‌‍‌‌‍‌‍‌‌‍‌‌‌‌‍‌‍‌‍‌‌‌‍‌‍‍‌‍‍‌crosoft : Excel 列的编号

wwwyhx
1852
3
In MS Excel, the column numbers are named as A, B, C, ......, Z.

If you go beyond this 'Z' column you will encounter AA-->AZ, BA-->BZ, .... ZA-->ZZ then AAA-->AAZ, ABA-->ABZ,

........ and you can imagine how long this sequence can go! The question was to write a function which takes

in a positive integer and returns the character set at that column. For example: if column number is 26 my

function must return 'AA' (0-based index).
3条回复
热度排序

发表回复