Leetcode - 171. Excel Sheet Column Number
此篇文章為我的解題紀錄,程式碼或許並不是很完善
Leetcode - 171. Excel Sheet Column Number
解題思路
從最左邊開始逐一運算,將char轉換成ascii code後乘上26的次方
我滴程式碼
1 | class Solution { |
1 | class Solution: |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment
GitalkFacebook Comments