0% found this document useful (0 votes)
394 views6 pages

Easy Medium Hard: Array

The document lists common data structures and algorithms categorized by difficulty and topic. It provides links to problems for each on LeetCode, including arrays, trees, binary, dynamic programming, graphs, intervals, linked lists, matrices, strings, and heaps. Over 100 problems in total are referenced from across these fundamental CS concepts.

Uploaded by

Chinni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
394 views6 pages

Easy Medium Hard: Array

The document lists common data structures and algorithms categorized by difficulty and topic. It provides links to problems for each on LeetCode, including arrays, trees, binary, dynamic programming, graphs, intervals, linked lists, matrices, strings, and heaps. Over 100 problems in total are referenced from across these fundamental CS concepts.

Uploaded by

Chinni
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Easy Medium Hard

Array

1. Two Sum - https://leetcode.com/problems/two-sum/


2. Best Time to Buy and Sell Stock
- https://leetcode.com/problems/best-time-to-buy-and-sell-
stock/
3. Contains Duplicate - https://leetcode.com/problems/contains-
duplicate/
4. Product of Array Except Self
- https://leetcode.com/problems/product-of-array-except-self/
5. Maximum Subarray - https://leetcode.com/problems/maximum-
subarray/
6. Maximum Product Subarray
- https://leetcode.com/problems/maximum-product-subarray/
7. Find Minimum in Rotated Sorted Array
- https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
8. Search in Rotated Sorted Array - https://leetcode.com/problems/search-
in-rotated-sorted-array/
9. 3Sum - https://leetcode.com/problems/3sum/
10. Container With Most Water - https://leetcode.com/problems/container-
with-most-water/

---
Tree

1. Maximum Depth of Binary Tree


- https://leetcode.com/problems/maximum-depth-of-binary-
tree/
2. Same Tree - https://leetcode.com/problems/same-tree/
3. Invert/Flip Binary Tree
- https://leetcode.com/problems/invert-binary-tree/
4. Binary Tree Maximum Path Sum
- https://leetcode.com/problems/binary-tree-maximum-path-
sum/
5. Binary Tree Level Order Traversal
- https://leetcode.com/problems/binary-tree-level-order-
traversal/
6. Serialize and Deserialize Binary Tree
- https://leetcode.com/problems/serialize-and-deserialize-
binary-tree/
7. Subtree of Another Tree
- https://leetcode.com/problems/subtree-of-another-tree/
8. Construct Binary Tree from Preorder and Inorder Traversal
- https://leetcode.com/problems/construct-binary-tree-from-
preorder-and-inorder-traversal/
9. Validate Binary Search Tree
- https://leetcode.com/problems/validate-binary-search-tree/
10. Kth Smallest Element in a BST
- https://leetcode.com/problems/kth-smallest-element-in-a-bst/
11. Lowest Common Ancestor of BST
- https://leetcode.com/problems/lowest-common-ancestor-of-a-
binary-search-tree/
12. Implement Trie (Prefix Tree)
- https://leetcode.com/problems/implement-trie-prefix-tree/
13. Add and Search Word - https://leetcode.com/problems/add-
and-search-word-data-structure-design/
14. Word Search II - https://leetcode.com/problems/word-
search-ii/

---

Binary

1. Sum of Two Integers - https://leetcode.com/problems/sum-of-two-


integers/
2. Number of 1 Bits - https://leetcode.com/problems/number-of-1-bits/
3. Counting Bits - https://leetcode.com/problems/counting-bits/
4. Missing Number - https://leetcode.com/problems/missing-number/
5. Reverse Bits - https://leetcode.com/problems/reverse-bits/

---

Dynamic Programming

1. Climbing Stairs - https://leetcode.com/problems/climbing-stairs/


