[go: up one dir, main page]

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

Master DS

DSA book

Uploaded by

vinaymedida1
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)
31 views6 pages

Master DS

DSA book

Uploaded by

vinaymedida1
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

MASTER DSA Patterns with this LIST

Question Solved / Not / Notes


Revisit
Contains Duplicate
Missing Number
Find All Numbers
Disappeared in an Array
Single Number
Climbing Stairs
Best Time to Buy and Sell
Stock
Range Sum Query -
Immutable
Counting Bits
Linked List Cycle
Middle of the Linked List
Reverse Linked List
Palindrome Linked List
Remove Linked List
Elements
Remove Duplicates from
Sorted List
Merge Two Sorted Lists
Meeting Rooms
Binary Search
Find Smallest Letter
Greater Than Target
Average of Levels in
Binary Tree
Minimum Depth of Binary
Tree
Same Tree
Path Sum
Maximum Depth of Binary
Tree
Diameter of Binary Tree
Merge Two Binary Trees
Subtree of Another Tree
Invert Binary Tree
Two Sum
Squares of a Sorted Array
Backspace String Compare

Follow Pratham Kohli for more useful content!


Index Pairs of a String
Majority Element
Convert 1D Array Into 2D
Array
Move Zeroes
Is Subsequence
Binary Tree Paths
Maximum Average
Subarray I
Product of Array Except
Self
Find the Duplicate Number
Find All Duplicates in an
Array
Set Matrix Zeroes
Spiral Matrix
Rotate Image
Word Search
Longest Consecutive
Sequence
Subsets
Subsets II
Permutations
Permutations II
Combinations
Combination Sum
Combination Sum II
Combination Sum III
Generate Parentheses
Target Sum
Palindrome Partitioning
Letter Combinations of a
Phone Number
Generalized Abbreviation
House Robber
Maximum Subarray
House Robber II
Coin Change
Maximum Product
Subarray
Longest Increasing
Subsequence
Longest Palindromic
Substring
Word Break

Follow Pratham Kohli for more useful content!


Decode Ways
Unique Paths
Jump Game
Palindromic Substrings
Number of Longest
Increasing Subsequence
Partition Equal Subset Sum
Partition to K Equal Sum
Subsets
Best Time to Buy and Sell
Stock with Cooldown
Linked List Cycle II
Add Two Numbers
Remove Nth Node From
End of List
Sort List
Reorder List
Clone Graph
Pacific Atlantic Water
Flow
Number of Islands
Graph Valid Tree
Number of Connected
Components in an
Undirected Graph
Reverse Linked List II
Rotate List
Swap Nodes in Pairs
Odd Even Linked List
Kth Smallest Element in a
Sorted Matrix
Find K Pairs with Smallest
Sums
Merge Intervals
Interval List Intersections
Non-overlapping Intervals
Meeting Rooms II
Task Scheduler
Minimum Number of
Arrows to Burst Balloons
Insert Interval
Peak Index in a Mountain
Array
Find Minimum in Rotated
Sorted Array

Follow Pratham Kohli for more useful content!


Find Peak Element
Search in Rotated Sorted
Array
Search in Rotated Sorted
Array II
Search a 2D Matrix
Search a 2D Matrix II
Find K Closest Elements
Minimum Size Subarray
Sum
Fruit Into Baskets
Permutation in String
Longest Repeating
Character Replacement
Longest Substring Without
Repeating Characters
Kth Smallest Element in a
BST
K Closest Points to Origin
Top K Frequent Elements
Sort Characters By
Frequency
Kth Largest Element in an
Array
Reorganize String
Course Schedule
Course Schedule II
Minimum Height Trees
Sequence Reconstruction

Binary Tree Level Order


Traversal II
Binary Tree Level Order
Traversal
Binary Tree Zigzag Level
Order Traversal
Populating Next Right
Pointers in Each Node
Populating Next Right
Pointers in Each Node II
Binary Tree Right Side
View
All Nodes Distance K in
Binary Tree
Lowest Common Ancestor

Follow Pratham Kohli for more useful content!


of a Binary Search Tree
Path Sum II
Path Sum III
Lowest Common Ancestor
of a Binary Tree
Maximum Binary Tree
Maximum Width of Binary
Tree
Construct Binary Tree
from Preorder and Inorder
Traversal
Validate Binary Search
Tree
Implement Trie (Prefix
Tree)
3Sum
3Sum Closest
Subarray Product Less
Than K
Sort Colors
Container With Most
Water
Longest Word in
Dictionary
Maximum XOR of Two
Numbers in an Array
Factor Combinations
Split a String Into the Max
Number of Unique
Substrings
Maximum Number of
Vowels in a Substring of
Given Length
Max Consecutive Ones III
Longest Subarray of 1's
After Deleting One
Element
First Missing Positive
Sudoku Solver
N-Queens
Reverse Nodes in k-Group
Merge k Sorted Lists
Smallest Range Covering
Elements from K Lists
Employee Free Time

Follow Pratham Kohli for more useful content!


Count of Range Sum
Sliding Window Maximum
Minimum Number of K
Consecutive Bit Flips
Count Unique Characters
of All Substrings of a
Given String
Minimum Window
Substring
Substring with
Concatenation of All
Words
Rearrange String k
Distance Apart
Course Schedule III
Maximum Frequency
Stack
Alien Dictionary
Binary Tree Maximum
Path Sum
Serialize and Deserialize
Binary Tree
Word Search II
Find Median from Data
Stream
Sliding Window Median
Trapping Rain Water
Concatenated Words
Prefix and Suffix Search
Palindrome Pairs
Design Search
Autocomplete System
Word Squares
Sort Items by Groups
Respecting Dependencies
Median of Two Sorted
Arrays

Follow Pratham Kohli for more useful content!

You might also like