Must Do Coding Questions Company-wiseReadDiscuss(20)CoursesPracticeImprove Article ImproveSave Article SaveLike Article LikeCompaniesGoogleFacebookMicrosoftAdobeOracleAmazonD E ShawMAQ SoftwareDirectiYahooAccoliteWalmart LabsSamsungPaytmOla CabsFlipkartSAP LabsVMwareCiscoGoldman SachsMakeMyTripSnapdealQualcommPayuIntuit GoogleSubarray with given sumMaximum IndexFinding the numbersLongest valid ParenthesesJumping NumbersConnect Nodes at Same LevelCount BST nodes that lie in a given rangeImplement LRU CacheInterleaved StringsFind triplets with zero sumEgg Dropping PuzzleWord Break ProblemCheck if a Binary Tree contains duplicate subtrees of size 2 or moreFind largest word in dictionary by deleting some characters of given stringModular Exponentiation (Power in Modular Arithmetic)FacebookSubarray with given sumFind all pairs with a given sumTotal Decoding MessagesWord BoggleActivity SelectionMinimum Depth of a Binary TreeImplement strstrMultiply two stringsK-PalindromeFind triplets with zero sumLargest subset whose all elements are Fibonacci numbersLook-and-Say SequenceConverting Decimal Number lying between 1 to 3999 to Roman NumeralsConvert Ternary Expression to Binary TreeMaximum Rectangular Area in a HistogramAmazonK largest elements from a big file or arrayReverse a Linked List in groups of given sizeImplement a stack with push(), pop() and min() in O(1) timeAdd two numbers represented by linked listsConvert a Binary tree to DLLStock span problemNext larger elementEdit distanceMaximum of all subarrays of size kPythagorean TripletPrint a Binary Tree in Vertical OrderLevel order traversalSmallest window in a string containing all the characters of another stringFind the number of islandsDetect and Remove Loop in a Linked ListCheck if a binary tree is BST or notBoolean ParenthesizationArrange given numbers to form the biggest numberImplement LRU CacheMaximum difference between node and its ancestor in Binary TreeMicrosoftKey PairIs Binary Number Multiple of 3Kadane’s AlgorithmMissing number in arrayMajority ElementSearch in a Rotated ArrayCheck for BSTFinding middle element in a linked listRoot to leaf path sumReverse a linked listRemove every k’th nodeMerge 2 sorted linked list in reverse orderLongest Even Length Substring such that Sum of First and Second Half is samek largest(or smallest) elements in an array | added Min Heap methodWrite an Efficient Function to Convert a Binary Tree into its Mirror TreeDetermine if Two Trees are IdenticalAdobeSearch in a Rotated ArraySubset Sum ProblemReverse words in a given stringSort an array of 0s, 1s and 2sMinimum number of jumpsCheck for BSTRoot to leaf path sumSum TreeFinding middle element in a linked listReverse a linked listLevel order traversal in spiral formRight View of Binary TreeRemove duplicate element from sorted Linked ListMerge Sort for Linked ListCount set bits in an integerOracle0 – 1 Knapsack ProblemSearch in a matrixPower of 2PalindromeRoot to leaf path sumKadane’s AlgorithmBinary SearchImplement Queue using Linked ListConnect Nodes at Same LevelRemove loop in Linked ListImplement Stack using QueuesImplement Queue using StacksRemove duplicate element from sorted Linked ListFind the first repeating element in an array of integersD E ShawMajority ElementSearch in a Rotated ArraySum of Middle Elements of two sorted arraysNon Repeating CharacterKadane’s AlgorithmIntersection of two sorted Linked listsDetect Loop in linked listPrint all nodes that don’t have siblingTwo Mirror TreesIntersection Point in Y Shapped Linked ListsTrie | (Insert and Search)Implement Queue using StacksImplement Stack using QueuesFind the number of islandsCopy Set Bits in RangeDirectiMaximum of all subarrays of size kSearch in a matrixWord BoggleJumping NumbersTransform StringSolve the SudokuFind Nth root of MArray Pair Sum Divisibility ProblemLargest zigzag sequenceMaximum Intervals OverlapMax rectangleMaximum path sumMaximize Dot ProductExcel Sheet | Part – 1Probability of KnightMAQ SoftwareSort an array of 0s, 1s and 2sPermutations of a given stringRotate Array by n elementsNon Repeating CharacterNth Fibonacci NumberFinding middle element in a linked listn’th node from end of linked listDetect Loop in linked listImplement Queue using StacksFind Missing And RepeatingFind the Closest Element in BSTCheck if a linked list is Circular Linked ListReverse a StringReverse words in a given stringEgg Dropping PuzzleYahooFirst non-repeating character in a streamFind median in a streamLargest prime factorForm coils in a matrixWord BoggleLargest Product PalindromeSurpasser CountReturn two prime numbersSort a stackThree way partitioningLRU CacheSerialize and Deserialize a Binary TreeSplit a Circular Linked List into two halvesInterleaved StringsMax Sum without AdjacentsAccoliteCount SquaresLongest Prefix SuffixN-Queen ProblemCoin ChangePermutations of a given stringStock buy and sellLongest Palindrome in a StringSum of two numbers represented as arraysMax sum submatrixMaximum sum RectangleRoot to leaf path sumLowest Common Ancestor in a Binary TreeLevel order traversal in spiral formImplement Stack using Queuesn’th node from end of linked listWalmart LabsLongest consecutive subsequenceLargest number in K swapsk largest elementsWord BreakFind the highest occurring digit in prime numbers in a rangeCount all possible paths from top left to bottom rightMinimum PlatformsParenthesis CheckerImplement LRU CacheJosephus ProblemTop View of Binary TreeIntersection of Two Linked ListsAlien DictionaryRemove Loop in Linked ListWildcard Pattern MatchingSamsungLongest Increasing SubsequenceNext larger elementPermutations of a given stringNext greater number set digitsFinding middle element in a linked listRoot to leaf path sumDetect Loop in linked listLeft View of Binary TreeImplement Queue using Linked ListEgg Dropping PuzzleTotal number of possible Binary Search Trees with n keysCount number of bits to be flipped to convert A to BImplement two stacks in an arrayGiven only a pointer/reference to a node to be deleted in a singly linked list, how do you delete it?PaytmSort an array of 0s, 1s and 2sReverse words in a given stringReverse a linked listReverse a Linked List in groups of given sizeMax Sum without AdjacentsMirror TreeFlattening a Linked ListCheck for Balanced TreeFind the number of islandsCoin ChangeCount frequencies of all elements in array in O(1) extra space and O(n) timeConvert array into Zig-Zag fashionFind the row with maximum number of 1sMaximum Rectangular Area in a HistogramOla CabsKadane’s AlgorithmMissing number in arraySort an array of 0s, 1s and 2sSearch in a matrixLeft View of Binary TreeMirror TreeConnect Nodes at Same LevelK distance from rootLevel order traversal in spiral formNon Repeating CharacterFind the number of islandsFind the character in first string that is present at minimum index in second stringMaximum difference between two elements such that larger element appears after the smaller numberFind the element that appears once in sorted arrayBoolean Matrix ProblemFlipkartKadane’s Algorithm0 – 1 Knapsack ProblemInversion of arrayConsecutive 1’s not allowedFinding middle element in a linked listGet minimum element from stackLeft View of Binary TreeAdd two numbers represented by linked listsConnect Nodes at Same LevelSum of dependencies in a graphMaximum of all subarrays of size kPossible words from Phone digitsReverse Level Order TraversalImplement Queue using StackMaximum Width of TreeSAP LabsSort an array of 0s, 1s and 2sCheck if a number is BleakReverse words in a given stringRemove Spaces from stringSecond LargestCheck if a number is power of another numberReverse a linked listGet minimum element from stackBFS traversal of graphFind median in a stream of integersQuick SortGCD of ArrayLCM And GCDHeap SortBubble SortVMwareLongest Common SubsequenceMaximum IndexArray to BSTEgg Dropping PuzzleK’th smallest elementCheck for BSTFinding middle element in a linked listReverse a linked listDetect Loop in linked listRun Length EncodingHeight of Binary TreeInfix to PostfixDiameter of Binary TreeMirror TreeBoolean Matrix ProblemCiscoMissing number in arrayReverse words in a given stringPermutations of a given stringArray to BSTCounbt set bitsReverse a linked listLevel order traversalMinimum Spanning TreeDoes array represent HeapKth largest element in a streamEscape the jailK’th smallest elementInsertion SortBubble SortGoldman SachsReverse words in a given stringOverlapping rectanglesColumn name from a given column numberNon Repeating CharacterTotal Decoding MessagesSum TreeGet minimum element from stackFlattening a Linked ListSort a stack using RecursionIntersection Point in Y Shapped Linked ListsStock buy and sellEgg Dropping PuzzleCheck for Balanced TreeCheck if two arrays are equal or notImplement Queue using StacksMakeMyTripDistinct palindromic substringsTwo water Jug problemMinimum Cost PathTranspose of MatrixSmallest window in a string containing all the characters of another stringCheck Mirror in N-ary treeLongest Prefix SuffixMaximum DifferenceNuts and Bolts ProblemN meetings in one roomString formation from substringLongest Common SubsequenceNext PermutationTrailing zeroes in factorialEgg Dropping PuzzleSnapdealFighting the darknessMoney DivisionGroup Anagrams TogetherPangram Strings0 – 1 Knapsack ProblemLongest Arithmetic ProgressionNext greater number set digitsNumber of CoinsCheck If two Line segments IntersectTwo numbers with sum closest to zeroParenthesis CheckerMaximum Rectangular Area in a HistogramSmallest Positive missing numberFind the number of islandsReverse a Linked List in groups of given sizeQualcommFind length of LoopImplement strstrMin distance between two given nodes of a Binary TreeDelete a node from BSTLeft View of Binary TreeIntersection Point in Y Shapped Linked ListsCheck for BSTReverse a linked listDetect Loop in linked listReverse BitsNext PermutationArray Subset of another arraySet BitsFind Prime numbers in a rangeSubsequence matchingPayuReverse each word in a given stringFirst non-repeating character in a streamNext larger element0 – 1 Knapsack ProblemLeaders in an arrayTrapping Rain WaterPattern SearchingImplement AtoiLowest Common Ancestor in a Binary TreeLevel order traversal in spiral formFlattening a Linked ListFinding middle element in a linked listMissing number in arrayKadane’s AlgorithmCount possible ways to construct buildingsIntuitElement with left side smaller and right side greaterFind median in a streamProduct array puzzleCount Occurences of AnagramsMaximum Sub ArrayBinary Array SortingSort a StackFind the number of islandsRemove duplicates from an unsorted linked listImplement LRU CacheMax RectangleReverse a linked listPairwise swap elements of a linked list by swapping dataFind the missing no in stringDepth First Traversal for a GraphImportant LinksDifficulty-wise ordered Coding questions for Interview and Competitive ProgrammingAptitude questions asked in round 1 : Placements Course designed for this purpose.MCQs asked from different computer science subjects : Subject-Wise QuizzesInterview theory and coding questions of all companies : Company wise all practice questions.Interview experiences of all companies : Interview corner.GeeksforGeeks Courses:Language Foundation Courses[C Programming / C++ / JAVA / Python]Learn any programming language from scratch and understand all its fundamentals concepts for a strong programming foundation in the easiest possible manner with help of GeeksforGeeks Language Foundation Courses – C Programming | Java Foundation | Python Foundation | C++ Foundation.Complete Interview PreparationGet fulfilled all your interview preparation needs at a single place with the Complete Interview Preparation Course that provides you all the required stuff to prepare for any product-based, service-based, or start-up company at the most affordable prices.DSA Self PacedStart learning Data Structures and Algorithms to prepare for the interviews of top IT giants like Microsoft, Amazon, Adobe, etc. with DSA Self-Paced Course where you will get to learn and master DSA from basic to advanced level and that too at your own pace and convenience.Last Updated : 13 Jul, 2023Like Article Save Article Please Login to comment...