Domanda di colloquio di PayPal

Given a (excel sheet) column title write a program to return its corresponding number [Leetcode 171].