2. Coin Change - https://leetcode.com/problems/coin-change/
3. Longest Increasing Subsequence
- https://leetcode.com/problems/longest-increasing-subsequence/
4. Longest Common Subsequence -
https://leetcode.com/problems/longest-common-subsequence/
5. Word Break Problem - https://leetcode.com/problems/word-break/
6. Combination Sum - https://leetcode.com/problems/combination-sum-iv/
7. House Robber - https://leetcode.com/problems/house-robber/
8. House Robber II - https://leetcode.com/problems/house-robber-ii/
9. Decode Ways - https://leetcode.com/problems/decode-ways/
10. Unique Paths - https://leetcode.com/problems/unique-paths/
11. Jump Game - https://leetcode.com/problems/jump-game/

---

Graph

1. Clone Graph - https://leetcode.com/problems/clone-graph/


2. Course Schedule - https://leetcode.com/problems/course-
schedule/
3. Pacific Atlantic Water Flow
- https://leetcode.com/problems/pacific-atlantic-water-flow/
4. Number of Islands - https://leetcode.com/problems/number-
of-islands/
5. Longest Consecutive Sequence - https://leetcode.com/problems/longest-
consecutive-sequence/
6. Alien Dictionary (Leetcode Premium)
- https://leetcode.com/problems/alien-dictionary/
7. Graph Valid Tree (Leetcode Premium)
- https://leetcode.com/problems/graph-valid-tree/
8. Number of Connected Components in an Undirected Graph
(Leetcode Premium) - https://leetcode.com/problems/number-
of-connected-components-in-an-undirected-graph/

---

Interval

1. Insert Interval - https://leetcode.com/problems/insert-interval/


2. Merge Intervals - https://leetcode.com/problems/merge-
intervals/
3. Non-overlapping Intervals - https://leetcode.com/problems/non-
overlapping-intervals/
4. Meeting Rooms (Leetcode Premium)
- https://leetcode.com/problems/meeting-rooms/
5. Meeting Rooms II (Leetcode Premium)
- https://leetcode.com/problems/meeting-rooms-ii/

---

Linked List

1. Reverse a Linked List - https://leetcode.com/problems/reverse-linked-list/


2. Detect Cycle in a Linked List - https://leetcode.com/problems/linked-list-
cycle/
3. Merge Two Sorted Lists - https://leetcode.com/problems/merge-two-
sorted-lists/
4. Merge K Sorted Lists - https://leetcode.com/problems/merge-
k-sorted-lists/
5. Remove Nth Node From End Of List
- https://leetcode.com/problems/remove-nth-node-from-end-of-list/
6. Reorder List - https://leetcode.com/problems/reorder-list/

---

Matrix

1. Set Matrix Zeroes - https://leetcode.com/problems/set-matrix-zeroes/


2. Spiral Matrix - https://leetcode.com/problems/spiral-matrix/
3. Rotate Image - https://leetcode.com/problems/rotate-image/
4. Word Search - https://leetcode.com/problems/word-search/

---

String

1. Longest Substring Without Repeating Characters


- https://leetcode.com/problems/longest-substring-without-
repeating-characters/
2. Longest Repeating Character Replacement
- https://leetcode.com/problems/longest-repeating-character-
replacement/
3. Minimum Window Substring
- https://leetcode.com/problems/minimum-window-substring/
4. Valid Anagram - https://leetcode.com/problems/valid-
anagram/
5. Group Anagrams - https://leetcode.com/problems/group-
anagrams/
6. Valid Parentheses - https://leetcode.com/problems/valid-
parentheses/
7. Valid Palindrome - https://leetcode.com/problems/valid-
palindrome/
8. Longest Palindromic Substring
- https://leetcode.com/problems/longest-palindromic-substring/
9. Palindromic Substrings
- https://leetcode.com/problems/palindromic-substrings/
10. Encode and Decode Strings (Leetcode Premium)
- https://leetcode.com/problems/encode-and-decode-strings/

---

Heap

1. Merge K Sorted Lists - https://leetcode.com/problems/merge-


k-sorted-lists/
2. Top K Frequent Elements - https://leetcode.com/problems/top-k-
frequent-elements/
3. Find Median from Data Stream - https://leetcode.com/problems/find-
median-from-data-stream/

You might also like