会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梦醒潇湘
博客园
首页
新随笔
联系
订阅
管理
2020年5月29日
面试题17. 打印从1到最大的n位数
摘要: 题目: 解答: 本题的简单解法: 1 class Solution { 2 public: 3 vector<int> printNumbers(int n) 4 { 5 vector<int> res; 6 7 if (n == 0) 8 { 9 return res; 10 } 11 12 //
阅读全文
posted @ 2020-05-29 11:23 梦醒潇湘
阅读(154)
评论(0)
推荐(0)
公告