We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428fe2a commit 80be243Copy full SHA for 80be243
Excel Sheet Column Number.py
@@ -0,0 +1,7 @@
1
+class Solution:
2
+ def titleToNumber(self, s):
3
+ num = 0
4
+ for i in s:
5
+ num *= 26
6
+ num += ord(i) - 64
7
+ return num
0 commit comments