https://github.com/xukeawsl/codinginterviewchinese2-cpp
《剑指Offer:名企面试官精讲典型编程面试题》第二版的 C++ 实现
https://github.com/xukeawsl/codinginterviewchinese2-cpp
cpp solutions
Last synced: 9 months ago
JSON representation
《剑指Offer:名企面试官精讲典型编程面试题》第二版的 C++ 实现
- Host: GitHub
- URL: https://github.com/xukeawsl/codinginterviewchinese2-cpp
- Owner: xukeawsl
- Created: 2024-01-31T14:23:12.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-03T06:20:17.000Z (over 2 years ago)
- Last Synced: 2025-03-04T02:41:24.489Z (over 1 year ago)
- Topics: cpp, solutions
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodingInterviewChinese2-Cpp
## 简介
《剑指Offer:名企面试官精讲典型编程面试题》第二版的 C++ 实现
## 题单
[面试题 3:数组中重复的数字](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%203%EF%BC%9A%E6%95%B0%E7%BB%84%E4%B8%AD%E9%87%8D%E5%A4%8D%E7%9A%84%E6%95%B0%E5%AD%97.md)
[面试题 4:二维数组中的查找](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%204%EF%BC%9A%E4%BA%8C%E7%BB%B4%E6%95%B0%E7%BB%84%E4%B8%AD%E7%9A%84%E6%9F%A5%E6%89%BE.md)
[面试题 5:替换空格](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%205%EF%BC%9A%E6%9B%BF%E6%8D%A2%E7%A9%BA%E6%A0%BC.md)
[面试题 6:从尾到头打印链表](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%206%EF%BC%9A%E4%BB%8E%E5%B0%BE%E5%88%B0%E5%A4%B4%E6%89%93%E5%8D%B0%E9%93%BE%E8%A1%A8.md)
[面试题 7:重建二叉树](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%207%EF%BC%9A%E9%87%8D%E5%BB%BA%E4%BA%8C%E5%8F%89%E6%A0%91.md)
[面试题 8:二叉树的下一个节点](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%208%EF%BC%9A%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E4%B8%8B%E4%B8%80%E4%B8%AA%E8%8A%82%E7%82%B9.md)
[面试题 9:用两个栈实现队列](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%209%EF%BC%9A%E7%94%A8%E4%B8%A4%E4%B8%AA%E6%A0%88%E5%AE%9E%E7%8E%B0%E9%98%9F%E5%88%97.md)
[面试题 10:斐波那契数列](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2010%EF%BC%9A%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B0%E5%88%97.md)
[面试题 11:旋转数组的最小数字](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2011%EF%BC%9A%E6%97%8B%E8%BD%AC%E6%95%B0%E7%BB%84%E7%9A%84%E6%9C%80%E5%B0%8F%E6%95%B0%E5%AD%97.md)
[面试题 12:矩阵中的路径](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2012%EF%BC%9A%E7%9F%A9%E9%98%B5%E4%B8%AD%E7%9A%84%E8%B7%AF%E5%BE%84.md)
[面试题 13:机器人的运动范围](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2013%EF%BC%9A%E6%9C%BA%E5%99%A8%E4%BA%BA%E7%9A%84%E8%BF%90%E5%8A%A8%E8%8C%83%E5%9B%B4.md)
[面试题 14:剪绳子](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2014%EF%BC%9A%E5%89%AA%E7%BB%B3%E5%AD%90.md)
[面试题 15:二进制中 1 的个数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2015%EF%BC%9A%E4%BA%8C%E8%BF%9B%E5%88%B6%E4%B8%AD%201%20%E7%9A%84%E4%B8%AA%E6%95%B0.md)
[面试题 16:数值的整数次方](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2016%EF%BC%9A%E6%95%B0%E5%80%BC%E7%9A%84%E6%95%B4%E6%95%B0%E6%AC%A1%E6%96%B9.md)
[面试题 17:打印从 1 到最大的 n 位数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2017%EF%BC%9A%E6%89%93%E5%8D%B0%E4%BB%8E%201%20%E5%88%B0%E6%9C%80%E5%A4%A7%E7%9A%84%20n%20%E4%BD%8D%E6%95%B0.md)
[面试题 18:删除链表的节点](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2018%EF%BC%9A%E5%88%A0%E9%99%A4%E9%93%BE%E8%A1%A8%E7%9A%84%E8%8A%82%E7%82%B9.md)
[面试题 19:正则表达式匹配](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2019%EF%BC%9A%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE%E5%BC%8F%E5%8C%B9%E9%85%8D.md)
[面试题 20:表示数值的字符串](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2020%EF%BC%9A%E8%A1%A8%E7%A4%BA%E6%95%B0%E5%80%BC%E7%9A%84%E5%AD%97%E7%AC%A6%E4%B8%B2.md)
[面试题 21:调整数组顺序使奇数位于偶数前面](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2021%EF%BC%9A%E8%B0%83%E6%95%B4%E6%95%B0%E7%BB%84%E9%A1%BA%E5%BA%8F%E4%BD%BF%E5%A5%87%E6%95%B0%E4%BD%8D%E4%BA%8E%E5%81%B6%E6%95%B0%E5%89%8D%E9%9D%A2.md)
[面试题 22:链表中倒数第 k 个节点](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2022%EF%BC%9A%E9%93%BE%E8%A1%A8%E4%B8%AD%E5%80%92%E6%95%B0%E7%AC%AC%20k%20%E4%B8%AA%E8%8A%82%E7%82%B9.md)
[面试题 23:链表中环的入口节点](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2023%EF%BC%9A%E9%93%BE%E8%A1%A8%E4%B8%AD%E7%8E%AF%E7%9A%84%E5%85%A5%E5%8F%A3%E8%8A%82%E7%82%B9.md)
[面试题 24:反转链表](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2024%EF%BC%9A%E5%8F%8D%E8%BD%AC%E9%93%BE%E8%A1%A8.md)
[面试题 25:合并两个排序的链表](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2025%EF%BC%9A%E5%90%88%E5%B9%B6%E4%B8%A4%E4%B8%AA%E6%8E%92%E5%BA%8F%E7%9A%84%E9%93%BE%E8%A1%A8.md)
[面试题 26:树的子结构](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2026%EF%BC%9A%E6%A0%91%E7%9A%84%E5%AD%90%E7%BB%93%E6%9E%84.md)
[面试题 27:二叉树的镜像](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2027%EF%BC%9A%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E9%95%9C%E5%83%8F.md)
[面试题 28:对称的二叉树](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2028%EF%BC%9A%E5%AF%B9%E7%A7%B0%E7%9A%84%E4%BA%8C%E5%8F%89%E6%A0%91.md)
[面试题 29:顺时针打印矩阵](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2029%EF%BC%9A%E9%A1%BA%E6%97%B6%E9%92%88%E6%89%93%E5%8D%B0%E7%9F%A9%E9%98%B5.md)
[面试题 30:包含 min 函数的栈](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2030%EF%BC%9A%E5%8C%85%E5%90%AB%20min%20%E5%87%BD%E6%95%B0%E7%9A%84%E6%A0%88.md)
[面试题 31:栈的压入、弹出序列](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2031%EF%BC%9A%E6%A0%88%E7%9A%84%E5%8E%8B%E5%85%A5%E3%80%81%E5%BC%B9%E5%87%BA%E5%BA%8F%E5%88%97.md)
[面试题 32:从上到下打印二叉树](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2032%EF%BC%9A%E4%BB%8E%E4%B8%8A%E5%88%B0%E4%B8%8B%E6%89%93%E5%8D%B0%E4%BA%8C%E5%8F%89%E6%A0%91.md)
[面试题 33:二叉搜索树的后序遍历序列](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2033%EF%BC%9A%E4%BA%8C%E5%8F%89%E6%90%9C%E7%B4%A2%E6%A0%91%E7%9A%84%E5%90%8E%E5%BA%8F%E9%81%8D%E5%8E%86%E5%BA%8F%E5%88%97.md)
[面试题 34:二叉树中和为某一值的路径](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2034%EF%BC%9A%E4%BA%8C%E5%8F%89%E6%A0%91%E4%B8%AD%E5%92%8C%E4%B8%BA%E6%9F%90%E4%B8%80%E5%80%BC%E7%9A%84%E8%B7%AF%E5%BE%84.md)
[面试题 35:复杂链表的复制](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2035%EF%BC%9A%E5%A4%8D%E6%9D%82%E9%93%BE%E8%A1%A8%E7%9A%84%E5%A4%8D%E5%88%B6.md)
[面试题 36:二叉搜索树和双向链表](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2036%EF%BC%9A%E4%BA%8C%E5%8F%89%E6%90%9C%E7%B4%A2%E6%A0%91%E5%92%8C%E5%8F%8C%E5%90%91%E9%93%BE%E8%A1%A8.md)
[面试题 37:序列化二叉树](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2037%EF%BC%9A%E5%BA%8F%E5%88%97%E5%8C%96%E4%BA%8C%E5%8F%89%E6%A0%91.md)
[面试题 38:字符串的排列](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2038%EF%BC%9A%E5%AD%97%E7%AC%A6%E4%B8%B2%E7%9A%84%E6%8E%92%E5%88%97.md)
[面试题 39:数组中出现次数超过一半的数字](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2039%EF%BC%9A%E6%95%B0%E7%BB%84%E4%B8%AD%E5%87%BA%E7%8E%B0%E6%AC%A1%E6%95%B0%E8%B6%85%E8%BF%87%E4%B8%80%E5%8D%8A%E7%9A%84%E6%95%B0%E5%AD%97.md)
[面试题 40:最小的 k 个数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2040%EF%BC%9A%E6%9C%80%E5%B0%8F%E7%9A%84%20k%20%E4%B8%AA%E6%95%B0.md)
[面试题 41:数据流中的中位数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2041%EF%BC%9A%E6%95%B0%E6%8D%AE%E6%B5%81%E4%B8%AD%E7%9A%84%E4%B8%AD%E4%BD%8D%E6%95%B0.md)
[面试题 42:连续子数组的最大和](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2042%EF%BC%9A%E8%BF%9E%E7%BB%AD%E5%AD%90%E6%95%B0%E7%BB%84%E7%9A%84%E6%9C%80%E5%A4%A7%E5%92%8C.md)
[面试题 43:1 ~ n 整数中 1 出现的次数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2043%EF%BC%9A1%20_%20n%20%E6%95%B4%E6%95%B0%E4%B8%AD%201%20%E5%87%BA%E7%8E%B0%E7%9A%84%E6%AC%A1%E6%95%B0.md)
[面试题 44:数字序列中某一位的数字](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2044%EF%BC%9A%E6%95%B0%E5%AD%97%E5%BA%8F%E5%88%97%E4%B8%AD%E6%9F%90%E4%B8%80%E4%BD%8D%E7%9A%84%E6%95%B0%E5%AD%97.md)
[面试题 45:把数组排成最小的数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2045%EF%BC%9A%E6%8A%8A%E6%95%B0%E7%BB%84%E6%8E%92%E6%88%90%E6%9C%80%E5%B0%8F%E7%9A%84%E6%95%B0.md)
[面试题 46:把数字翻译成字符串](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2046%EF%BC%9A%E6%8A%8A%E6%95%B0%E5%AD%97%E7%BF%BB%E8%AF%91%E6%88%90%E5%AD%97%E7%AC%A6%E4%B8%B2.md)
[面试题 47:礼物的最大值](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2047%EF%BC%9A%E7%A4%BC%E7%89%A9%E7%9A%84%E6%9C%80%E5%A4%A7%E5%80%BC.md)
[面试题 48:最长不包含重复字符的子字符串](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2048%EF%BC%9A%E6%9C%80%E9%95%BF%E4%B8%8D%E5%8C%85%E5%90%AB%E9%87%8D%E5%A4%8D%E5%AD%97%E7%AC%A6%E7%9A%84%E5%AD%90%E5%AD%97%E7%AC%A6%E4%B8%B2.md)
[面试题 49:丑数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2049%EF%BC%9A%E4%B8%91%E6%95%B0.md)
[面试题 50:字符串中第一个只出现一次的字符](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2050%EF%BC%9A%E5%AD%97%E7%AC%A6%E4%B8%B2%E4%B8%AD%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%8F%AA%E5%87%BA%E7%8E%B0%E4%B8%80%E6%AC%A1%E7%9A%84%E5%AD%97%E7%AC%A6.md)
[面试题 51:数组中的逆序对](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2051%EF%BC%9A%E6%95%B0%E7%BB%84%E4%B8%AD%E7%9A%84%E9%80%86%E5%BA%8F%E5%AF%B9.md)
[面试题 52:两个链表的第一个公共节点](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2052%EF%BC%9A%E4%B8%A4%E4%B8%AA%E9%93%BE%E8%A1%A8%E7%9A%84%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%85%AC%E5%85%B1%E8%8A%82%E7%82%B9.md)
[面试题 53:在排序数组中查找数字](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2053%EF%BC%9A%E5%9C%A8%E6%8E%92%E5%BA%8F%E6%95%B0%E7%BB%84%E4%B8%AD%E6%9F%A5%E6%89%BE%E6%95%B0%E5%AD%97.md)
[面试题 54:二叉搜索树的第 k 大节点](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2054%EF%BC%9A%E4%BA%8C%E5%8F%89%E6%90%9C%E7%B4%A2%E6%A0%91%E7%9A%84%E7%AC%AC%20k%20%E5%A4%A7%E8%8A%82%E7%82%B9.md)
[面试题 55:二叉树的深度](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2055%EF%BC%9A%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E6%B7%B1%E5%BA%A6.md)
[面试题 56:数组中数字出现的次数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2056%EF%BC%9A%E6%95%B0%E7%BB%84%E4%B8%AD%E6%95%B0%E5%AD%97%E5%87%BA%E7%8E%B0%E7%9A%84%E6%AC%A1%E6%95%B0.md)
[面试题 57:和为 s 的数字](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2057%EF%BC%9A%E5%92%8C%E4%B8%BA%20s%20%E7%9A%84%E6%95%B0%E5%AD%97.md)
[面试题 58:翻转字符串](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2058%EF%BC%9A%E7%BF%BB%E8%BD%AC%E5%AD%97%E7%AC%A6%E4%B8%B2.md)
[面试题 59:队列的最大值](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2059%EF%BC%9A%E9%98%9F%E5%88%97%E7%9A%84%E6%9C%80%E5%A4%A7%E5%80%BC.md)
[面试题 60:n 个骰子的点数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2060%EF%BC%9An%20%E4%B8%AA%E9%AA%B0%E5%AD%90%E7%9A%84%E7%82%B9%E6%95%B0.md)
[面试题 61:扑克牌中的顺子](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2061%EF%BC%9A%E6%89%91%E5%85%8B%E7%89%8C%E4%B8%AD%E7%9A%84%E9%A1%BA%E5%AD%90.md)
[面试题 62:圆圈中最后剩下的数字](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2062%EF%BC%9A%E5%9C%86%E5%9C%88%E4%B8%AD%E6%9C%80%E5%90%8E%E5%89%A9%E4%B8%8B%E7%9A%84%E6%95%B0%E5%AD%97.md)
[面试题 63:股票的最大利润](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2063%EF%BC%9A%E8%82%A1%E7%A5%A8%E7%9A%84%E6%9C%80%E5%A4%A7%E5%88%A9%E6%B6%A6.md)
[面试题 65:不用加减乘除做加法](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2065%EF%BC%9A%E4%B8%8D%E7%94%A8%E5%8A%A0%E5%87%8F%E4%B9%98%E9%99%A4%E5%81%9A%E5%8A%A0%E6%B3%95.md)
[面试题 64:求 1+2+...+n](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2064%EF%BC%9A%E6%B1%82%201%2B2%2B...%2Bn.md)
[面试题 66:构建乘积数组](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2066%EF%BC%9A%E6%9E%84%E5%BB%BA%E4%B9%98%E7%A7%AF%E6%95%B0%E7%BB%84.md)
[面试题 67:把字符串转换成整数](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2067%EF%BC%9A%E6%8A%8A%E5%AD%97%E7%AC%A6%E4%B8%B2%E8%BD%AC%E6%8D%A2%E6%88%90%E6%95%B4%E6%95%B0.md)
[面试题 68:树中两个节点的最低公共祖先](https://github.com/xukeawsl/CodingInterviewChinese2-Cpp/blob/master/Solutions/%E9%9D%A2%E8%AF%95%E9%A2%98%2068%EF%BC%9A%E6%A0%91%E4%B8%AD%E4%B8%A4%E4%B8%AA%E8%8A%82%E7%82%B9%E7%9A%84%E6%9C%80%E4%BD%8E%E5%85%AC%E5%85%B1%E7%A5%96%E5%85%88.md)