# #168 Excel Sheet Column Title

class Solution {
private:
string str;
n -= 1;
if ( n > 25 ) {
}
str += n % 26 + 'A';
}
public:
string convertToTitle(int n) {
return str;
}
};

• 本文已收录于以下专栏：

## [LeetCode]--168. Excel Sheet Column Title

Given a positive integer, return its corresponding column title as appear in an Excel sheet.For exam...

## [LeetCode]168.Excel Sheet Column Title

【题目】 Given a positive integer, return its corresponding column title as appear in an Excel sheet. ...

## <LeetCode OJ> 171 / 168 Excel Sheet Column Number & Title

171. Excel Sheet Column Number My Submissions Question Total Accepted: 58671 Total Submissions: ...

## LeetCode[Math]----Excel Sheet Column Title----Excel Sheet Column Number

Excel Sheet Column Title Given a positive integer, return its corresponding column title as app...

## Excel Sheet Column Number/Excel Sheet Column Title

Excel Sheet Column NumberRelated to question Excel Sheet Column TitleGiven a column title as appear ...

## 【LeetCode】Excel Sheet Column Title

Excel Sheet Column Title 问题描述见链接。 在这个问题中，其实设计的是类似于二进制、十六进制的一种进位方式，可以认为是二十六进制，然而难点在于A-Z中没有0这个数，也...

## LeetCode题解：excel-sheet-column-title

举报原因： 您举报文章：深度学习：神经网络中的前向传播和反向传播算法推导 色情 政治 抄袭 广告 招聘 骂人 其他 (最多只允许输入30个字)