168 excel sheet column title easy
168 Excel Sheet Column Title – Easy
Problem:¶
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
Thoughts:¶
This is like a base of 26 problem. Also remember, the letter starts as A which should be mapping to 0, while Z be mapping to 25. So remember to subtract 1 when doing the division and module.