# awesome-java-leetcode
我如今是一名 Android Developer,大学的我曾是一名 ACMer,我一直认为数据结构和算法是作为一名程序员必须掌握和善于利用的,为了不让数据结构和算法淡出我的记忆,所以我打算重拾 LeetCode 之 Algorithm,语言选择的是 Java,题库会一点点完善起来,按简单,中等,困难分类,相应难度下按题号排序,源代码在 [src][src] 目录中,相关解题都在 [note][note] 目录中,想要学习数据结构和算法或打算刷 LeetCode 的小伙伴们欢迎 star 哦。
如今有机会面试 Facebook,附上 LeetCode 上 Facebook 的面试题目序号,希望可以帮助到以后想入 Facebook 的小伙伴:-)
```
1,10,13,15,17,20,23,25,26,28,33,38,43,44,49,50,56,57,67,68,69,71,75,76
78,79,80,85,88,90,91,98,102,117,121,125,127,128,133,139,146,157,158,161
168,173,200,206,208,209,210,211,215,218,221,234,235,236,238,252,253,257
261,265,269,273,274,275,277,278,282,283,285,286,297,301,311,314,325,334
341,377,380,398,404,410,461,477,494,523,525,534,535,543,554
```
如果想知道更多公司 LeetCode 面试题,可以参看 [Companies.md][companies]。
附上镇楼诗:
> 明有科举八股,今有 LeetCode。
> 八股定格式而取文采心意,LeetCode 定题目且重答案背诵。
> 美其名曰:"practice makes perfect."
> 为何今不如古?
> 非也非也,
> 科举为国取士,LeetCode 为 Google 筛码工,各取所需也。
## Easy
| # | Title | Tag |
| :--- | :---------------------------------------------------------------- | :------------------------------------------------ |
| 1 | [Two Sum][0001] | Array, Hash Table |
| 7 | [Reverse Integer][0007] | Math |
| 9 | [Palindrome Number][0009] | Math |
| 13 | [Roman to Integer][0013] | Math, String |
| 14 | [Longest Common Prefix][0014] | String |
| 16.11| [跳水板(Diving Board LCCI)][16_11] | 递归、记忆化 |
| 20 | [Valid Parentheses][0020] | Stack, String |
| 21 | [Merge Two Sorted Lists][0021] | Linked List |
| 26 | [Remove Duplicates from Sorted Array][0026] | Array, Two Pointers |
| 27 | [Remove Element][0027] | Array, Two Pointers |
| 28 | [Implement strStr()][0028] | Two Pointers, String |
| 35 | [Search Insert Position][0035] | String |
| 38 | [Count and Say][0038] | String |
| 53 | [Maximum Subarray][0053] | Array, Divide and Conquer, Dynamic Programming |
| 58 | [Length of Last Word][0058] | String |
| 66 | [Plus One][0066] | Array, Math |
| 67 | [Add Binary][0067] | Math, String |
| 69 | [Sqrt(x)][0069] | Binary Search, Math |
| 70 | [Climbing Stairs][0070] | Dynamic Programming |
| 83 | [Remove Duplicates from Sorted List][0083] | Linked List |
| 88 | [Merge Sorted Array][0088] | Array, Two Pointers |
| 100 | [Same Tree][0100] | Tree, Depth-first Search |
| 101 | [Symmetric Tree][0101] | Tree, Depth-first Search, Breadth-first Search |
| 104 | [Maximum Depth of Binary Tree][0104] | Tree, Depth-first Search |
| 107 | [Binary Tree Level Order Traversal II][107] | Tree, Breadth-first Search |
| 108 | [Convert Sorted Array to Binary Search Tree][0108] | Tree, Depth-first Search |
| 110 | [Balanced Binary Tree][0110] | Tree, Depth-first Search |
| 111 | [Minimum Depth of Binary Tree][0111] | Tree, Depth-first Search, Breadth-first Search |
| 112 | [Path Sum][0112] | Tree, Depth-first Search |
| 118 | [Pascal's Triangle][0118] | Array |
| 119 | [Pascal's Triangle II][0119] | Array |
| 121 | [Best Time to Buy and Sell Stock][0121] | Array, Dynamic Programmin |
| 122 | [Best Time to Buy and Sell Stock II][0122] | Array, Greedy |
| 543 | [Diameter of Binary Tree][0543] | Tree |
## Medium
| # | Title | Tag |
| :--- | :---------------------------------------------------------------- | :------------------------------------------------ |
| 2 | [Add Two Numbers][0002] | Linked List, Math |
| 3 | [Longest Substring Without Repeating Characters][0003] | Hash Table, Two Pointers, String |
| 5 | [Longest Palindromic Substring][0005] | String, Dynamic Programming |
| 6 | [ZigZag Conversion][0006] | String |
| 8 | [String to Integer (atoi)][0008] | Math, String |
| 11 | [Container With Most Water][0011] | Array, Two Pointers |
| 12 | [Integer to Roman][0012] | Math, String |
| 15 | [3Sum][0015] | Array, Two Pointers |
| 15 | [3Sum Closest][0016] | Array, Two Pointers |
| 17 | [Letter Combinations of a Phone Number][0017] | String, Backtracking |
| 18 | [4Sum][0018] | Array, Hash Table, Two Pointers |
| 19 | [Remove Nth Node From End of List][0019] | Linked List, Two Pointers |
| 22 | [Generate Paren
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
awesome-java-leetcode我现在是一名Android开发人员,大学的我曾经是一名ACMer,我一直认为数据结构和算法是作为一名程序员必须掌握和善于利用的,为了不让数据结构和算法淡化我的记忆,所以我打算重拾LeetCode之算法,语言选择是Java,题库会将一点点完善起来,按简单,难度,难度分类,对应对应下按题号排序,源代码在src目录中,相关解题都在note目录中,想要学习数据结构和算法或打算刷LeetCode的小伙伴们欢迎star哦。有机会面试Facebook,现在附上LeetCode上Facebook的面试题目序号,希望可以帮助到以后想加入Facebook的小伙伴:-)1,10,13,15,17,20,23,25,26,28,33,38,43,44,49,50,56,57,67,68,69,71,75,7678,79,80,85,88,90,91,98,102,117,121,125,127,128,133,139,146,157,158,161168,173,200,206,208,209,210,211,215,218,221,234,235,2
资源推荐
资源详情
资源评论
收起资源包目录
带有 Java 解决方案的算法 LeetCode(更新中) .zip (146个子文件)
.gitignore 26B
Solution.java 4KB
Solution.java 4KB
Solution.java 3KB
Solution.java 3KB
Solution.java 3KB
Solution.java 3KB
TreeNode.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 2KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Interval.java 1KB
Solution.java 1KB
ListNode.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1KB
Solution.java 1007B
Solution.java 988B
Solution.java 947B
Solution.java 931B
Solution.java 927B
Solution.java 894B
Solution.java 893B
Solution.java 892B
Solution.java 886B
Solution.java 883B
Solution.java 872B
Solution.java 868B
Solution.java 841B
Solution.java 840B
Solution.java 836B
Solution.java 804B
Solution.java 801B
Solution.java 790B
Solution.java 786B
Solution.java 761B
Solution.java 759B
Solution.java 759B
Solution.java 754B
Solution.java 711B
Solution.java 699B
Solution.java 695B
Solution.java 672B
Solution.java 653B
Solution.java 637B
Solution.java 494B
Solution.java 478B
my_draw.jpg 37KB
README.md 17KB
README.md 6KB
README.md 6KB
README.md 5KB
README.md 5KB
README.md 5KB
README.md 4KB
README.md 4KB
README.md 4KB
README.md 4KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
Companies.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 3KB
README.md 2KB
README.md 2KB
README.md 2KB
共 146 条
- 1
- 2
资源评论
赵闪闪168
- 粉丝: 1726
- 资源: 6942
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 劳动合同顺延登记表.doc
- 劳动合同顺延通知书.doc
- 劳动合同签收备案表.doc
- 劳动合同签收单.xls
- 劳动合同签订意向调查表.doc
- 劳动争议调解协议书.doc
- 劳动争议调解申请书.doc
- MATLAB代码:基于分时电价条件下家庭能量管理策略研究 关键词:家庭能量管理模型 分时电价 空调 电动汽车 可平移负荷 仿真平台:MATLAB+CPLEX 平台 主要内容:代码主要做的是家庭能量管理
- websocket配置,发送数据存到数据库
- portainer-ce 2.21
- 从xtuoj看回文串算法及实际应用解读
- 基于自抗扰算法的四旋翼无人机姿态控制 本程序基于MATLAB中Simulink仿真和.m函数文件 附有相关参考资料,方便加深对自抗扰算法的理解 另有无人机的轨迹控制,编队飞行相关资料,可一并打包
- 学生选课管理系统python+tkinter+MySQL(98分期末大作业项目)
- 双击自动导入MQTT指令
- 力扣第131题:分割回文串
- YOLO人脸口罩佩戴目标检测数据集1类别(10000图片)+yolo、voc、coco三种标签+环境搭建+参考教程+划分脚本.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功