Problem Name
Score
Accuracy
Difficulty
Company
arrays
- Cumulative Sum3067%easy
- Positive Cumulative Sum3057%easy
- Identical Twins3075%easy
- Even Number of Digits3036%easy
- Implement Insertion Sort3078%easy
- Merge Two Sorted Arrays3058%easy
+2
- Merge Sorted Subarrays3055%easy
- Implement Merge Sort3067%easy
+4
- Implement Quicksort3061%easy
+9
- Square sorted array3077%easy
- Max Consecutive Ones3072%easy
- Arithmetic Sequence3073%easy
- Largest Contiguous Sum3037%easy
+11
- Pascal’s Triangle3061%easy
- Row Column Zero5060%medium
- Matrix Rotation5059%medium
+2
- Primes upto N5058%medium
- Merge Overlapping Intervals5046%medium
- Kth Largest Element5067%medium
- Next Greater Permutation8058%hard
- Inversion Count5062%medium
Page
two pointers
Problem Name
Score
Accuracy
Difficulty
Company
- Remove occurences3070%easy
- Two Sum Sorted3056%easy
- Merge Two Sorted Arrays3058%easy
+2
- K-Subarray Sum3064%easy
- Unique Elements in Sorted Array3078%easy
- Three Sum5022%medium
- k-diff pairs5020%medium
- Kth element of two sorted lists5068%medium
- Sorted Arrays Intersection3066%easy
- Dutch National Flag5057%medium
- Trapping Rain Water8067%hard
- Maximum K-Subarray Sum3069%easy
- k-Substring Vowels5064%medium
- Maximum k-Substring Vowels5069%medium
Stacks & Queues
Problem Name
Score
Accuracy
Difficulty
Company
- Implement Stack using Array3068%easy
- Implement Stack using Linked List3079%easy
- Implement Queue using Array3072%easy
- Implement Queue using Linked List3080%easy
- Implement Queue using Stacks3075%easy
+7
- Implement Stack using Queues3079%easy
+4
- Balanced Parentheses3060%easy
- Implement Min Stack3042%easy
- Evaluate Reverse Polish Notation5081%medium
- Next Greater Element5065%medium
- Simplify Directory Path5044%medium
- Rotting Apples5055%medium
- Trapping Rain Water8067%hard
- Sliding Window Maximum8050%hard
- Largest Rectangle in Histogram8062%hard
backtracking
Problem Name
Score
Accuracy
Difficulty
Company
- Rat In A Maze5064%medium
- Subsets5077%medium
- Subsets – II5049%medium
- Subset Sum5054%medium
- Combination Sum 15068%medium
- Combination Sum 25057%medium
- Combinations5068%medium
- Tug of War5054%medium
- String Permutations5062%medium
+2
- Letter Combinations of a Phone Number5083%medium
- Generate Parentheses5070%medium
- Restore IP Addresses5074%medium
- Palindrome Partitioning5082%medium
- Consecutively Descending Integers5056%medium
- Word Break5064%medium
+3
- N Queens Problem8069%hard
- Sudoku Solver8083%hard
- Kth Permutation Sequence8051%hard
BST, Heaps & Map
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Search in a Binary Search Tree (BST)3087%easy
- Insert into a Binary Search Tree (BST)5090%medium
- Inorder Successor of Node in BST5072%medium
- Inorder Predecessor of Node in BST5075%medium
- Delete Node in a Binary Search Tree (BST)5058%medium
- Lowest Common Ancestor in BST3073%easy
- Two Sum in BST3063%easy
- Is Binary Tree BST5067%medium
+3
- Kth Largest in BST5087%medium
- Kth Smallest in BST5089%medium
- Binary Search Tree (BST) Iterator5093%medium
- Serialize and Deserialize Binary Search Tree (BST)5063%medium
- Size of the Largest BST in a Binary Tree8063%hard
- Kth Largest Element From Data Stream8057%hard
- Median From Data Stream8051%hard
- Merge K Sorted Arrays8086%hard
- Sort Almost Sorted Array8089%hard
Page
of 1
Dynamic Programming
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Climbing Stairs3057%easy
- Longest Increasing Subsequence (LIS)5070%medium
- Longest Common Subsequence (LCS)5052%medium
- Maximum Sum Increasing Subsequence5063%medium
- Longest Palindromic Substring (LPS)5055%medium
+7
- Edit Distance (Levenshtein Distance)5065%medium
- Collect Jewels5054%medium
+3
- Subset Sum5054%medium
- Subset Sum 25072%medium
- Maximum path sum in matrix5064%medium
- Rod Cutting5040%medium
- Coin Change5049%medium
+2
- Decode Ways5022%medium
- Unique Paths5025%medium
- Maximum Product Subarray5057%medium
- Minimum Egg Drops8056%hard
- Palindrome Partitioning5082%medium
- Palindrome Partitioning 28049%hard
- Word Break5064%medium
+3
- Word Break – II8052%hard
- Best Time to Buy and Sell Stocks3071%easy
- Best Time to Buy and Sell Stocks II3075%easy
- Best Time to Buy and Sell Stock III8064%hard
- Best Time to Buy and Sell Stock IV8047%hard
- Trapping Rain Water8067%hard
- Regular Expression Matching8046%hard
- Wildcard Matching8063%hard
Graphs
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Adjacency List to Adjacency Matrix3079%easy
- Adjacency Matrix to Adjacency List3089%easy
- Edges to Adjacency Matrix3074%easy
- Edges to Adjacency List3046%easy
- DFS of an Acyclic Graph5073%medium
+2
- DFS of a Cyclic Graph5079%medium
- BFS of a Graph5068%medium
- Clone a Graph5064%medium
- Detect Cycle In Directed Graph5054%medium
- Detect Cycle In Undirected Graph5051%medium
- Valid Course Schedule5083%medium
- Path Exists in Directed Graph5070%medium
- Flood Fill Image3075%easy
- Number of Islands5073%medium
+6
- Valid Path5031%medium
- Capture Surrounded Regions5055%medium
- Knight’s Journey On A Chessboard5040%medium
- Word Search Board5051%medium
- Stepping Numbers5048%medium
- M-Coloring Problem5027%medium
- Word Ladder8062%hard
- Detect Cycle in Undirected Graph using Union-Find Algorithm5073%medium
- Minimum Spanning Tree using Kruskal’s Algorithm5044%medium
- Minimum Spanning Tree using Prim’s Algorithm5033%medium
- Minimum Distance in Graph using Dijkstra’s Algorithm5036%medium
- Is Graph Bipartite5078%medium
Page
of 1
Searching
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Contains Element?3059%easy
- Search Range3051%easy
- Negative numbers in sorted array3073%easy
- Next Greater Element In Sorted Array3023%easy
- Insert Position in Sorted Array3066%easy
- Is Perfect Square3032%easy
- Search Rotated Sorted Array5061%medium
+7
- Non-Repeating Element5070%medium
- Square Root3037%easy
- Matrix Search5063%medium
- Median of Row-wise Sorted Matrix5064%medium
Linked Lists
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Print Linked List3072%easy
- Linked List to Array3094%easy
- Print Reversed Linked List3078%easy
- Kth Element in Linked List3087%easy
- Add Element at Kth Position in Linked List3071%easy
- Remove Element at Kth Position in Linked List3084%easy
- Append Linked Lists3097%easy
- Reverse a Linked List3083%easy
+9
- Remove occurrences in Linked List3032%easy
- Middle Element of Linked List3057%easy
+8
- Merge Two Sorted Linked List3082%easy
- Delete Node From Linked List3086%easy
- Linked List Palindrome3079%easy
- Intersection of Two Linked Lists3063%easy
- Remove Duplicates from Sorted Linked List3049%easy
- Remove Duplicates from Sorted Linked List – II5042%medium
- Find xth Node from End of Linked List5078%medium
+4
- Delete Xth Node From End of Linked List5044%medium
- Add Two Numbers as Lists5047%medium
+2
- Reverse a Linked List II5058%medium
- Reverse a Linked List in k-groups8064%hard
- Add One to Linked List5067%medium
- Reorder List5049%medium
- Rotate a Linked List5041%medium
- Detect Loop in Linked List5052%medium
+7
- Remove Loop From Linked List5060%medium
+5
- Flatten a Multi-Level Linked List5045%medium
+4
- Partition List5023%medium
- Insertion Sort Linked List5080%medium
- Merge Sort Linked List5063%medium
Page
of 1
Hashing
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Implement Counting Sort3057%easy
- Identical Twins3075%easy
- Primes upto N5058%medium
- Non-Repeating Element5070%medium
- Two Sum3034%easy
+3
- Three Sum5022%medium
- Four Sum5044%medium
- Longest Consecutive Sequence5063%medium
- Longest Subarray with Zero Sum5063%medium
- Longest Substring Without Repeat5036%medium
- Distinct Numbers in Window5069%medium
- Subarrays With Given XOR8060%hard
- Longest Substring with K Unique Characters5057%medium
- Clone List with Random Pointer5079%medium
+4
- LRU Cache8048%hard
+12
Page
of 1
Binary Trees
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Binary Tree Inorder Traversal3065%easy
- Binary Tree Preorder Traversal3085%easy
- Binary Tree Postorder Traversal3083%easy
- Level Order of Binary Tree3072%easy
- Identical Binary Trees3071%easy
- Symmetric Binary Tree3083%easy
- Maximum Depth of Binary Tree3095%easy
- Diameter of Binary Tree3047%easy
- Invert Binary Tree3072%easy
+3
- Balanced Binary Tree3086%easy
- Binary Tree Zigzag Level Order Traversal5052%medium
- Construct Binary Tree from Preorder and Inorder Traversal5075%medium
- Construct Binary Tree from Inorder and Postorder Traversal5082%medium
- Left View of Binary Tree5081%medium
- Right View of Binary Tree5088%medium
- Top View of Binary Tree5048%medium
- Bottom View of Binary Tree5061%medium
- Lowest Common Ancestor in Binary Tree5078%medium
- Flatten Binary Tree to Linked List5059%medium
- Populating Next Right Pointers in Each Node5091%medium
- Maximum Path Sum of Binary Tree8063%hard
- Binary Tree to Doubly Linked List8082%hard
Page
of 1
Math & Bit Manipulation
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Excel Column Number3093%easy
- Trailing Zeroes3039%easy
- Greatest Common Divisor3086%easy
- Primes upto N5058%medium
- Matrix Paths5043%medium
- Exponentiation With Modulus5026%medium
- Most Significant Bit3076%easy
- Power Of Two3040%easy
- Count Set Bits3093%easy
- Find the Duplicate Number3083%easy
- Find the Missing Number3074%easy
- Repeat and Missing Number in Array5051%medium
- Divide without Division, Multiplication & Mod5027%medium
- Square without Multiplication, Division & Pow5093%medium
- Power Set5086%medium
Page
of 1
Greedy Algorithm
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Max Meetings in a Room5073%medium
- Sack of Grains5052%medium
- Tasks for Profit5040%medium
- Trains and Platforms5040%medium
Page
of 1
String & Tries
Problems | Data Structures & Algorithms
Difficulty
Problem Name
Score
Accuracy
Difficulty
Company
- Reverse Words in String5074%medium
+6
- Longest Palindrome in String5051%medium
- Roman Numeral to Integer3047%easy
- Integer to Roman Numeral3064%easy
- Anagrams3057%easy
- Longest Common Prefix3075%easy
- Substring Search – I3048%easy
- Substring Search – II8045%hard
- Substring Search – III8083%hard
- Substring Search – IV8084%hard
- Insert Minimum To Make Palindrome8026%hard
- Count And Say5058%medium
- Compare Version Numbers5012%medium
- Shortest Unique Prefix8070%hard
- Restaurant Reviews8034%hard
Page
of 1
of 1