0% found this document useful (0 votes)
443 views2 pages

DSA Important Questions - Topicwise (Aarchi Gandhi) - DSA Important Questions - TopicWise

Uploaded by

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

DSA Important Questions - Topicwise (Aarchi Gandhi) - DSA Important Questions - TopicWise

Uploaded by

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

DSA Important Questions - TopicWise Mastery Plan

Topic S.NoLeetCode Question NameLeetCode Qn No LeetCode Question Link Solved ? Notes

Arrays

1 Contains Duplicate LeetCode 217 - Easy https://leetcode.com/problems/contains-duplicate/


2 Product of Array Except Self LeetCode 238 - Medium https://leetcode.com/problems/product-of-array-except-self/
3 Valid Anagram LeetCode 242 - Easy https://leetcode.com/problems/valid-anagram/
4 Group Anagrams LeetCode 49 - Medium https://leetcode.com/problems/group-anagrams/
5 Top K Frequent Elements LeetCode 347 - Medium https://leetcode.com/problems/top-k-frequent-elements/
6 Longest Consecutive Sequence LeetCode 128 - Medium https://leetcode.com/problems/longest-consecutive-sequence/
7 Encode and Decode Strings LeetCode 271 - Hard https://leetcode.com/problems/encode-and-decode-strings/
8 Valid Sudoku LeetCode 36 - Medium https://leetcode.com/problems/valid-sudoku/

Bit Manipulation

1 Single Number LeetCode 136 - Easy https://leetcode.com/problems/single-number/


2 Reverse Bits LeetCode 190 - Easy https://leetcode.com/problems/reverse-bits/
3 Number of 1 Bits LeetCode 191 - Easy https://leetcode.com/problems/number-of-1-bits/
4 Counting Bits LeetCode 338 - Medium https://leetcode.com/problems/counting-bits/

Two Pointers

1 Container With Most Water LeetCode 11 - Medium https://leetcode.com/problems/container-with-most-water/


2 Valid Palindrome LeetCode 125 - Easy https://leetcode.com/problems/valid-palindrome/
3 3Sum LeetCode 15 - Medium https://leetcode.com/problems/3sum/
4 Trapping Rain Water LeetCode 42 - Hard https://leetcode.com/problems/trapping-rain-water/
5 Two Sum II Input Array Is Sorted LeetCode 167 - Easy https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/

Math

1 Rotate Image LeetCode 48 - Medium https://leetcode.com/problems/rotate-image/


2 Spiral Matrix LeetCode 54 - Medium https://leetcode.com/problems/spiral-matrix/
3 Set Matrix Zeroes LeetCode 73 - Medium https://leetcode.com/problems/set-matrix-zeroes/
4 Happy Number LeetCode 202 - Easy https://leetcode.com/problems/happy-number/
5 Plus One LeetCode 66 - Easy https://leetcode.com/problems/plus-one/
6 Pow(x, n) LeetCode 50 - Medium https://leetcode.com/problems/powx-n/
7 Multiply Strings LeetCode 43 - Medium https://leetcode.com/problems/multiply-strings/
8 Detect Squares LeetCode 1807 - Easy https://leetcode.com/problems/detect-squares/

Sliding Window

1 Minimum Window Substring LeetCode 76 - Hard https://leetcode.com/problems/minimum-window-substring/


2 Sliding Window Maximum LeetCode 239 - Hard https://leetcode.com/problems/sliding-window-maximum/
3 Longest Substring Without Repeating
LeetCode
Characters
3 - Medium https://leetcode.com/problems/longest-substring-without-repeating-characters/
4 Permutation In String LeetCode 567 - Medium https://leetcode.com/problems/permutation-in-string/
5 Longest Repeating Character Replacement
LeetCode 424 - Medium https://leetcode.com/problems/longest-repeating-character-replacement/

Stack

1 Min Stack LeetCode 155 - Easy https://leetcode.com/problems/min-stack/


2 Generate Parentheses LeetCode 22 - Medium https://leetcode.com/problems/generate-parentheses/
3 Daily Temperatures LeetCode 739 - Medium https://leetcode.com/problems/daily-temperatures/
4 Largest Rectangle In Histogram LeetCode 84 - Hard https://leetcode.com/problems/largest-rectangle-in-histogram/
5 Valid Parentheses LeetCode 20 - Easy https://leetcode.com/problems/valid-parentheses/
6 Car Fleet LeetCode 853 - Medium https://leetcode.com/problems/car-fleet/
7 Evaluate Reverse Polish Notation LeetCode 150 - Medium https://leetcode.com/problems/evaluate-reverse-polish-notation/

