Microsoft interview question

Design an algorithm to convert Excel column letter values to integers