category-wise-problems
category-wise-problems copied to clipboard
contains category wise problems(data structures, competitive) of popular platforms.
🏅 Category Wise Problems 🎯
Approx Questions Count 300
- Contains category wise organized problems(data structures, competitive) of popular platforms.
- not only solution but also
- Approaches
- Corner Cases
- Special Notes if any
- Similar Questions if Encountered.
- JMI college placement
- adhoc implementation
- Greedy
- Dynamic Programming
- Fibonacci type
- knapsack type
- Unbounded Knapsack / coin change
- Grid path type
- LIS type
- Prefix Sums / 1D Range sum type / Cumulative sums
- Graphs
- General Graph implementation
- Topological sorting
- Shortest Path
- flood fill
- DFS
- BFS
- 01 BFS
- Multi source shortest path
- MST
- Tree + dp
- Number Theory
- Searching and sorting
- implementation type
- sorting and observation type
- Binary Search type
- Sliding Window
- Heap type
- Intervals type
- Divide and Conquer
- Data structure
- Stack
- DSU
- Linked List
- Trees
- Binary Search Trees
- Trie/Prefix Tree
- Bitset
- Cracking the interview Questions
- Notes
Category Wise
JMI
- company data 2020
- company data 2021
- Sapient
- Delhivery
- Infoedge
- JTG_
- Innovacer
- Optum
- Accenture
- Wiley Mthree
- Mobikwik
- Samsung
Adhoc implementation
- Caesar Cipher
- Polycarp and String Transformation
- Vitamins
- Divide and print
- Gas station
- majority element
- majority element 2
- move zeros
- sort integers by power
- Kill the Monsters
- Partition String
- valid palindrome II
- Collision 2
- Moves on Binary Tree
Dynamic Programming.
Fibonacci
- Typical Stairs
- Boredom
- Constanze's Machine
- Basketball
- Domino and Tromino Tiling
- House robber
- Delete and earn
- Min Cost Climbing Stairs
- Arithmetic Slices
- Unique BST
- Number of people aware of secrets
Knapsack
- Two Sets 2
- Book Shop
- money sums
- dividing coins
- divisible group sums
- wedding shopping
- sum of different Primes
- hoof paper scissor
- maximum score from performing multiplication operations
- Divide the array in K segments such that the sum of minimums is maximized
- Best Time to Buy and Sell Stock IV
- Best Time to Buy and Sell Stock with Cooldown
- Best Time to Buy and Sell Stock with Transaction Fee
- Longest Palindromic Subsequence
- Last Stone Weight II
Unbounded Knapsack
- Coin change
- Coin change 2
- Knapsack with duplicate Items
- Removing Digits
- Minimizing coins
- Combination sum 4
- Dollars
- Fruit Feast
- Minimum Difficulty of a Job Schedule
- Number of Dice Rolls With Target Sum
- Decode Ways
Grid path
- edit distance
- grid paths
- LCS
- Maximal square
- Unique Paths
- Unique Paths 2
- Minimum Path sum
- Minimum Falling Path Sum
- Maximum Length of Repeated Subarray
- Champagne Tower
LIS
- what goes up
- Kth increasing
- Word Break
Cumulative sum
- Maximum Absolute Sum of Any Subarray
- Maximum Product Subarray
- Maximum Sum Circular Subarray
- Number of Smooth Descent Periods of a Stock
- Blackboard GCD
- Make Power of 2
- Subsequence Summing to 7
- Good Days to Rob the Bank
- And it's non-zero
- Contiguous array
- Tsundoku
- Intervals Between Identical Elements
- Maximum Sum of Two Non-Overlapping Subarrays
- Reducing dishes
- Best time to Buy and sell stocks
- Make Sum Divisible by P
- Arithmetic Slices
- Count of Subarrays having sum equal to its length
- Number of Subarrays having absolute sum greater than K
- Trapping Rain water, TODO
- Largest Sum Subarray of Size at least K
TODO
- AAB
- Cooking
- FG operation
- Shipping Center
- Strange Lunchbox
Graphs
Graph implementation
- Detonate the maximum bombs
- Replace the numbers
- Moo Cast
Topological Sorting
- Course schedule
- Game routes
- Longest flight route
- Parallel course 3
- Restricted permutation
- Longest Path
- Gardner and trees
- Minimum height tree
- Find All Possible Recipes from Given Supplies
Shortest path
- Flight discount
- Investigation
- Djikstra
- Network delay time
- Puzzle on Graph
- Swim in the rising water
Flood fill
- Making a Large Island
- Number of islands
- Number of Distinct Islands
DFS
- Round Trip
- Kings Path
- Neighbours
- Keys and Rooms
BFS
- Graph Girth
- Word Ladder
- Making a large island
- Swim in the Rising Water
- Multiply and Rotate
- Keys and Rooms
01 BFS
- Wizard in maze
MSSP
- 01 Matrix
- Shortest distance to a character
MST
- 3-types
- Minimum Cost to Connect Path
Tree Dp
- Number of Nodes in the Sub-Tree With the Same Label
Number theory
- Amusement park
- Divisor counts
- Pairs of Songs With Total Durations Divisible by 60
- Max GCD Pair
- Make it Equal
- Count Nice Pairs in an Array
- Robbery
- Max GCD 2
- Multiple length
Searching and sorting
greedy implementation
- Shortest distance to a character
- Construct Smallest Number From DI String
- DI String Match
- Shortest Subarray to be Removed to Make Array Sorted
- Best time to sell the stock
sorting and observation
- Linear approximation
- LR Insertion
Binary search
- Binary Search
- Binary search in sorted rotated array
- Apartments
- Subarray sums 2
- Binary search in sorted array
- Koko eating bananas
- swim in the rising water
- count the words after adding a letter
Sliding Window
- Contains Duplicate II
- maximum consecutive one's
- Minimum Operations to Reduce X to Zero
- Longest X
- Subarrays with k different Integers
- Number of Substrings Containing All Three Characters
- Binary Subarrays with sum
- Minimum Swaps to Group All 1's Together II
- Find All Anagrams in a String
- Permutation in String
- Total Appeal of A String
- Count Unique Characters of All Substrings of a Given String
- Sliding window Maximum
- Geekland colosseum
- Maximum sum of two non-overlapping subarrays of a given size
- Largest Sum Subarray of Size at least K
- Maximum Number of Robots Within Budget
Intervals type
- Non Overlapping Subintervals
- Merge intervals
- Car pooling
- Permutation in String
- My Calendar I
Heaps
- Top k frequent words
- Kth Largest Element in an Array
- Top K Frequent Elements
- Last Stone Weight
- K Closest Points to Origin
- Furthest Building You Can Reach
- Geekland colosseum
- Potions
- Minimum Number of Refueling Stops
- Find Median from Data Stream , todo
Divide Conquer
- Thanos sort
- Number of Pairs Satisfying Inequality
Data structure
Stack
- Longest valid paranthesis
- Asteroid Collision
- Sliding window Maximum
- 132 Pattern
- asteroid collission
- largest area histogram
- Next greater element
- Remove duplicate letters
- Remove K digits
- First negative integer in every window of size k
DSU
- Little Alawn's Puzzle
- Graph destruction
- Accounts Merge
- Neighbours
- Largest Component Size by Common Factor
- Making a large island
- Most Stones Removed with Same Row or Column
- smallest string with swaps
Linked List
- Add two numbers
- Delete node in linked list
- Intersection of two linked list
- Linked list cycle
- Middle of the linked list
- Reverse linked list
- Odd Even Linked List
- Palindrome linked list
- Merge two sorted arrays
- Sort List
- Merge k sorted list
- LR Insertion
- Copy List with Random Pointer
- LRU cache
- Delete the Middle Node of a Linked List
Trees
- Pre-order Traversal
- In-order Traversal
- Post-order Traversal
- Level order
- Left view
- Right view
- Top view
- Bottom view
- Depth of binary tree
- Balanced binary tree
- Same Tree
- diameter of the binary tree
- binary tree tilt
- Populating Next Right Pointers in Each Node
- Lowest common ancestor
- Maximum difference between node and ancestor
- vertical order traversal
- Binary Tree Zigzag Level Order Traversal
- Symmetric Tree
- Maximum Width of Binary Tree
- Count Complete Tree Nodes
- Create Binary Tree From Descriptions
- Duplicate Subtree
- Delete leaves with given value
- Binary Tree Pruning
- Distance b/w two nodes
- All distance at k in Binary tree
- Max Depth N ary tree
- Binary Tree to mirror tree
- Morris In order
- Morris Pre order
- Binary Tree to DLL
BST
- insert into binary search tree
- Validate Binary Search Tree
- Convert Sorted Array to Binary Search Tree
- Minimum Distance Between BST Nodes
- Delete node in BST
- Unique BST
- Serialize and Deserialize Binary Tree
- BST to greater sum tree
- Minimum absolute difference
Trie
- Implement Trie (Prefix Tree)
- Design Add and Search Words Data Structure
Bitset
- complement of base 10
- Hammering distance
- Number of valid words for each puzzle
- Total hammering distance
- and it's non-zero
- Make it equal
- count the words after adding a letter
- majority element
- Find XOR Sum of All Pairs Bitwise AND
Cracking Interview
- Is unique
- Check Permutation
💥How to Contribute?
Head over to Contributing Guidelines to know more!