Binary Search

1 Find Minimum In Rotated Sorted Array


LeetCode 153 - Medium https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
2 Search a 2D Matrix LeetCode 74 - Medium https://leetcode.com/problems/search-a-2d-matrix/
3 Search In Rotated Sorted Array LeetCode 33 - Medium https://leetcode.com/problems/search-in-rotated-sorted-array/
4 Median of Two Sorted Arrays LeetCode 4 - Hard https://leetcode.com/problems/median-of-two-sorted-arrays/
5 Koko Eating Bananas LeetCode 875 - Medium https://leetcode.com/problems/koko-eating-bananas/
6 Time Based Key Value Store LeetCode 981 - Medium https://leetcode.com/problems/time-based-key-value-store/
7 Binary Search LeetCode 704 - Easy https://leetcode.com/problems/binary-search/

Linked List

1 Reverse Linked List LeetCode 206 - Easy https://leetcode.com/problems/reverse-linked-list/


2 Merge Two Sorted Lists LeetCode 21 - Easy https://leetcode.com/problems/merge-two-sorted-lists/
3 Add Two Numbers LeetCode 2 - Medium https://leetcode.com/problems/add-two-numbers/
4 Remove Nth Node From End of ListLeetCode 19 - Medium https://leetcode.com/problems/remove-nth-node-from-end-of-list/
5 Copy List With Random Pointer LeetCode 138 - Medium https://leetcode.com/problems/copy-list-with-random-pointer/
6 Find The Duplicate Number LeetCode 287 - Medium https://leetcode.com/problems/find-the-duplicate-number/
7 Merge K Sorted Lists LeetCode 23 - Hard https://leetcode.com/problems/merge-k-sorted-lists/
8 LRU Cache LeetCode 146 - Medium https://leetcode.com/problems/lru-cache/
9 Reverse Nodes In K Group LeetCode 25 - Hard https://leetcode.com/problems/reverse-nodes-in-k-group/

Trees

1 Invert Binary Tree LeetCode 226 - Easy https://leetcode.com/problems/invert-binary-tree/


2 Maximum Depth of Binary Tree LeetCode 104 - Easy https://leetcode.com/problems/maximum-depth-of-binary-tree/
3 Same Tree LeetCode 100 - Easy https://leetcode.com/problems/same-tree/
4 Balanced Binary Tree LeetCode 110 - Easy https://leetcode.com/problems/balanced-binary-tree/
5 Diameter of Binary Tree LeetCode 543 - Easy https://leetcode.com/problems/diameter-of-binary-tree/
6 Construct Binary Tree from Preorder
LeetCode
and Inorder
105 Traversal
- Medium https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
7 Validate Binary Search Tree LeetCode 98 - Medium https://leetcode.com/problems/validate-binary-search-tree/
8 Binary Tree Maximum Path Sum LeetCode 124 - Hard https://leetcode.com/problems/binary-tree-maximum-path-sum/

Graphs

1 Number of Islands LeetCode 200 - Medium https://leetcode.com/problems/number-of-islands/


2 Course Schedule LeetCode 207 - Medium https://leetcode.com/problems/course-schedule/
3 Pacific Atlantic Water Flow LeetCode 417 - Medium https://leetcode.com/problems/pacific-atlantic-water-flow/
4 Clone Graph LeetCode 133 - Medium https://leetcode.com/problems/clone-graph/
5 Surrounded Regions LeetCode 130 - Medium https://leetcode.com/problems/surrounded-regions/
6 Graph Valid Tree LeetCode 261 - Medium https://leetcode.com/problems/graph-valid-tree/
7 Word Ladder LeetCode 127 - Hard https://leetcode.com/problems/word-ladder/
8 Alien Dictionary LeetCode 269 - Hard https://leetcode.com/problems/alien-dictionary/
9 Rotting Oranges LeetCode 994 - Medium https://leetcode.com/problems/rotting-oranges/
10 Reconstruct Itinerary LeetCode 332 - Hard https://leetcode.com/problems/reconstruct-itinerary/
11 Min Cost to Connect All Points LeetCode 1584 - Medium https://leetcode.com/problems/min-cost-to-connect-all-points/
12 Swim in Rising Water LeetCode 778 - Hard https://leetcode.com/problems/swim-in-rising-water/
13 Network Delay Time LeetCode 743 - Medium https://leetcode.com/problems/network-delay-time/
14 Cheapest Flights Within K Stops LeetCode 787 - Medium https://leetcode.com/problems/cheapest-flights-within-k-stops/

