The document lists various coding problems categorized by their respective topics, including Array, Binary, Dynamic Programming, Graph, Interval, Linked List, Matrix, String, Tree, and Heap. Each category contains multiple problems along with their corresponding links on LeetCode. This serves as a resource for individuals looking to practice and improve their coding skills across different data structures and algorithms.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
3 views
Imp leetcode questions
The document lists various coding problems categorized by their respective topics, including Array, Binary, Dynamic Programming, Graph, Interval, Linked List, Matrix, String, Tree, and Heap. Each category contains multiple problems along with their corresponding links on LeetCode. This serves as a resource for individuals looking to practice and improve their coding skills across different data structures and algorithms.
- Reverse a Linked List - https://leetcode.com/problems/reverse-linked-list/
- Detect Cycle in a Linked List - https://leetcode.com/problems/linked-list-cycle/ - Merge Two Sorted Lists - https://leetcode.com/problems/merge-two-sorted-lists/ - Merge K Sorted Lists - https://leetcode.com/problems/merge-k-sorted-lists/ - Remove Nth Node From End Of List - https://leetcode.com/problems/remove-nth-node- from-end-of-list/ - Reorder List - https://leetcode.com/problems/reorder-list/
---
Matrix
- Set Matrix Zeroes - https://leetcode.com/problems/set-matrix-zeroes/
- Maximum Depth of Binary Tree - https://leetcode.com/problems/maximum-depth-of-binary-
tree/ - Same Tree - https://leetcode.com/problems/same-tree/ - Invert/Flip Binary Tree - https://leetcode.com/problems/invert-binary-tree/ - Binary Tree Maximum Path Sum - https://leetcode.com/problems/binary-tree-maximum- path-sum/ - Binary Tree Level Order Traversal - https://leetcode.com/problems/binary-tree-level-order- traversal/ - Serialize and Deserialize Binary Tree - https://leetcode.com/problems/serialize-and- deserialize-binary-tree/ - Subtree of Another Tree - https://leetcode.com/problems/subtree-of-another-tree/ - Construct Binary Tree from Preorder and Inorder Traversal - https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/ - Validate Binary Search Tree - https://leetcode.com/problems/validate-binary-search-tree/ - Kth Smallest Element in a BST - https://leetcode.com/problems/kth-smallest-element-in-a- bst/ - Lowest Common Ancestor of BST - https://leetcode.com/problems/lowest-common- ancestor-of-a-binary-search-tree/ - Implement Trie (Prefix Tree) - https://leetcode.com/problems/implement-trie-prefix-tree/ - Add and Search Word - https://leetcode.com/problems/add-and-search-word-data- structure-design/ - Word Search II - https://leetcode.com/problems/word-search-ii/
---
Heap
- Merge K Sorted Lists - https://leetcode.com/problems/merge-k-sorted-lists/
- Top K Frequent Elements - https://leetcode.com/problems/top-k-frequent-elements/ - Find Median from Data Stream - https://leetcode.com/problems/find-median-from-data- stream/