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進制,按數學方法來就行,注意溢出等場景
新聞熱點
疑難解答