Download Excel Sheet Column Title.py
class Solution: def convertToTitle(self, n: int) -> str: res = "" while n > 0: n -= 1 res = chr(65 + n % 26) + res n //= 26 return res
Leetcode 168 Excel Sheet Column Title problem solution in python3 with explanation. This is the best place to expand your knowledge and get prepared for your next interview.
Feedback is the most important part of any website.
If you have any query, suggestion or feedback, Please feel free to contact us.