LeetCode – Excel Sheet Column Number (Java)
Problem Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A -> 1 B -> 2 C -> 3 … Z -> 26 AA -> 27 AB -> 28 … AAA -> 703 Java Solution This problem is related to Excel Sheet Column Title. public int titleToNumber(String … Read more