← All problemsSign in

2194. Cells in a Range on an Excel Sheet

LeetCodeStringOpen on judge ↗

A cell (r, c) of an excel sheet is represented as a string "<col><row>" where: - <col> denotes the column number c of the cell. It is represented by alphabetical letters. - For example, the 1st column is denoted by 'A', the 2nd by 'B', the 3rd by 'C', and so on. - <row> is the row number r of the cell. The rth row is represented by the integer r. You are given a string s in the format "<co

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