C++ Solution to Coding Challenge 171. Excel Sheet Column Number
Some tips about ASCII and mathematics
Problem statement
Given a string columnTitle
that represents the column title as appears in an Excel sheet, return its corresponding column number.
For example:
A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB…