0% found this document useful (0 votes)
140 views12 pages

DSA Important Questions - Topicwise (Aarchi Gandhi)

The document outlines a comprehensive list of important data structures and algorithms (DSA) questions categorized by topics such as Arrays, Bit Manipulation, and Trees, along with their respective LeetCode question numbers and difficulty levels. Each category includes a set of questions designed to enhance mastery in that specific area. Additionally, it provides links to the LeetCode problems for further practice and exploration.

Uploaded by

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

DSA Important Questions - Topicwise (Aarchi Gandhi)

The document outlines a comprehensive list of important data structures and algorithms (DSA) questions categorized by topics such as Arrays, Bit Manipulation, and Trees, along with their respective LeetCode question numbers and difficulty levels. Each category includes a set of questions designed to enhance mastery in that specific area. Additionally, it provides links to the LeetCode problems for further practice and exploration.

Uploaded by

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

DSA Important Questions - TopicWise Mastery Plan

Topic S.NoLeetCode Question Na LeetCode Qn No

Arrays

1 Contains Duplicate LeetCode 217 - Easy


2 Product of Array Except Self LeetCode 238 - Medi
3 Valid Anagram LeetCode 242 - Easy
4 Group Anagrams LeetCode 49 - Mediu
5 Top K Frequent Elements LeetCode 347 - Medi
6 Longest Consecutive SequenLeetCode 128 - Medi
7 Encode and Decode Strings LeetCode 271 - Hard
8 Valid Sudoku LeetCode 36 - Mediu

Bit Manipulation

1 Single Number LeetCode 136 - Easy


2 Reverse Bits LeetCode 190 - Easy
3 Number of 1 Bits LeetCode 191 - Easy
4 Counting Bits LeetCode 338 - Medi

Two Pointers

1 Container With Most Water LeetCode 11 - Mediu


2 Valid Palindrome LeetCode 125 - Easy
3 3Sum LeetCode 15 - Mediu
4 Trapping Rain Water LeetCode 42 - Hard
5 Two Sum II Input Array Is SorLeetCode 167 - Easy

Math

1 Rotate Image LeetCode 48 - Mediu


2 Spiral Matrix LeetCode 54 - Mediu
3 Set Matrix Zeroes LeetCode 73 - Mediu
4 Happy Number LeetCode 202 - Easy
5 Plus One LeetCode 66 - Easy
6 Pow(x, n) LeetCode 50 - Mediu
7 Multiply Strings LeetCode 43 - Mediu
8 Detect Squares LeetCode 1807 - Easy

Sliding Window

1 Minimum Window Substring LeetCode 76 - Hard


2 Sliding Window Maximum LeetCode 239 - Hard
3 Longest Substring Without RLeetCode 3 - Medium
4 Permutation In String LeetCode 567 - Medi
5 Longest Repeating CharacterLeetCode 424 - Medi

Stack

1 Min Stack LeetCode 155 - Easy


2 Generate Parentheses LeetCode 22 - Mediu
3 Daily Temperatures LeetCode 739 - Medi
4 Largest Rectangle In Histogr LeetCode 84 - Hard
5 Valid Parentheses LeetCode 20 - Easy
6 Car Fleet LeetCode 853 - Medi
7 Evaluate Reverse Polish NotaLeetCode 150 - Medi

Binary Search

1 Find Minimum In Rotated SorLeetCode 153 - Medi


2 Search a 2D Matrix LeetCode 74 - Mediu
3 Search In Rotated Sorted ArrLeetCode 33 - Mediu
4 Median of Two Sorted ArraysLeetCode 4 - Hard
5 Koko Eating Bananas LeetCode 875 - Medi
6 Time Based Key Value Store LeetCode 981 - Medi
7 Binary Search LeetCode 704 - Easy

Linked List

1 Reverse Linked List LeetCode 206 - Easy


2 Merge Two Sorted Lists LeetCode 21 - Easy
3 Add Two Numbers LeetCode 2 - Medium
4 Remove Nth Node From End L oeetCode 19 - Mediu
5 Copy List With Random PointLeetCode 138 - Medi
6 Find The Duplicate Number LeetCode 287 - Medi
7 Merge K Sorted Lists LeetCode 23 - Hard
8 LRU Cache LeetCode 146 - Medi
9 Reverse Nodes In K Group LeetCode 25 - Hard

Trees

1 Invert Binary Tree LeetCode 226 - Easy


