DSA by Shradha Didi & Aman Bhaiya
DSA by Shradha Didi & Aman Bhaiya
DSA by Shradha Didi & Aman Bhaiya
Strings Valid Palindrome Amazon Cisco D-E-Shaw Facebook FactSet Morgan Stanley Paytm Zoho
Strings Valid Anagram Nagarro Media.net Directi Google Adobe Flipkart
Strings Valid parentheses Google Interview Qs use Stacks (if possible)
Strings Remove Consecutive Characters Samsung + Adobe
Strings Longest Common Prefix Adobe + Grofers + Dunzo Interview Qs
Strings Convert a Sentence into its Equivalent Mobile Numeric Keypad Sequence Adobe
Strings Print all the Duplicates in the Input String Ola + Amdocs IQ
Strings Longest Substring without Repeating Characters Morgan Stanley + Amazon IQ
Strings Longest Repeating Character Replacement Amazon Google
Strings Group Anagrams Samsung + Adobe + Amazon Interview Qs
Strings Longest Palindromic Substring Microsoft + Google + Samsung + Visa IQ
Strings Palindromic Substrings Microsoft IQ
Strings Next Permutation Adobe + Goldman Sachs + Uber
Strings Count Palindromic Subsequences Myntra Interview Qs
Strings Smallest Window in a String Containing all the Characters of Another String Microsoft + Amazon IQ
Strings Wildcard String Matching Microsoft + Amazon + Ola IQ
Strings Longest Prefix Suffix Flipkart + Swiggy IQ
Strings Rabin-Karp Algorithm for Pattern Searching Microsoft
Strings Transform One String to Another using Minimum Number of Given Operation Directi
Strings Minimum Window Substring Amazon Google MakeMyTrip Streamoid Technologies Microsoft Media.net Atlassian Flipkart
Strings Boyer Moore Algorithm for Pattern Searching Amdocs
Strings Word Wrap Microsoft use Dynaming Programming
Searching & Sorting Permute Two Arrays such that Sum of Every Pair is Greater or Equal to K Samsung
Searching & Sorting counting sort Samsung+ Morgan Stanley+ Snapdeal + EPAM Systems
Searching & Sorting find common elements three sorted arrays MAQ Software Microsoft VMWare
Searching & Sorting Searching in an array where adjacent differ by at most k TCS Amazon
Searching & Sorting ceiling in a sorted array TCS
Searching & Sorting Piar with given difference Amazon Visa
Searching & Sorting majority element Amazon+ Google
Searching & Sorting count triplets with sum smaller that a given value Amazon SAP Labs
Searching & Sorting Maximum Sum Subsequence with no adjacent elements Amazon FactSet Oxigen Wallet OYO Rooms Paytm Walmart Yahoo Adobe Flipkart
Searching & Sorting Merge Sorted Arrays using O(1) Space Amdocs Brocade Goldman Sachs Juniper Networks Linkedin Microsoft Quikr Snapdeal Synopsys Zoho Adobe
Searching & Sorting Inversion of Array Adobe Amazon BankBazaar Flipkart Microsoft Myntra MakeMyTrip
Searching & Sorting Find Duplicates in O(n) Time and O(1) Extra Space Amazon D-E-Shaw Flipkart Paytm Qualcomm Zoho
Searching & Sorting Radix Sort Amazon+ Microsoft
Searching & Sorting Product of Array except itself Accolite Amazon D-E-Shaw Intuit Morgan Stanley Opera Microsoft Flipkart
Searching & Sorting Make all Array Elements Equal Amazon
Searching & Sorting Check if Reversing a Sub Array Make the Array Sorted Amazon
Searching & Sorting Find Four Elements that Sum to a Given Value Adobe Amazon Google Microsoft OYO Rooms
Searching & Sorting Median of Two Sorted Array with Different Size Amazon Samsung Microsoft Google
Searching & Sorting Median of Stream of Integers Running Integers Amazon + Google
Searching & Sorting Print Subarrays with 0 Sum Paytm Adobe
Searching & Sorting Aggressive Cows Adobe
Searching & Sorting Allocate Minimum number of Pages Google Infosys Codenation Amazon Microsoft
Searching & Sorting Minimum Swaps to Sort Amazon + Google
Stacks & Queues Implement two stacks in an Array 24*7 Innovation Labs Microsoft Samsung Snapdeal
Stacks & Queues Evaluation of Postfix Expression Amazon + Google + Facebook
Stacks & Queues Implement Stack using Queues Facebook
Stacks & Queues Queue Reversal Amazon + Morgain Stanley
Stacks & Queues Implement Stack Queue using Deque Microsoft +Atlassian
Stacks & Queues Reverse first k elements of queue Microsoft + Amdocs
Stacks & Queues Design Stack with Middle Operation MaQ Software
Stacks & Queues Infix to Postfix Amazon + Samsung + Paytm + Vmware inc
Stacks & Queues Design and Implement Special stack Amazon Google Microsoft Visa Goldman Sachs
Stacks & Queues Longest Valid String Google Microsoft
Stacks & Queues Find if an expression has duplicate parenthesis or not Flipkart Oracle OYO Rooms Snapdeal Walmart Yatra.com Microsoft Google
Stacks & Queues Stack permutations check if an array is stack permutation of other Visa
Stacks & Queues Count natural numbers whose permutation greater number Amazon
Stacks & Queues Sort a stack using Recursion Amazon Goldman Sachs IBM Intuit Kuliza Yahoo Microsoft
Stacks & Queues Queue based approach for first non repeating character in a stream Microsoft Flipkart
Stacks & Queues The Celebrity Problem Google + Visa + Apple
Stacks & Queues Next larger Element Visa
Stacks & Queues Distance of nearest cell Flipkar + Facebook
Stacks & Queues Rotten-oranges Facebook
Stacks & Queues Next smaller element Codenation
Stacks & Queues Circular-tour Codenation Flipkart
Stacks & Queues Efficiently implement k-stacks single array Flipkart
Stacks & Queues The celebrity problem Google + Visa + Apple
Stacks & Queues Iterative tower of hanoi Microsoft Flipkart
Stacks & Queues Find the maximum of minimums for every window size in a given array Amazon Microsoft Flipkart
Stacks & Queues lru cache implementation Microsoft + Uber + Alibaba
Stacks & Queues Find a tour that visits all stations Uber
Greedy Activity selection problem greedy algo Facebook Morgan Stanley Flipkart
Greedy Greedy algorithm to find minimum number of coins Accolite Amazon Morgan Stanley Oracle Paytm Samsung Snapdeal Synopsys Visa Microsoft Google
Greedy Minimum sum two numbers formed digits array-2 Google
Greedy Minimum sum absolute difference pairs two arrays Amazon
Greedy Find maximum height pyramid from the given array of objects Flipkart Amazon
Greedy Minimum cost for acquiring all coins with k extra coins allowed with every coin
Greedy Find maximum equal sum of every three stacks Microsoft Amazon Flipkart
Greedy Job sequencing problem Microsoft + Acolite
Greedy Greedy algorithm egyptian fraction
Greedy Fractional knapsack problem Microsoft
Greedy Maximum length chain of pairs Amazon Microsoft
Greedy Find smallest number with given number of digits and digit sum MAQ Software OYO Rooms
Greedy Maximize sum of consecutive differences circular-array Maccafe
Greedy paper-cut minimum number squares Google
Greedy Lexicographically smallest array-k consecutive swaps Amazon
Greedy Problems-CHOCOLA Flipkart
Greedy Find minimum time to finish all jobs with given constraints
Greedy Job sequencing using disjoint set union Samsung
Greedy Rearrange characters string such that no two adjacent are same Amazon Microsoft
Greedy Minimum edges to reverse to make path from a source to a destination
Greedy Minimize Cash Flow among a given set of friends who have borrowed money from each other
Greedy Minimum Cost to cut a board into squares Maccafe
Binary Trees Maximum Depth of Binary Tree Amazon Cadence India CouponDunia D-E-Shaw FactSet FreeCharge MakeMyTrip
Binary Trees Reverse Level Order Traversal Amazon + Microsoft + flipkart + Adobe
Binary Trees Subtree of Another Tree Amazon + Microsoft + Facebook
Binary Trees Invert Binary Tree Amazon Hike
Binary Trees Binary Tree Level Order Traversal Accolite Adobe Amazon Cisco D-E-Shaw Flipkart
Binary Trees Left View of Binary Tree Microsoft + Adobe + Cisco Networking Academy
Binary Trees Right View of Binary Tree Amdocs
Binary Trees ZigZag Tree Traversal Amazon Cisco FactSet Hike Snapdeal Walmart Microsoft Flipkart
Binary Trees Create a mirror tree from the given binary tree Accolite Adobe Amazon Belzabar EBay Goldman Sachs Microsoft Morgan Stanley Myntra Ola Cabs Paytm
Binary Trees Leaf at same level Amazon
Binary Trees Check for Balanced Tree Amazon Walmart Microsoft
Binary Trees Transform to Sum Tree Amazon FactSet Microsoft Samsung Walmart
Binary Trees Check if Tree is Isomorphic Amazon Microsoft
Binary Trees Same Tree Amazon Microsoft Flipkart
Binary Trees Construct Binary Tree from Preorder and Inorder Traversal Accolite Amazon Microsoft
Binary Trees Height of Binary Tree Amazon Cadence India CouponDunia D-E-Shaw FactSet FreeCharge MakeMyTrip
Binary Trees Diameter of a Binary Tree Amazon Microsoft OYO Rooms
Binary Trees Top View of Binary Tree Microsoft + Adobe + Expedia Group
Binary Trees Bottom View of Binary Tree DE Shaw India
Binary Trees Diagonal Traversal of Binary Tree Amazon Microsoft
Binary Trees Boundary Traversal of binary tree Accolite Amazon FactSet Hike Kritikal Solutions
Binary Trees Construct Binary Tree from String with Brackets Microsoft Morgan Stanley OYO Rooms Payu Samsung Snapdeal Flipkart
Binary Trees Minimum swap required to convert binary tree to binary search tree Adobe Amazon
Binary Trees Duplicate subtree in Binary Tree Google
Binary Trees Check if a given graph is tree or not Microsoft Amazon
Binary Trees Lowest Common Ancestor in a Binary Tree Accolite Amazon American Express Cisco Expedia Flipkart MakeMyTrip Microsoft OYO Room
Binary Trees Min distance between two given nodes of a Binary Tree Amazon Linkedin MakeMyTrip Ola Cabs Qualcomm Samsung
Binary Trees Duplicate Subtrees Ola
Binary Trees Kth ancestor of a node in binary tree Josh Technology Group
Binary Trees Binary Tree Maximum Path Sum Samsung + Facebook
Binary Trees Serialize and Deserialize Binary Tree Flipkart InMobi Linkedin MAQ Software Microsoft Paytm Quikr Yahoo
Binary Trees Binary Tree to DLL Accolite Amazon Goldman Sachs Microsoft Morgan Stanley Salesforce Snapdeal
Binary Trees Print all k-sum paths in a binary tree Accolite Amazon Goldman Sachs
Binary Search Trees Lowest Common Ancestor of a Binary Search Tree Accolite Amazon Flipkart MAQ Software Microsoft Samsung Synopsys
Binary Search Trees Binary Search Tree | Set 1 (Search and Insertion) Accolite Amazon Microsoft Paytm Samsung
Binary Search Trees Minimum element in BST Microsoft
Binary Search Trees Predecessor and Successor Google + Adobe + Goladman Sachs + Direct
Binary Search Trees Check whether BST contains Dead End Walmart
Binary Search Trees Binary Tree to BST HSBC
Binary Search Trees Kth largest element in BST Accolite Amazon Samsung SAP Labs Microsoft
Binary Search Trees Validate Binary Search Tree OYO Rooms Qualcomm Samsung Snapdeal VMWare Walmart Wooker Amazon Facebook
Binary Search Trees Kth Smallest Element in a BST Accolite Amazon Google
Binary Search Trees Delete Node in a BST Adobe Barclays
Binary Search Trees Flatten BST to sorted list Microsoft
Binary Search Trees Preorder to Postorder Amazon Linkedin Flipkart
Binary Search Trees Count BST nodes that lie in a given range D-E-Shaw Google
Binary Search Trees Populate Inorder Successor for all Nodes Sap labs
Binary Search Trees Convert Normal BST to Balanced BST Paytm
Binary Search Trees Merge two BSTs DE Shaw India
Binary Search Trees Given n appointments, find all conflicting appointments Samsung
Binary Search Trees Replace every element Samsung
Binary Search Trees Construct BST from given preorder traversal Adobe Morgan Stanley Microsoft
Binary Search Trees Find median of BST in O(n) time and O(1) space Amazon
Binary Search Trees Largest BST in a Binary Tree Amazon D-E-Shaw Samsung Microsoft Flipkart Important
Heaps & Hashing Choose k array elements such that difference of maximum and minimum is minimized
Heaps & Hashing Heap Sort Adobe
Heaps & Hashing Top K Frequent Elements Amazon Microsoft
Heaps & Hashing k largest elements in an array Amazon Microsoft Walmart Adobe
Heaps & Hashing Next Greater Element Amazon + Microsoft + Flipkart + Adobe
Heaps & Hashing K’th Smallest/Largest Element in Unsorted Array ABCO Accolite Amazon Cisco Hike Microsoft Snapdeal VMWare Google Adobe
Heaps & Hashing Find the maximum repeating number in O(n) time and O(1) extra space Accolite Amazon
Heaps & Hashing K-th smallest element after removing some integers from natural numbers ABCO Accolite Amazon Cisco Hike Microsoft Snapdeal VMWare Google Adobe
Heaps & Hashing Find k closest elements to a given value Amazon OYO Rooms
Heaps & Hashing K’th largest element in a stream Amazon Cisco Hike OYO Rooms Walmart Microsoft Flipkart
Heaps & Hashing Connect Ropes Amazoon + Oyo + Goldman Sachs
Heaps & Hashing Cuckoo Hashing Amaxon
Heaps & Hashing Itinerary from a List of Tickets Microsoft + Ola + eBay
Heaps & Hashing Largest Subarray with 0 Sum Amazon MakeMyTrip Microsoft
Heaps & Hashing Count distinct elements in every window of size k Accolite Amazon Microsoft
Heaps & Hashing Group Shifted Strings Oracle
Heaps & Hashing Merge K Sorted lists Microsoft + Ola + eBay
Heaps & Hashing Find Median from Data Stream Adobe Amazon Apple Belzabar D-E-Shaw Facebook Flipkart Google Intuit Microsoft Morgan Stanley Ola Cabs Oracle Samsung SAP Labs Yahoo
Heaps & Hashing Sliding Window Maximum Amazon Directi Flipkart Microsoft Google
Heaps & Hashing Find the smallest positive number Accolite Amazon Samsung Snapdeal
Heaps & Hashing Find Surpasser Count of each element in array Amazon Morgan Stanley Ola Cabs SAP Labs
Heaps & Hashing Tournament Tree and Binary Heap Amazon Ola Cabs Samsung Synopsys Walmart Microsoft
Heaps & Hashing Check for palindrome Amazon Cisco D-E-Shaw Facebook FactSet Morgan Stanley Paytm Zoho
Heaps & Hashing Length of the largest subarray with contiguous elements Amazon Intuit Microsoft
Heaps & Hashing Palindrome Substring Queries Amazon Morgan Stanley Ola Cabs SAP Labs
Heaps & Hashing Subarray distinct elements Microsoft + Ola + eBay
Heaps & Hashing Find the recurring function MAQ Software
Heaps & Hashing K maximum sum combinations from two arrays Amazon
Topics Question
Remarks
o a given Number
t 1 non-preemptive
wo are adjacent
m is divisible by k
ce to a destination