date
Jul 10, 2024
slug
leetcode-ez
status
Published
tags
Backend
summary
Các bài luyện tập leetcode ez
type
Post
2.1. Arrays & Hashing
Đây là dạng dễ nhất trong lộ trình này, nhưng cũng là nền tảng để học các phần sau, các bạn nên luyện tập kĩ.
Một số dạng bài easy:
- Contains Duplicate: https://leetcode.com/problems/contains-duplicate/
- Valid Anagram: https://leetcode.com/problems/valid-anagram/
Một số dạng bài ở mức Medium:
- Group Anagrams: https://leetcode.com/problems/group-anagrams/
- Top K Frequent Elements : https://leetcode.com/problems/top-k-frequent-elements/
- Encode and Decode Strings: https://leetcode.com/problems/encode-and-decode-strings/
- Product of Array Except Self: https://leetcode.com/problems/product-of-array-except-self/
- Valid Sudoku: https://leetcode.com/problems/valid-sudoku/
- Longest Consecutive Sequence: https://leetcode.com/problems/longest-consecutive-sequence/
2.2. Two Pointers
Độ khó easy:
- Valid Palindrome: https://leetcode.com/problems/valid-palindrome/
Độ khó medium
- Two Sum II Input Array Is Sorted: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
2.3. Stack
Độ khó easy:
- Valid Parentheses: https://leetcode.com/problems/valid-parentheses/
Độ khó medium
- Min Stack : https://leetcode.com/problems/min-stack/
- Evaluate Reverse Polish Notation: https://leetcode.com/problems/evaluate-reverse-polish-notation/
- Generate Parentheses: https://leetcode.com/problems/generate-parentheses/
- Daily Temperatures: https://leetcode.com/problems/daily-temperatures/
- Car Fleet: https://leetcode.com/problems/car-fleet/
2.4. Binary Search
Độ khó easy:
- Binary Search:https://leetcode.com/problems/binary-search/
Độ khó medium
- Search a 2D Matrix; https://leetcode.com/problems/search-a-2d-matrix/
- Koko Eating Bananas: https://leetcode.com/problems/koko-eating-bananas/
- Find Minimum In Rotated Sorted Array: https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
- Search In Rotated Sorted Array: https://leetcode.com/problems/search-in-rotated-sorted-array/
- Time Based Key Value Store: https://leetcode.com/problems/time-based-key-value-store/
2.5. Linked List
Độ khó easy:
- Reverse Linked List : https://leetcode.com/problems/reverse-linked-list/
- Linked List Cycle: https://leetcode.com/problems/linked-list-cycle/
- Merge Two Sorted Lists: https://leetcode.com/problems/merge-two-sorted-lists/
Độ khó medium
- Reorder List: https://leetcode.com/problems/reorder-list/
- Remove Nth Node From End of List: https://leetcode.com/problems/remove-nth-node-from-end-of-list/
- Copy List With Random Pointer: https://leetcode.com/problems/copy-list-with-random-pointer/
- Add Two Numbers: https://leetcode.com/problems/add-two-numbers/