leetcode:1309. 解码字母到整数映射(c++)

这种映射题目的一种想法是找到它和初值的差距,而后与初值加和便可。web class Solution { public: string freqAlphabets(string s) { int map = 96; // a前面一个数的ascii码 string res; // 结果字符串 for(int i = 0; i <
相关文章
相关标签/搜索