2 Maximum Depth of Binary Tr LeetCode 104 - Easy
3 Same Tree LeetCode 100 - Easy
4 Balanced Binary Tree LeetCode 110 - Easy
5 Diameter of Binary Tree LeetCode 543 - Easy
6 Construct Binary Tree from PLeetCode 105 - Medi
7 Validate Binary Search Tree LeetCode 98 - Mediu
8 Binary Tree Maximum Path LeetCode 124 - Hard

Graphs

1 Number of Islands LeetCode 200 - Medi


2 Course Schedule LeetCode 207 - Medi
3 Pacific Atlantic Water Flow LeetCode 417 - Medi
4 Clone Graph LeetCode 133 - Medi
5 Surrounded Regions LeetCode 130 - Medi
6 Graph Valid Tree LeetCode 261 - Medi
7 Word Ladder LeetCode 127 - Hard
8 Alien Dictionary LeetCode 269 - Hard
9 Rotting Oranges LeetCode 994 - Medi
10 Reconstruct Itinerary LeetCode 332 - Hard
11 Min Cost to Connect All PoinLeetCode 1584 - Med
12 Swim in Rising Water LeetCode 778 - Hard
13 Network Delay Time LeetCode 743 - Medi
14 Cheapest Flights Within K St LeetCode 787 - Medi

DP
1 Coin Change LeetCode 322 - Medi
2 House Robber LeetCode 198 - Medi
3 Climbing Stairs LeetCode 70 - Easy
4 Longest Palindromic Substri LeetCode 5 - Hard
5 Word Break LeetCode 139 - Medi
6 Decode Ways LeetCode 91 - Mediu
7 Longest Increasing Subsequ LeetCode 300 - Medi
8 Edit Distance LeetCode 72 - Hard
9 Longest Common SubsequenLeetCode 1143 - Med
10 Unique Paths LeetCode 62 - Mediu
11 Best Time to Buy and Sell St LeetCode 309 - Medi
12 Regular Expression MatchingLeetCode 10 - Hard
13 Distinct Subsequences LeetCode 115 - Hard
14 Longest Increasing Path in a LeetCode 329 - Hard
15 Coin Change II LeetCode 518 - Medi
16 Interleaving String LeetCode 97 - Mediu
17 Burst Balloons LeetCode 312 - Hard

Greedy

1 Jump Game LeetCode 55 - Mediu


2 Gas Station LeetCode 134 - Medi
3 Hand of Straights LeetCode 846 - Medi
4 Partition Labels LeetCode 763 - Medi
5 Jump Game II LeetCode 45 - Hard
6 Merge Triplets to Form TargetLeetCode 2368 - Med
7 Maximum Subarray LeetCode 53 - Easy
8 Valid Parenthesis String LeetCode 1249 - Med

Intervals

1 Insert Interval LeetCode 57 - Mediu


2 Merge Intervals LeetCode 56 - Mediu
3 Meeting Rooms LeetCode 252 - Easy
4 Meeting Rooms II LeetCode 253 - Medi
5 Non Overlapping Intervals LeetCode 435 - Medi
6 Minimum Interval to Include LeetCode 1851 - Hard
Follow me across below social media handles :
Let's Co Profile URL

Instagra Aarchi Gandhi (@aarchigandhi) • Instagram profile


LinkedInAarchi Gandhi - ServiceNow | LinkedIn
X Aarchi Gandhi (@FafdaJalebie) / X
Topmatehttps://topmate.io/aarchigandhi
opicWise Mastery Plan

LeetCode Question Link Solved ?

https://leetcode.com/problems/contains-duplicate/
https://leetcode.com/problems/product-of-array-except-self/
https://leetcode.com/problems/valid-anagram/
https://leetcode.com/problems/group-anagrams/
https://leetcode.com/problems/top-k-frequent-elements/
https://leetcode.com/problems/longest-consecutive-sequence/
https://leetcode.com/problems/encode-and-decode-strings/
https://leetcode.com/problems/valid-sudoku/

https://leetcode.com/problems/single-number/
https://leetcode.com/problems/reverse-bits/
https://leetcode.com/problems/number-of-1-bits/
https://leetcode.com/problems/counting-bits/

https://leetcode.com/problems/container-with-most-water/
https://leetcode.com/problems/valid-palindrome/
https://leetcode.com/problems/3sum/
https://leetcode.com/problems/trapping-rain-water/
https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/

https://leetcode.com/problems/rotate-image/
https://leetcode.com/problems/spiral-matrix/
https://leetcode.com/problems/set-matrix-zeroes/
https://leetcode.com/problems/happy-number/
https://leetcode.com/problems/plus-one/
https://leetcode.com/problems/powx-n/
https://leetcode.com/problems/multiply-strings/
https://leetcode.com/problems/detect-squares/

