@@ -0,0 +1,394 @@
+package leetcode.excel_sheet_column_number;%0A%0Apublic class Solution %7B%0A%09public int titleToNumber(String s) %7B%0A%09%09if(s == null %7C%7C s.length() == 0) return 0;%0A%09%09int len = s.length();%0A%09%09int n = 0;%0A%09%09for(int i = 0; i %3C len; i++)%7B%0A%09%09%09n *= 26;%0A%09%09%09n += s.charAt(i) - 'A';%0A%09%09%09n++;%0A%09%09%7D%0A%09%09return n;%0A    %7D%0A%09public static void main(String%5B%5D args)%7B%0A%09%09System.err.println(new Solution().titleToNumber(%22ZZ%22));%0A%09%7D%0A%7D%0A

Add java solution for 171. Excel Sheet Column Number