https://github.com/zacksleo/interview_code
面试手写代码题目
https://github.com/zacksleo/interview_code
Last synced: about 1 year ago
JSON representation
面试手写代码题目
- Host: GitHub
- URL: https://github.com/zacksleo/interview_code
- Owner: zacksleo
- Created: 2019-03-05T01:48:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T10:06:27.000Z (over 7 years ago)
- Last Synced: 2025-02-07T13:47:58.021Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 138 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 1. 初级代码
## 1.1. link_list 链表相关
|题目| 链接 |
|--|--|
| 链表的反转(递归、非递归)| [reverse_link_list](https://github.com/Jarlonyan/interview_code/blob/master/link_list/reverse_link_list.cpp) |
| 用户自定义链表 | [user_define_link_list](https://github.com/Jarlonyan/interview_code/blob/master/link_list/user_define_link_list.cpp) |
## 1.2. sort_algorithms
6个排序算法。冒泡、插入、选择、合并、快速、堆排序
|题目| 链接 |
|--|--|
| 冒泡 | [bubble_sort](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/bubble_sort.cpp) |
| 插入 | [insert_sort](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/insert_sort.cpp) |
| 选择 | [select_sort](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/select_sort.cpp) |
| 合并 | [merge_sort](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/merge_sort.cpp) |
| 快速 | [quick_sort](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/quick_sort.cpp) |
| 堆排序 | [heap_sort](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/heap_sort.cpp) |
## 1.3. binary_tree 二叉树
二叉树的很多题,本质上都是考察遍历算法
|题目| 链接 |
|--|--|
| 构造二叉树 | [build_bin_tree](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/build_bin_tree.cpp) |
| 遍历二叉树:递归、非递归、先序、中序、后序 | [traverse_bin_tree](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/traverse_bin_tree.cpp) |
| 二叉树高度 | [height_bin_tree](https://github.com/Jarlonyan/interview_code/blob/master/sort_algorithms/height_bin_tree.cpp) |
---------------
# 2. 中级代码
## 2.1. dynamic_programming
动态规划
## 2.2. leetcode
leetcode上的题目
# 3. 公司面试题
## tencent
|||