LeetCode Questions List (LeetCode 问题列表)- Java Solutions
因为在开始写这个博客之前,已经刷了100题了,所以现在还是有很多题目没有加进来,为了方便查找哪些没加进来,先列一个表可以比较清楚的查看,也方便给大家查找。如果有哪些题目的链接有错误,请大家留言和谅解,链多了会眼花。
# | Title | Category | Difficulty |
697 | Degree of an Array | Algorithms | Easy |
695 | Max Area of Island | Algorithms | Easy |
674 | Longest Continuous Increasing Subsequence | Algorithms | Easy |
665 | Non-decreasing Array | Algorithms | Easy |
661 | Image Smoother | Algorithms | Easy |
643 | Maximum Average Subarray I | Algorithms | Easy |
628 | Maximum Product of Three Numbers | Algorithms | Easy |
624 | Maximum Distance in Arrays $ | Algorithms | Easy |
617 | Merge Two Binary Trees | Algorithms | Easy |
606 | Construct String from Binary Tree | Algorithms | Easy |
605 | Can Place Flowers | Algorithms | Easy |
604 | Design Compressed String Iterator $ | Algorithms | Easy |
599 | Minimum Index Sum of Two Lists | Algorithms | Easy |
598 | Range Addition II | Algorithms | Easy |
594 | Longest Harmonious Subsequence | Algorithms | Easy |
581 | Shortest Unsorted Continuous Subarray | Algorithms | Easy |
575 | Distribute Candies | Algorithms | Easy |
572 | Subtree of Another Tree | Algorithms | Easy |
566 | Reshape the Matrix | Algorithms | Easy |
563 | Binary Tree Tilt | Algorithms | Easy |
562 | Longest Line of Consecutive One in Matrix $ | Algorithms | Medium |
561 | Array Partition I | Algorithms | Easy |
560 | Subarray Sum Equals K | Algorithms | Medium |
548 | Split Array with Equal Sum $ | Algorithms | Medium |
543 | Diameter of Binary Tree | Algorithms | Easy |
538 | Convert BST to Greater Tree | Algorithms | Easy |
533 | Lonely Pixel II $ | Algorithms | Medium |
532 | K-diff Pairs in an Array | Algorithms | Easy |
531 | Lonely Pixel I $ | Algorithms | Medium |
530 | Minimum Absolute Difference in BST | Algorithms | Easy |
501 | Find Mode in Binary Search Tree | Algorithms | Easy |
495 | Teemo Attacking | Algorithms | Medium |
485 | Max Consecutive Ones | Algorithms | Easy |
476 | Number Complement | Algorithms | Easy |
461 | Hamming Distance | Algorithms | Easy |
455 | Assign Cookies | Algorithms | Easy |
448 | Find All Numbers Disappeared in an Array | Algorithms | Easy |
442 | Find All Duplicates in an Array | Algorithms | Medium |
437 | Path Sum III | Algorithms | Easy |
414 | Third Maximum Number | Algorithms | Easy |
405 | Convert a Number to Hexadecimal | Algorithms | Easy |
404 | Sum of Left Leaves | Algorithms | Easy |
381 | Insert Delete GetRandom O(1) - Duplicates allowed | Algorithms | Hard |
380 | Insert Delete GetRandom O(1) | Algorithms | Medium |
371 | Sum of Two Integers | Algorithms | Easy |
370 | Range Addition $ | Algorithms | Medium |
346 | Moving Average from Data Stream $ | Algorithms | Easy |
342 | Power of Four | Algorithms | Easy |
339 | Nested List Weight Sum $ | Algorithms | Easy |
292 | Nim Game | Algorithms | Easy |
289 | Game of Life | Algorithms | Medium |
287 | Find the Duplicate Number | Algorithms | Medium |
283 | Move Zeroes | Algorithms | Easy |
280 | Wiggle Sort $ | Algorithms | Medium |
277 | Find the Celebrity $ | Algorithms | Medium |
268 | Missing Number | Algorithms | Easy |
259 | 3Sum Smaller $ | Algorithms | Medium |
257 | Binary Tree Paths | Algorithms | Easy |
252 | Meeting Rooms $ | Algorithms | Easy |
245 | Shortest Word Distance III $ | Algorithms | Medium |
243 | Shortest Word Distance $ | Algorithms | Easy |
238 | Product of Array Except Self | Algorithms | Medium |
235 | Lowest Common Ancestor of a Binary Search Tree | Algorithms | Easy |
229 | Majority Element II | Algorithms | Medium |
228 | Summary Ranges | Algorithms | Medium |
226 | Invert Binary Tree | Algorithms | Easy |
219 | Contains Duplicate II | Algorithms | Easy |
217 | Contains Duplicate | Algorithms | Easy |
216 | Combination Sum III | Algorithms | Medium |
209 | Minimum Size Subarray Sum | Algorithms | Medium |
205 | Isomorphic Strings | Algorithms | Easy |
204 | Count Primes | Algorithms | Easy |
202 | Happy Number | Algorithms | Easy |
191 | Number of 1 bits | Algorithms | Easy |
190 | Reverse Bits | Algorithms | Easy |
189 | Rotate Array | Algorithms | Easy |
170 | Two Sum III - Data structure design $ | Algorithms | Easy |
169 | Majority Element | Algorithms | Easy |
167 | Two Sum II - Input array is sorted | Algorithms | Easy |
163 | Missing Ranges $ | Algorithms | Medium |
162 | Find Peak Element | Algorithms | Medium |
153 | Find Minimum in Rotated Sorted Array | Algorithms | Medium |
152 | Maximum Product Subarray | Algorithms | Medium |
136 | Single Number | Algorithms | Easy |
122 | Best Time to Buy and Sell Stock II | Algorithms | Easy |
121 | Best Time to Buy and Sell Stock | Algorithms | Easy |
120 | Triangle | Algorithms | Medium |
119 | Pascal's Triangle II | Algorithms | Easy |
118 | Pascal's Triangle | Algorithms | Easy |
112 | Path Sum | Algorithms | Easy |
111 | Minimum Depth of Binary Tree | Algorithms | Easy |
110 | Balanced Binary Tree | Algorithms | Easy |
108 | Convert Sorted Array to Binary Search Tree | Algorithms | Easy |
107 | Binary Tree Level Order Traversal II | Algorithms | Easy |
106 | Construct Binary Tree from Inorder and Postorder Traversal | Algorithms | Medium |
105 | Construct Binary Tree from Preorder and Inorder Traversal | Algorithms | Medium |
104 | Maximum Depth of Binary Tree | Algorithms | Easy |
101 | Symmetric Tree | Algorithms | Easy |
100 | Same Tree | Algorithms | Easy |
90 | Subsets II | Algorithms | Medium |
88 | Merge Sorted Array | Algorithms | Easy |
81 | Search in Rotated Sorted Array II | Algorithms | Medium |
80 | Remove Duplicates from Sorted Array II | Algorithms | Medium |
79 | Word Search | Algorithms | Medium |
78 | Subsets | Algorithms | Medium |
75 | Sort Colors | Algorithms | Medium |
74 | Search a 2D Matrix | Algorithms | Medium |
73 | Set Matrix Zeroes | Algorithms | Medium |
66 | Plus One | Algorithms | Easy |
64 | Minimum Path Sum | Algorithms | Medium |
63 | Unique Paths II | Algorithms | Medium |
62 | Unique Paths | Algorithms | Medium |
59 | Spiral Matrix II | Algorithms | Medium |
56 | Merge Intervals | Algorithms | Medium |
55 | Jump Game | Algorithms | Medium |
54 | Spiral Matrix | Algorithms | Medium |
53 | Maximum Subarray | Algorithms | Easy |
48 | Rotate Image | Algorithms | Medium |
40 | Combination Sum II | Algorithms | Medium |
39 | Combination Sum | Algorithms | Medium |
35 | Search Insert Position | Algorithms | Easy |
34 | Search for a Range | Algorithms | Medium |
33 | Search in Rotated Sorted Array | Algorithms | Medium |
31 | Next Permutation | Algorithms | Medium |
27 | Remove Element | Algorithms | Easy |
26 | Remove Duplicates from Sorted Array | Algorithms | Easy |
18 | 4Sum | Algorithms | Medium |
16 | 3Sum Closest | Algorithms | Medium |
15 | 3Sum | Algorithms | Medium |
11 | Container With Most Water | Algorithms | Medium |
1 | Two Sum | Algorithms | Easy |
LeetCode Questions List (LeetCode 问题列表)- Java Solutions的更多相关文章
- All LeetCode Questions List 题目汇总
All LeetCode Questions List(Part of Answers, still updating) 题目汇总及部分答案(持续更新中) Leetcode problems clas ...
- Summary: curated List of Top 75 LeetCode Questions to Save Your Time
Facebook / Eng tech lead Dec 30, 2018 68 Comments New Year Gift to every fellow time-constrained ...
- Atitit.得到网络邻居列表java php c#.net python
Atitit.得到网络邻居列表java php c#.net python 1. 获取workgroup net view /domain1 2. 得到网络邻居列表1 3. 得到机器的ip 通过p ...
- Java实现 LeetCode 341 扁平化嵌套列表迭代器
341. 扁平化嵌套列表迭代器 给你一个嵌套的整型列表.请你设计一个迭代器,使其能够遍历这个整型列表中的所有整数. 列表中的每一项或者为一个整数,或者是另一个列表.其中列表的元素也可能是整数或是其他列 ...
- LeetCode算法题-Baseball Game(Java实现)
这是悦乐书的第288次更新,第305篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第156题(顺位题号是682).你现在是棒球比赛点记录器.给定一个字符串列表,每个字符串 ...
- LeetCode算法题-Keyboard Row(Java实现)
这是悦乐书的第245次更新,第258篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第112题(顺位题号是500).给定一个单词列表,返回可以在美国键盘的一行上使用字母表键 ...
- LeetCode算法题-House Robber(Java实现)
这是悦乐书的第187次更新,第189篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第46题(顺位题号是198).你是一个专业的强盗,计划在街上抢劫房屋. 每个房子都藏着一 ...
- LeetCode第151场周赛(Java)
这是我第一次写周赛的题目,而且还是虚拟的.从这次起,以后就将所有错过的题目都写到博客来.当然既然是我错的,那代码肯定不是我自己的.我会注明来源.并且我会自己敲一遍.多总结总是没坏处的. 另外比较糟糕的 ...
- 【Leetcode】Evaluate Reverse Polish Notation JAVA
一.问题描述 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators ...
随机推荐
- 解决python第三方插件下载慢的方法
在CMD中输入: pip install 插件名字 --trusted-host pypi.douban.com -i http://pypi.douban.com/simple 就是更换国内源
- 关于Linux的虚拟内存管理
在linux中可以通过free指令查看当前内存,在后面加-m参数能让数字单位显示为MB. 一般机器,有一个实际内存和一个虚拟内存. swap就是虚拟内存,这个虚拟内存可以是文件,也可以是磁盘分区.通常 ...
- merge 语法解析
merge into 支持sqlserver 2008 和以上的版本 无论是INSERT还是UPDATE,从执行之间上看,MERGE INTO(MERGE)都要比直接INSERT/UPDATE的效率高 ...
- Zabbix 添加脚本检测IP变化
监控环境 IP和HOSTNAME 有时会有变化.但目前是通过IP地址监控,不是DNS名,添加一个外部脚本,发现IP和HOSTNAME发生变化时告警. vim /usr/local/etc/zabbix ...
- shell二位数组——终端字符下降动画
猜想:Shell支持关联数组,可以利用关联数组模拟二维数组. [验证猜想] #!/bin/bash array[1,1]=1 array[2,1]=2 array[3,1]=3 for i in `s ...
- Maven 整合strut与Hibernate,获取不到Session
struts使用的是2.3.24 Hibernate使用的5.0.7 注意hebernate一定要在struts之前申明,不然容易出现500错误, <project xmlns="ht ...
- Maven实战1
屏上得来终觉浅,绝知此事要躬行 总结: p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px ".PingFang SC"; c ...
- Apache Spark 2.2.0 中文文档 - Submitting Applications | ApacheCN
Submitting Applications 在 script in Spark的 bin 目录中的spark-submit 脚本用与在集群上启动应用程序.它可以通过一个统一的接口使用所有 Spar ...
- [SDOI2009]HH的项链解题报告
原题目:洛谷P1972 题目描述 HH 有一串由各种漂亮的贝壳组成的项链.HH 相信不同的贝壳会带来好运,所以每次散步完后,他都会随意取出一段贝壳,思考它们所表达的含义.HH 不断地收集新的贝壳,因此 ...
- HSF服务的开发与使用
1.HSF服务的开发 1) 基于Maven创建一个web工程HSFService,如下图,其他的可以自定义. 2)创建好好在src/main目录下创建一个java目录,并将其设置为sources fo ...