← All problemsSign in

Excel Sheet Column Title

Given a positive integer, N, return its corresponding column title as it appears in an Excel sheet. For Example 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB ... 16384 -> XFD Input Format T N1 N2 N3 ... NT Where T is the number of Integers passed, and N1, N2, A3, NT, etc. are the integers for which you are required to give the result (i.e., Column Title). Each new line is an individual

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start