首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
牛客图书馆
>
读书笔记
开通博客写笔记
读书笔记
全部
第2章
第3章
第10章
面试题4:二维数组中的查找(c++)【剑指 offer】
class Solution { public: bool Find(int target, vector<vector<int> > array) { //自右上角开始 if(array.empty() || ...
旭日东升better
编辑于 2020-02-11 15:48:12
面试题5:替换空格(c++)【剑指offer】
先计算出空格总数,进而计算出替换之后的新字符串的总长度。 class Solution { public: void replaceSpace(char *str,int length) { //"length"为字符数组str的总...
旭日东升better
编辑于 2020-02-11 20:44:09
面试题3:数组中重复的数字(1)-找出数组中重复的数字【剑指offer】
class Solution { public: // Parameters: // numbers: an array of integers // length: the length ...
旭日东升better
编辑于 2020-02-11 20:46:03
面试题6:从头到尾打印链表(c++)【剑指offer】
方式一:使用栈实现倒序输出(栈存储的是节点) /** * struct ListNode { * int val; * struct ListNode *next; * ListNode(int x) : * ...
旭日东升better
编辑于 2020-02-12 22:36:42
首页
上一页
1
2
下一页
末页
热门图书
鲸与海豚
狂热的追求
史蒂夫·乔布斯传
Two Scoops of Django
Data Structures and Algorithms in Java
基地
查看全部