Question d’entretien chez PayPal

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