leetcode-java
Java solutions for LeetCode
Environment
- Intellij IDEA 2021.2
- JDK 16.0.1
- Gradle 7.1
- Junit 5.7
ProblemList
# | Title | Difficulty | Link | Solution |
---|---|---|---|---|
1 | Two Sum | Easy | Link | Solution |
2 | Add Two Numbers | Medium | Link | Solution |
3 | Longest Substring Without Repeating Characters | Medium | Link | Solution |
11 | Container With Most Water | Medium | Link | Solution |
79 | Word Search | Medium | Link | Solution |
112 | Path Sum | Easy | Link | Solution |
121 | Best Time to Buy and Sell Stock | Easy | Link | Solution |
122 | Best Time to Buy and Sell Stock II | Easy | Link | Solution |
146 | LRU Cache | Medium | Link | Solution |
218 | The Skyline Problem | Hard | Link | Solution |
329 | Longest Increasing Path in a Matrix | Hard | Link | Solution |
581 | Shortest Unsorted Continuous Subarray | Medium | Link | Solution |
611 | Valid Triangle Number | Medium | Link | Solution |
743 | Network Delay Time | Medium | Link | Solution |
802 | Find Eventual Safe States | Medium | Link | Solution |
807 | Max Increase to Keep City Skyline | Medium | Link | Solution |
847 | Shortest Path Visiting All Nodes | Medium | Link | Solution |
1337 | The K Weakest Rows in a Matrix | Easy | Link | Solution |