← All problems
Excel Sheet Column Title/Number
Convert between 1-indexed column numbers and titles (A..Z, AA...).
Complexity
Time O(log n), Space O(1)
Common pitfalls
- Plain base-26 (off by one on Z->AA)
- Direction confusion
Your solution
Log in to save your code and track progress.