Related to question Excel Sheet Column Title
Given a column title as appear in an Excel sheet, return its corresponding column number.
For example:
A -> 1B -> 2C -> 3...Z -> 26AA -> 27AB -> 28Credits: Special thanks to @ts for adding this PRoblem and creating all test cases.
Subscribe to see which companies asked this question.
26进制转10进制,按数学方法来就行,注意溢出等场景
新闻热点
疑难解答