Tap here to switch tabs
Problem
Submissions

Problem: Excel Sheet Column Title

Excel Sheet Column Title maps a positive column number to its Excel-style letter title, where labels progress from Z to AA, AB, and beyond.

Statement

Given a positive integer columnNumber, return its corresponding Excel sheet column title.

Excel column titles use letters A through Z and follow a base like numbering system where after Z the sequence continues with AA, AB, and so on.

Constraints:

  • 1≤1 \leq columnNumber ≤231−1\leq 2^{31} - 1

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Excel Sheet Column Title

Excel Sheet Column Title maps a positive column number to its Excel-style letter title, where labels progress from Z to AA, AB, and beyond.

Statement

Given a positive integer columnNumber, return its corresponding Excel sheet column title.

Excel column titles use letters A through Z and follow a base like numbering system where after Z the sequence continues with AA, AB, and so on.

Constraints:

  • 1≤1 \leq columnNumber ≤231−1\leq 2^{31} - 1