DP

1 Coin Change LeetCode 322 - Medium https://leetcode.com/problems/coin-change/


2 House Robber LeetCode 198 - Medium https://leetcode.com/problems/house-robber/
3 Climbing Stairs LeetCode 70 - Easy https://leetcode.com/problems/climbing-stairs/
4 Longest Palindromic Substring LeetCode 5 - Hard https://leetcode.com/problems/longest-palindromic-substring/
5 Word Break LeetCode 139 - Medium https://leetcode.com/problems/word-break/
6 Decode Ways LeetCode 91 - Medium https://leetcode.com/problems/decode-ways/
7 Longest Increasing Subsequence LeetCode 300 - Medium https://leetcode.com/problems/longest-increasing-subsequence/
8 Edit Distance LeetCode 72 - Hard https://leetcode.com/problems/edit-distance/
9 Longest Common Subsequence LeetCode 1143 - Medium https://leetcode.com/problems/longest-common-subsequence/
10 Unique Paths LeetCode 62 - Medium https://leetcode.com/problems/unique-paths/
11 Best Time to Buy and Sell Stock with
LeetCode
Cooldown
309 - Medium https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
12 Regular Expression Matching LeetCode 10 - Hard https://leetcode.com/problems/regular-expression-matching/
13 Distinct Subsequences LeetCode 115 - Hard https://leetcode.com/problems/distinct-subsequences/
14 Longest Increasing Path in a MatrixLeetCode 329 - Hard https://leetcode.com/problems/longest-increasing-path-in-a-matrix/
15 Coin Change II LeetCode 518 - Medium https://leetcode.com/problems/coin-change-ii/
16 Interleaving String LeetCode 97 - Medium https://leetcode.com/problems/interleaving-string/
17 Burst Balloons LeetCode 312 - Hard https://leetcode.com/problems/burst-balloons/

Greedy

1 Jump Game LeetCode 55 - Medium https://leetcode.com/problems/jump-game/


2 Gas Station LeetCode 134 - Medium https://leetcode.com/problems/gas-station/
3 Hand of Straights LeetCode 846 - Medium https://leetcode.com/problems/hand-of-straights/
4 Partition Labels LeetCode 763 - Medium https://leetcode.com/problems/partition-labels/
5 Jump Game II LeetCode 45 - Hard https://leetcode.com/problems/jump-game-ii/
6 Merge Triplets to Form Target TripletLeetCode 2368 - Medium https://leetcode.com/problems/merge-triplets-to-form-target-triplet/
7 Maximum Subarray LeetCode 53 - Easy https://leetcode.com/problems/maximum-subarray/
8 Valid Parenthesis String LeetCode 1249 - Medium https://leetcode.com/problems/valid-parenthesis-string/

Intervals

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


2 Merge Intervals LeetCode 56 - Medium https://leetcode.com/problems/merge-intervals/
3 Meeting Rooms LeetCode 252 - Easy https://leetcode.com/problems/meeting-rooms/
4 Meeting Rooms II LeetCode 253 - Medium https://leetcode.com/problems/meeting-rooms-ii/
5 Non Overlapping Intervals LeetCode 435 - Medium https://leetcode.com/problems/non-overlapping-intervals/
6 Minimum Interval to Include Each Query
LeetCode 1851 - Hard https://leetcode.com/problems/minimum-interval-to-include-each-query/

Follow me across below social media handles :


Let's Connect
Profile URL

Instagram Aarchi Gandhi (@aarchigandhi) • Instagram profile


LinkedIn Aarchi Gandhi - ServiceNow | LinkedIn
X Aarchi Gandhi (@FafdaJalebie) / X
Topmate https://topmate.io/aarchigandhi

You might also like