Skip to content

ylqi007/LeetCode

Repository files navigation

LeetCode

关于格式的说明

  1. 题目都以四位数字开头,以便文件可以按照题目的顺序排列,比如0001.Two_Sum.md

1. LC Log

Log

2. Data Structure专题

  • Array -- TODO
  • Tree
  • Stack & Queue
  • Array(fixed), Dynamic array
  • Linked List
  • TreeSet/TreeMap (ordered)
  • HashSet/HashMap(unordered)
  • Heap/PriorityQueue
  • Deque/Queue/Stack
  • Pair/Tuple
  • Customized data structure
  • String
  • Heap
  • Graph
  • Trie

3. Algorithm专题

4. Company

5. 经典题目系列

✅ 1.Basic Calculators

  1. CNoodle [LeetCode] 224. Basic Calculator
  2. CNoodle [LeetCode] 227. Basic Calculator II
  3. CNoodle [LeetCode] 772. Basic Calculator III
  4. Java - Common template for Basic Calculator I, II, and III using Stack

2. Range Sum Query

  1. 303. Range Sum Query - Immutable
  2. 307. Range Sum Query - Mutable
  3. 304.Range Sum Query 2D - Immutable
  4. 308. Range Sum Query 2D - Mutable

3. K-th Smallest/Largest Element

4. Word Search

5. Trie 字典树

6. Sliding Window

  • 248 Count Number of Nice Subarrays
  • 234 Replace the Substring for Balanced String
  • 004 Max Consecutive Ones III
  • 930 Binary Subarrays With Sum
  • 992 Subarrays with K Different Integers
  • 904 Fruit Into Baskets
  • 862 Shortest Subarray with Sum at Least K
  • 209 Minimum Size Subarray Sum
  • 76 Minimum Window Substring

7. Balanced Search Tree

8. Word Break

9. Serialize and Deserialize

10. Lowest Common Ancestor

✅ 要掌握的Java Core API

Templates

  1. Basic Calculators
  2. Next Greater Element
  3. Trapping Rain Water (Stack, LC 42,84,85)
  4. Lowest Common Ancestor

代码规范

Others

有用信息

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages