GoLang Solution For LeetCode Problem: Excel Sheet Column Number
Solving Excel Sheet Column Number in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Given a column title as appear in an Excel sheet, return its corresponding column number.
A -> 1 B -> 2 C -> 3 ... Z -> 26 AA -> 27 AB -> 28 ...
Input: "A" Output: 1
Input: "AB" Output: 28
Input: "ZY" Output: 701
See the full details of the problem Excel Sheet Column Number at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go