###### Easy-题目9：171. Excel Sheet Column Number

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

public class Solution {
public int titleToNumber(String s) {
return (s.length()==0)?0:titleToNumber(s.substring(0, s.length()-1))*26+s.charAt(s.length()-1)-'A'+1;
}
}

3ms,beats 11.31%,众数3ms,66.06%

#### 171. Excel Sheet Column Number [easy] (Python)

2016-05-14 15:53:46

#### LeetCode(171) Excel Sheet Column Number

2015-01-02 01:14:49

#### 【LeetCode-面试算法经典-Java实现】【171-Excel Sheet Column Number（Excel表行号）】

2015-08-23 06:41:06

#### [LeetCode-171]Excel Sheet Column Number(java)

2016-10-08 21:14:02

#### Leetcode_171_Excel Sheet Column Number

2014-12-31 07:19:34

#### 171. Excel Sheet Column Number Leetcode Python

2015-02-15 01:52:25

#### LeetCode 171. Excel Sheet Column Number 题解（C++）

2016-10-13 17:59:09

#### 171. Excel Sheet Column Number.py

2018年03月02日 335B 下载

#### 171. Excel Sheet Column Number（）

2018-03-14 20:48:49

#### 171. Excel Sheet Column Number*

2016-09-04 23:32:48

## 不良信息举报

Easy-题目9：171. Excel Sheet Column Number