Problem Description
Given a column title A as appears in an Excel sheet, return its corresponding column number.
1 <= |A| <= 100
First and only argument is string A.
Return an integer
Input 1:
"A"
Input 2:
"AB"
Output 1:
1
Output 2:
28
Explanation 1:
A -> 1
Explanation 2:
A -> 1 B -> 2 C -> 3 ... Z -> 26 AA -> 27 AB -> 28
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.