https://leetcode.com/problems/minimum-window-substring/
https://leetcode.com/problems/sliding-window-maximum/
https://leetcode.com/problems/longest-substring-without-repeating-characters/
https://leetcode.com/problems/permutation-in-string/
https://leetcode.com/problems/longest-repeating-character-replacement/

https://leetcode.com/problems/min-stack/
https://leetcode.com/problems/generate-parentheses/
https://leetcode.com/problems/daily-temperatures/
https://leetcode.com/problems/largest-rectangle-in-histogram/
https://leetcode.com/problems/valid-parentheses/
https://leetcode.com/problems/car-fleet/
https://leetcode.com/problems/evaluate-reverse-polish-notation/

https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
https://leetcode.com/problems/search-a-2d-matrix/
https://leetcode.com/problems/search-in-rotated-sorted-array/
https://leetcode.com/problems/median-of-two-sorted-arrays/
https://leetcode.com/problems/koko-eating-bananas/
https://leetcode.com/problems/time-based-key-value-store/
https://leetcode.com/problems/binary-search/

https://leetcode.com/problems/reverse-linked-list/
https://leetcode.com/problems/merge-two-sorted-lists/
https://leetcode.com/problems/add-two-numbers/
https://leetcode.com/problems/remove-nth-node-from-end-of-list/
https://leetcode.com/problems/copy-list-with-random-pointer/
https://leetcode.com/problems/find-the-duplicate-number/
https://leetcode.com/problems/merge-k-sorted-lists/
https://leetcode.com/problems/lru-cache/
https://leetcode.com/problems/reverse-nodes-in-k-group/

https://leetcode.com/problems/invert-binary-tree/
https://leetcode.com/problems/maximum-depth-of-binary-tree/
https://leetcode.com/problems/same-tree/
https://leetcode.com/problems/balanced-binary-tree/
https://leetcode.com/problems/diameter-of-binary-tree/
https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
https://leetcode.com/problems/validate-binary-search-tree/
https://leetcode.com/problems/binary-tree-maximum-path-sum/

https://leetcode.com/problems/number-of-islands/
https://leetcode.com/problems/course-schedule/
https://leetcode.com/problems/pacific-atlantic-water-flow/
https://leetcode.com/problems/clone-graph/
https://leetcode.com/problems/surrounded-regions/
https://leetcode.com/problems/graph-valid-tree/
https://leetcode.com/problems/word-ladder/
https://leetcode.com/problems/alien-dictionary/
https://leetcode.com/problems/rotting-oranges/
https://leetcode.com/problems/reconstruct-itinerary/
https://leetcode.com/problems/min-cost-to-connect-all-points/
https://leetcode.com/problems/swim-in-rising-water/
https://leetcode.com/problems/network-delay-time/
https://leetcode.com/problems/cheapest-flights-within-k-stops/
https://leetcode.com/problems/coin-change/
https://leetcode.com/problems/house-robber/
https://leetcode.com/problems/climbing-stairs/
https://leetcode.com/problems/longest-palindromic-substring/
https://leetcode.com/problems/word-break/
https://leetcode.com/problems/decode-ways/
https://leetcode.com/problems/longest-increasing-subsequence/
https://leetcode.com/problems/edit-distance/
https://leetcode.com/problems/longest-common-subsequence/
https://leetcode.com/problems/unique-paths/
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/
https://leetcode.com/problems/regular-expression-matching/
https://leetcode.com/problems/distinct-subsequences/
https://leetcode.com/problems/longest-increasing-path-in-a-matrix/
https://leetcode.com/problems/coin-change-ii/
https://leetcode.com/problems/interleaving-string/
https://leetcode.com/problems/burst-balloons/

https://leetcode.com/problems/jump-game/
https://leetcode.com/problems/gas-station/
https://leetcode.com/problems/hand-of-straights/
https://leetcode.com/problems/partition-labels/
https://leetcode.com/problems/jump-game-ii/
https://leetcode.com/problems/merge-triplets-to-form-target-triplet/
https://leetcode.com/problems/maximum-subarray/
https://leetcode.com/problems/valid-parenthesis-string/

https://leetcode.com/problems/insert-interval/
https://leetcode.com/problems/merge-intervals/
https://leetcode.com/problems/meeting-rooms/
https://leetcode.com/problems/meeting-rooms-ii/
https://leetcode.com/problems/non-overlapping-intervals/
https://leetcode.com/problems/minimum-interval-to-include-each-query/
al media handles :
Notes
order-traversal/

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy