Practice Excel Sheet Column Title
Read the task, work through the examples, and check your approach against the constraints. Use the original LeetCode task for coding and submissions.
Problem Statement
Given an integer columnNumber, return its corresponding column title as it appears in an Excel sheet. For example:
Source: Excel Sheet Column Title on LeetCode. Use the original task for its coding environment and submissions.
Examples
# Example 1
Input
columnNumber = 1
Output
"A"
# Example 2
Input
columnNumber = 28
Output
"AB"
# Example 3
Input
columnNumber = 701
Output
"ZY"
Constraints
1 <= columnNumber <= 2^31 - 1
Related LeetCode Problems
Practice more problems similar to Excel Sheet Column Title.
Review your practice with PhantomCodeAI
After trying the problem yourself, use the app to discuss your approach, complexity, and edge cases.