Crack the Coding Interviews

Prepare for technical interviews and learn from handcrafted tutorials and interview questions

Explore Interview Questions →



LeetCode Solutions

Get the solutions to LeetCode questions

LeetCode Solutions →

Instant Search Interview Questions

Search Tip If you want to search Easy questions of Amazon on Array topic then type "amazon easy array" and get the results. You can also search "leetcode medium string" to get all medium difficulty questions on string topic from LeetCode

Difficulty Question Title Company Name Category
Minimum swaps to make sequences increasingarray
Sum of nearest smaller and greater numberarray
EasyCheck If Two String Arrays are Equivalent Leetcode SolutionFacebookLeetCodeString
EasyCheck Array Formation Through Concatenation Leetcode SolutionUberLeetCodeArray
EasyCheck If a Word Occurs As a Prefix of Any Word in a Sentence Leetcode SolutionYelpLeetCodeString
EasyMake Two Arrays Equal by Reversing Sub-arrays Leetcode SolutionFacebookLeetCodeArray
EasyShuffle the Array Leetcode SolutionAdobeAppleBloombergGoogleMicrosoftLeetCodeArray
EasyFinal Prices With a Special Discount in a Shop Leetcode SolutionLeetCodeArray
EasySlowest Key Leetcode SolutionAmazonLeetCodeArray
Medium3Sum Leetcode SolutionAdobeAmazonAppleBloombergFacebookGoogleMicrosoftOracleTeslaVMwareLeetCodeArray
EasyGet Maximum in Generated Array Leetcode SolutionLeetCodeArray
MediumInsert Interval Leetcode SolutionAmazonAppleFacebookGoogleLinkedInMicrosoftOracleServiceNowTwitterUberLeetCodeArray
EasyRoot to Leaf path with target sum Leetcode SolutionsAmazonAppleFacebookMicrosoftLeetCodeDepth First SearchTree
EasyMinimum Number of Steps to Make Two Strings Anagram Leetcode SolutionsAmazonBloombergCitrixMicrosoftTwitterLeetCodeString
EasyLicense Key Formatting Leetcode SolutionCapital OneGoogleLeetCodeString
EasySplit a String in Balanced Strings Leetcode SolutionBloombergWalmart LabsLeetCodeString
EasyKth Largest Element in a Stream Leetcode SolutionAdobeAmazonAppleBoxeBayFacebookGoldman SachsGoogleMicrosoftNutanixLeetCodeDesign
EasySum of Even Numbers After QueriesIndeedLeetCodeArray
EasyRemove Linked List Elements Leetcode SolutionAdobeAmazonAppleBloombergCapital OneFacebookGoogleMicrosoftLeetCode
EasyNumber Complement Leetcode SolutionAppleLeetCode
MediumCombination Sum Leetcode SolutionAdobeAirbnbAmazonAppleAtlassianBloombergByteDanceeBayFacebookGoldman SachsGoogleLinkedInMicrosoftOracleSnapchatSquareUberVMwareWalmart LabsLeetCodeArrayBacktracking
EasyMinimum Moves to Equal Array Elements Leetcode SolutionAmazonAppleCourseraFactsetIndeedJPMorganMathworksMicrosoftSwiggyLeetCode
EasyIsomorphic Strings Leetcode SolutionAdobeAmazonAppleBloombergFacebookGoogleIntelLinkedInMicrosoftOracleYahooLeetCodeString
EasyIsland Perimeter Leetcode SolutionAmazonBloombergFacebookGoogleMicrosoftLeetCodeArray
EasyAvailable Captures for Rook Leetcode SolutionSquareLeetCodeArray
MediumMinimum Swaps to Make Strings Equal Leetcode SolutionAmazonLeetCodeString
EasyDecrypt String from Alphabet to Integer Mapping Leetcode SolutionQuipSalesforceLeetCodeString
EasyRearrange Spaces Between Words Leetcode SolutionGoogleLeetCodeString
EasyHamming Distance Leetcode SolutionAdobeAmazonFacebookLeetCode
MediumWord Search Leetcode SolutionAmazonAppleBloombergByteDanceCiscoeBayExpediaFacebookIntuitMicrosoftOraclePinterestServiceNowSnapchatLeetCodeBacktrackingMatrix
EasyMin Stack Leetcode SolutionAmazonAppleBloombergCapital OneMicrosoftOracleLeetCodeDesignStack
EasyMaximum Subarray Leetcode SolutionAdobeAmazonAppleBloombergByteDanceCiscoFacebookGoldman SachsGoogleJPMorganLinkedInMicrosoftOraclePayPalPaytmUberLeetCodeArrayDynamic Programming
EasySort Array by Increasing Frequency Leetcode SolutioneBayTwilioLeetCodeArraySorting
MediumCheck If a String Can Break Another String Leetcode SolutionLeetCodeSortingString
EasyNumber of Students Doing Homework at a Given Time Leetcode SolutionLeetCodeArray
MediumCount Good Nodes in Binary Tree Leetcode SolutionAmazonMicrosoftLeetCodeDepth First Search
EasyLucky Numbers in a Matrix Leetcode SolutionOracleLeetCodeArray
EasyLargest Substring Between Two Equal Characters Leetcode SolutionLeetCodeString
EasyBuild an Array With Stack Operations Leetcode SolutionGoogleLeetCodeStack
EasyDestination City Leetcode SolutionPayPalYelpLeetCodeString
EasyMaximum Score After Splitting a String Leetcode SolutionGoogleLeetCodeString
EasyMoving Stones Until Consecutive Leetcode SolutionFacebookLeetCode
EasyThousand Separator Leetcode SolutionLeetCodeString
EasyFind the Town Judge Leetcode SolutionAmazonLeetCodeGraph
EasyFactorial Trailing Zeroes Leetcode SolutionBloombergLeetCode
EasyFind the Distance Value Between Two Arrays Leetcode SolutionUberLeetCodeArray
EasyCrawler Log Folder Leetcode SolutionMercariLeetCodeStack
EasyExcel Sheet Column Title Leetcode SolutionAdobeGoogleLeetCode
EasyExcel Sheet Column Number Leetcode SolutionMicrosoftLeetCode
EasyIncreasing Decreasing String Leetcode SolutionAkuna CapitalLeetCodeSortingString
EasyNumber of Steps to Reduce a Number to Zero Leetcode SolutionAmazonGoogleHRTMicrosoftLeetCode
EasyRemove Palindromic Subsequences Leetcode SolutionAmazonLeetCodeString
EasyConvert Integer to the Sum of Two No-Zero Integers Leetcode SolutionHRTLeetCode
EasyRank Transform of an Array Leetcode SolutionAmazonFacebookGoogleLeetCodeArray
EasyDecompress Run-Length Encoded List Leetcode SolutionAmazonAppleGoogleLeetCodeArray
EasyMaximum Nesting Depth of the Parentheses Leetcode SolutionBloombergLeetCodeString
EasyDesign Parking System Leetcode SolutionAmazonLeetCodeDesign
EasyMaximum 69 Number Leetcode SolutionHRTLeetCode
EasyDefanging an IP Address Leetcode SolutionAmazonLeetCodeString
EasyDistribute Candies to People Leetcode SolutionLeetCode
EasyMinimum Distance Between BST Nodes Leetcode SolutionGoogleLeetCodeTree
EasyReplace Elements with Greatest Element on Right Side Leetcode SolutionAmazonLeetCodeArray
MediumCombinations Leetcode SolutionAdobeAmazonAppleFacebookGoogleMicrosoftYahooLeetCodeBacktracking
EasyFind Winner on a Tic Tac Toe Game Leetcode SolutionAmazonAppleFacebookZohoLeetCodeArray
EasyString Matching in an Array Leetcode SolutionAmazonLeetCodeString
EasyNext Greater Element I Leetcode SolutionAmazonBloombergLeetCodeStack
EasyFind Common Characters Leetcode SolutionAmazonUberLeetCodeArrayHashing
EasyMinimum Time Visiting All Points Leetcode SolutionAmazonBloombergFacebookMedia.netLeetCodeArray
EasyFind N Unique Integers Sum up to Zero Leetcode SolutionAdobeAmazonFacebookMicrosoftLeetCodeArray
EasyIntersection of Two Arrays II Leetcode SolutionAmazonFacebookGoogleOracleLeetCodeSorting
EasyMinimum Absolute Difference Leetcode SolutionAudibleBloombergSAPUberLeetCodeArray
EasyDistance Between Bus Stops Leetcode SolutionGoogleLeetCodeArray
EasyValid Boomerang Leetcode SolutionGoogleLeetCode
EasyPartition Array Into Three Parts With Equal Sum Leetcode SolutionAmazonMicrosoftLeetCodeArray
EasyFind Common Characters Leetcode SolutionAdobeAmazonAppleBloombergGoogleMicrosoftTripAdvisorUberLeetCodeArrayHashing
EasyKeyboard Row Leetcode SolutionMathworksLeetCodeHashingString
EasyIs Subsequence Leetcode SolutionAdobeAmazonBloombergFacebookGoogleMicrosoftPinterestYandexLeetCodeDynamic ProgrammingString
EasyJewels and Stones Leetcode SolutionAdobeAmazonAppleFacebookGoogleMicrosoftYahooLeetCode
EasyShortest Completing Word Leetcode SolutionGoogleLeetCode
EasyCompare Strings by Frequency of the Smallest Character Leetcode SolutionGoogleOracleLeetCodeArrayString
EasyMaximum Number of Balloons Leetcode SolutionTeslaWayfairLeetCodeHashingString
EasyConstruct the Rectangle Leetcode SolutionLeetCode
EasyTo Lower Case Leetcode SolutionAdobeAppleGoogleLeetCodeString
EasyMinimum Absolute Difference in BST Leetcode SolutionGoogleLeetCodeTree
EasyStudent Attendance Record I Leetcode SolutionGoogleLeetCodeString
EasyCount Odd Numbers in an Interval Range Leetcode SolutionMicrosoftLeetCode
EasyAssign Cookies Leetcode SolutionAmazonLeetCode
EasyFind All Numbers Disappeared in an Array Leetcode SolutionAdobeAmazonAppleBloombergGoogleMicrosoftYahooLeetCodeArrayHashing
EasySubtract the Product and Sum of Digits of an Integer Leetcode SolutionCiscoGoogleUberLeetCode
MediumMajority Element II Leetcode SolutionAdobeAmazonAppleBloombergFacebookGoogleMicrosoftZenefitsLeetCodeArray
EasyRelative Ranks Leetcode SolutionGoogleLeetCodeSorting
EasyMajority Element Leetcode SolutionAmazonAppleAtlassianBloombergFacebookGoDaddyGoogleMicrosoftOracleRubrikSnapchatYahooZenefitsLeetCodeHashing
EasyContains Duplicate II Leetcode SolutionAmazonFacebookGoogleLeetCodeArrayHashing
EasyConvert a Number to Hexadecimal Leetcode SolutionFacebookMicrosoftLeetCode
EasyRelative Sort Array Leetcode SolutionAdobeAmazonDE ShaweBayGoogleMicrosoftLeetCodeArraySorting
EasyFind Words That Can Be Formed by Characters Leetcode SolutionAmazonLeetCodeArrayHashing
EasyBase 7 Leetcode SolutionBloombergGarenaLeetCode
EasySummary Ranges Leetcode SolutionFacebookYandexLeetCodeArray
EasyFind Numbers with Even Number of Digits Leetcode SolutionQuoraLeetCodeArray
EasyPower of Four Leetcode SolutionTwo SigmaLeetCode
EasyNumber of Equivalent Domino Pairs Leetcode SolutionAmazonLeetCodeArray
EasyCheck If It Is a Straight Line Leetcode SolutionPalantir TechnologiesLeetCodeArray
EasyPalindrome Linked List Leetcode SolutionAdobeAmazonAppleBloombergCapital OneCiscoFacebookGoogleGrabIntelIXLMicrosoftNutanixOraclePaytmSnapchatUberYandexLeetCode
EasyPascal’s Triangle II Leetcode SolutionAmazonMicrosoftLeetCodeArrayDynamic Programming
EasyMaximum Depth of Binary Tree Leetcode SolutionAdobeAmazonFacebookMicrosoftLeetCodeTree Traversal
EasyMaximum Depth of N-ary Tree Leetcode SolutionAmazonGoogleMicrosoftLeetCodeBreadth First SearchDepth First Search
EasySearch in a Binary Search Tree Leetcode SolutionAppleIBMLeetCode
EasyCount Largest Group Leetcode SolutionMercariLeetCodeArray
EasyFind the Difference Leetcode SolutionAdobeAmazonGoogleLeetCodeHashingString
MediumUnique Paths Leetcode SolutionAdobeAmazonAppleBloombergByteDanceFacebookGoldman SachsGoogleMathworksMicrosoftOracleQualtricsSalesforceSnapchatUberVMwareWalmart LabsLeetCodeArrayDynamic Programming
EasyAdd Binary Leetcode SolutionAmazonFacebookMicrosoftLeetCodeString
EasyMinimum Value to Get Positive Step by Step Sum Leetcode SolutionSwiggyLeetCodeArray
EasyValid Palindrome Leetcode SolutionAmazonAppleBloombergFacebookMicrosoftOracleWayfairLeetCodeString
EasyReverse Vowels of a String Leetcode SolutionAmazonFacebookGoogleLeetCodeString
EasyRoman to Integer Leetcode SolutionAdobeAmazonAppleBloombergFacebookGoldman SachsGoogleLinkedInMicrosoftOracleQualtricsRobloxUberYahooLeetCodeString
EasyN-th Tribonacci Number Leetcode SolutionFacebookLeetCodeDynamic Programming
MediumRotate List Leetcode SolutionAdobeAmazonBloombergFacebookLinkedInMicrosoftSamsungLeetCode
EasyPath Crossing Leetcode SolutionAmazonLeetCodeHashingString
EasyMatrix Diagonal Sum Leetcode SolutionAdobeLeetCodeArrayMatrix
EasyNumber of Good Pairs Leetcode SolutionAmazonMicrosoftLeetCodeArrayHashing
EasyThird Maximum Number Leetcode SolutionAmazonFacebookGoogleLeetCodeArray
MediumPow(x, n) Leetcode SolutionAdobeAmazonAppleAsanaBloombergeBayFacebookGoldman SachsGoogleLinkedInMicrosoftOraclePayPalUberVMwareWalmart LabsLeetCode
EasyFind Lucky Integer in an Array Leetcode SolutionMicrosoftLeetCodeArray
EasyReformat The String Leetcode SolutionMicrosoftLeetCodeString
EasyFind the Difference Leetcode SolutionAdobeAmazonGoogleLeetCodeHashing
MediumInsert into a Binary Search Tree Leetcode SolutionAmazonAppleAtlassianFacebookGoogleMicrosoftLeetCode
MediumIterative Inorder Traversal of a Binary TreetreeTree Traversal
EasyMerge Two Sorted Lists Leetcode SolutionsAdobeAmazonAppleBloombergCapital OneFacebookGoogleIBMMicrosoftOracleLeetCode
MediumMorris Inorder TraversaltreeTree Traversal
EasySum of Left Leaves Leetcode SolutionsAdobeLeetCodeTreeTree Traversal
EasyGenerate a String With Characters That Have Odd Counts Leetcode SolutionDiDiLeetCodeString
MediumPermutations Leetcode SolutionAdobeAmazonAppleAtlassianBloombergByteDanceeBayFacebookGarenaGoDaddyGoldman SachsGoogleLinkedInMicrosoftOracleSalesforceSAPUberVMwareWalmart LabsYahooLeetCodeBacktracking
EasyMinimum Depth of Binary Tree Leetcode SolutionAmazonAppleFacebookLeetCodeBreadth First SearchDepth First Search
EasyPower of Two Leetcode SolutionAppleLeetCode
EasyBalanced Binary Tree Leetcode SolutionAmazonGoogleMicrosoftLeetCodeArray
EasyTwo Sum Leetcode SolutionAppleByteDanceIntuitMicrosoftOracleLeetCode
EasyCount Primes Leetcode SolutionsAmazonAppleCapital OneGoogleMicrosoftLeetCodeHashing
MediumHouse Robber II Leetcode SolutionAdobeAmazonAppleeBayGoogleMicrosoftWalmart LabsLeetCodeDynamic Programming
EasySqrt(x) Leetcode SolutionAmazonAppleBloombergGooglelyftMicrosoftUberLeetCode
EasyHow Many Numbers Are Smaller Than the Current Number Leetcode SolutionAdobeAmazonBloombergLeetCodeArrayHashing
EasyConvert Sorted Array to Binary Search Tree Leetcode SolutionAdobeAirbnbAmazonAppleBloombergCiscoGoogleMicrosoftOracleSpotifyVMwareYahooLeetCodeDepth First Search
MediumMultiply Strings Leetcode SolutionAmazonAppleByteDanceExpediaFacebookGoogleHouzzMathworksMicrosoftOracleSquareTwitterUberZillowLeetCodeString
EasySum of All Odd Length Subarrays Leetcode SolutionLinkedInLeetCodeArray
EasyMerge Sorted Arrays Leetcode SolutionAdobeAmazonAppleBloombergByteDanceCiscoeBayExpediaFacebookGoldman SachsGoogleIBMLinkedInlyftMicrosoftNetflixOracleTableauUberVMwareYahooYandexLeetCodeArray
MediumSearch in Rotated Sorted Array Leetcode SolutionAdobeAlibabaAmazonAppleBloombergByteDanceCiscoeBayExpediaFacebookGoldman SachsGoogleJPMorganLinkedInMicrosoftNutanixNvidiaOraclePayPalPaytmSalesforceSamsungServiceNowTencentTeslaTripAdvisorTwitchUberVisaVMwareWalmart LabsYahooYandexZillowZulilyLeetCodeArray
MediumLexicographical Numbers Leetcode SolutionByteDanceLeetCodeDepth First Search
MediumInteger to Roman Leetcode SolutionAdobeAmazonAppleBlackRockBloombergEvernoteFacebookGoogleLinkedInMicrosoftOracleTwitterYahooLeetCodeString
EasySpecial Array With X Elements Greater Than or Equal X Leetcode SolutionGoogleLeetCodeArrayHashing
EasySearch Insert Position Leetcode SolutionAdobeAmazonAppleBloombergGoogleMicrosoftLeetCodeArray
EasyKids With the Greatest Number of Candies Leetcode SolutionAmazonBloombergLeetCodeArray
EasyMake The String Great Leetcode SolutionGoogleLeetCodeStackString
EasyRunning Sum of 1d Array Leetcode SolutionAdobeAmazonAppleBloombergUberLeetCodeArray
EasyLength of Last Word Leetcode SolutionGoogleLeetCodeString
MediumMinimum Score Triangulation of Polygon Leetcode SolutionUberLeetCodeDynamic Programming
EasySort Integers by The Number of 1 Bit Leetcode SolutionAdobeLeetCodeSorting
EasyPlus One Leetcode SolutionAdobeAmazonAppleCapital OneFacebookGoogleMicrosoftLeetCodeArray
EasyCheck If N and Its Double Exist Leetcode SolutionGoogleLeetCodeArray
EasyDay of the Year Leetcode SolutionZScalerLeetCode
EasySpecial Positions in a Binary Matrix Leetcode SolutionGoogleLeetCodeArrayMatrix
EasyWater Bottles Leetcode SolutionMicrosoftLeetCode
EasyMaximum Product of Two Elements in an Array Leetcode SolutionSamsungLeetCodeArray
EasyMean of Array After Removing Some Elements Leetcode SolutionGoogleLeetCodeArray
MediumSwap Nodes in Pairs Leetcode SolutionsAmazonAppleBloombergFacebookMicrosoftLeetCode
MediumKth largest element in an Array Leetcode SolutionsAdobeAmazonAppleByteDanceeBayExpediaFacebookGoogleLinkedInMicrosoftOracleSalesforceSpotifyWalmart LabsLeetCodeArray
EasyKth Missing Positive Number Leetcode SolutionFacebookMicrosoftLeetCodeArrayHashing
EasyXOR Operation in an Array Leetcode SolutionWalmart LabsLeetCodeArray
EasyThree Consecutive Odds Leetcode SolutionDjiLeetCodeArray
EasyUgly Number Leetcode SolutionLeetCode
EasyMax Consecutive Ones Leetcode SolutionAmazonLeetCodeArray
EasyHouse Robber Leetcode SolutionAmazonAppleCiscoMicrosoftOracleLeetCodeDynamic Programming
EasyHappy Number Leetcode SolutionAdobeAmazonAppleLeetCodeHashing
HardSqrt (or Square Root) Decomposition TechniqueCadence IndiaPayPalQualtricsRobloxTwilio
MediumRearrange Array such that arr[i] >= arr[j] if i is even and arr[i] <= arr[j] if i is odd and j < iAccentureAdobeAmazonFactsetZohoarray
MediumArmstrong NumberOracleVMware
MediumScramble StringAmazonFanaticsSamsungstringDynamic Programming Tree
EasySort Array By Parity II Leetcode SolutionAmazonLeetCodeArraySorting
EasyValid AnagramsAmazonGoldman SachsGoogleMicrosoftNagarrostringHashing
MediumContiguous ArrayAmazonMakeMyTripMorgan StanleyPaytmarrayHashing
MediumConvex Hull AlgorithmGeometricMorgan StanleySamsungalgorithm
MediumGroup AnagramsAmazonFacebookGoogleMicrosoftstringHashing
HardInteger to English wordsAmazonFacebookMicrosoftOraclestring
MediumUnique Paths IIAmazonVMwarematrixDynamic Programming
MediumMaximum Length of Repeated SubarrayIndeedKaratRobloxarrayDynamic Programming Hashing
EasyCount pair with Given SumAccoliteAmazonFactsetHikearrayHashing Sorting
EasyMinimum Delete Operations to make all Elements of Array SameAdobeFactsethashingArray
MediumMaximum Distance Between two Occurrences of Same Element in ArrayDelhiveryFactsetFanaticsFourkiteshashingArray
EasyGroup Multiple Occurrence of Array Elements Ordered by first OccurrenceAccoliteAdobeAmazonDelhiveryFourkiteshashingArray
MediumUnion and Intersection of two Linked Lists24*7 Innovation LabsAccoliteAmazonFlipkartKomli MediaMicrosoftTaxi4SureVMwareWalmart Labslinked-listSorting
MediumMaximum difference between frequency of two elements such that element having greater frequency is also greaterAccentureAccoliteAmazonVMwarearraySorting
EasyLemonade Change Leetcode SolutionAmazonAtlassianLeetCode
MediumFind the Smallest Divisor given a Threshold Leetcode SolutionAppDynamicsGoogleSAPWalmart LabsLeetCode
EasyMaximize Sum of Array after K Negations Leetcode SolutionAmazonLeetCodeArray
EasyValid Perfect Square Leetcode SolutionAmazonLeetCode
EasyAverage Salary Excluding the Minimum and Maximum Salary Leetcode SolutionNetSuiteLeetCode
HardSmallest Subarray with k Distinct NumbersAmazonGooglehashingArray
MediumAll Unique Triplets that Sum up to a Given ValueAccoliteAmazonFanaticsarrayHashing
EasyLongest Subarray Having Count of 1s One More than Count of 0sAccentureAmazonDE ShawSamsungarray
MediumMaximum Array from Two given Arrays Keeping Order SameAccentureAmazonDelhiveryFactsetFourkitesOYO RoomsPublicis SapientZohoarray
MediumRound Robin SchedulingAmazonFacebookGoogleMicrosoft
EasyCount Subarrays with Same Even and Odd ElementsAccentureFactsetFanaticsarray
HardFind Smallest Range Containing Elements from k ListsAmazonAppleGoogleUberdynamic-programmingString
MediumGuess Number Higher or Lower IIAmazonGoogleMicrosoftdynamic-programmingArray
EasyRearrange an Array Such that arr[i] is equal to iAccentureAdobeAmazonFanaticsFourkitesZohoarray
EasySegregate 0s and 1s in an ArrayAccoliteAmazonFabMakeMyTripPayPalPaytmZohoarray
MediumFind Largest d in Array such that a + b + c = dAccoliteAmazonDelhiveryFanaticsFourkitesFreeChargehashingArray
MediumMaximum Number of Chocolates to be Distributed Equally Among k StudentsAccentureAdobeAmazonFacebookFourkitesarray
EasyMaximum Consecutive Numbers Present in an ArrayAccoliteAdobeAmazonFourkitesMAQarray
EasyMove all Negative Numbers to Beginning and Positive to End with Constant Extra SpaceCapgeminiHikeMAQo9 solutionsTCSarraySorting
HardQueries for Number of Distinct Elements in a SubarrayAmazonGoogleMicrosoftOracleUberarrayTree
HardQueries on Probability of Even or Odd Number in given RangesGoogleHoneywellUberarray
MediumTotal Numbers With no Repeated Digits in a RangeAccoliteFactsetMAQarray
HardRange Minimum Query (Square Root Decomposition and Sparse Table)AmazonAppleGooglearray
MediumRange Sum Query using Sparse TableAmazonPublicis SapientZohoarray
HardCount and Toggle Queries on a Binary ArrayAmazonFacebookGoogleUberarray
MediumQueries for Decimal Values of Subarrays of a Binary ArrayAmazonGooglearray
MediumMaximize Elements Using Another ArrayAmazonFanaticsFourkitesarraySorting
EasyFind whether an array is subset of another arrayAccoliteGE HealthcareQualcommarraySorting
EasyMinimum swaps required to bring all elements less than or equal to k togetherAmazonAppDynamicsFactsetFourkitesMicrosofthashingArray
EasyMaximum sum of pairs with specific differenceAccoliteCourseraDelhiveryFourkitesSnapdealdynamic-programmingArray
MediumFind First and Last Position of Element in Sorted Array Leetcode SolutionAmazonBloombergByteDanceFacebookGoogleMicrosoftOracleUberLeetCodeArray
EasyMonotonic Array LeetCode SolutionAmazonFacebookLeetCodeArray
HardSmallest Good BaseGooglestring
EasyFind top three repeated in arrayMAQo9 solutionsWiprohashingArray
MediumMaximum sum of a path in a Right Number TriangleCitrixDE ShawDirectiExpediadynamic-programming
MediumSorting using trivial hash functionCadence IndiaCapgeminiFactsetMAQUHG OptumhashingArray Sorting
MediumMaximum number of segments of lengths a, b and cAmazonBlackRockByteDanceCitrixGoogleTeradataUberdynamic-programming
MediumMaximum subsequence sum such that no three are consecutive24*7 Innovation LabsAccentureAmazonDelhiveryPayPalPayUdynamic-programmingArray
EasyCount all subsequences having product less than KByteDanceCapital OneCodeNationDatabricksExpediaYandexdynamic-programmingArray
EasyFind duplicates in a given array when elements are not limited to a rangeAdobeAmazonFactsetMAQUHG OptumhashingArray
MediumMinimum insertions to form a palindrome with permutations allowedAmazonCodeNationDirectiGoogleIndeedIntuitstringDynamic Programming
HardLCS (Longest Common Subsequence) of three stringsAmazonCodeNationExpediaGoogleUberZohodynamic-programmingString
MediumCheck if Array Contains Contiguous Integers With Duplicates AllowedAccentureAmazonDirectiFacebookIntuithashingArray String
MediumCourse Schedule II – LeetCodeLeetCodeBreadth First SearchDepth First SearchGraphTopological Sort
MediumSubset Sum LeetcodeLeetCodeArrayDynamic Programming
MediumCapacity To Ship Packages Within D Days Leetcode SolutionAmazonLeetCodeArray
EasyThe K Weakest Rows in a Matrix Leetcode SolutionAmazonLeetCodeArray
MediumAdd and Search Word – Data structure design LeetCodeLeetCodeBacktrackingDesignStringTrie
HardBest Time to Buy and Sell Stock III Leetcode SolutionAdobeAmazonLeetCodeArrayDynamic Programming
EasyShuffle String Leetcode SolutionFacebookLeetCodeSorting
MediumBest Time to Buy and Sell Stock with Cooldown Leetcode SolutionAdobeAmazonGoldman SachsYahooLeetCodeDynamic Programming
EasyCan Make Arithmetic Progression From Sequence Leetcode SolutionAmazonLeetCodeArraySorting
EasyLargest Perimeter Triangle Leetcode SolutionC3 IoTLeetCodeSorting
EasyBest Time to Buy and Sell Stock  II Leetcode SolutionAmazonDE ShawFacebookMicrosoftMorgan StanleyUberLeetCodeArray
MediumBest Time to Buy and Sell Stock with Transaction Fee Leetcode SolutionAmazonLeetCodeArrayDynamic Programming
EasySum of f(a[i], a[j]) over all pairs in an array of n integersCiscoFacebookHikePublicis SapienthashingArray
MediumLongest Repeated SubsequenceAmazonArcesiumAvalaraByteDanceCapital OneFacebookMetLifedynamic-programmingString
EasyCount of index pairs with equal elements in an arrayAmazonAtlassianCitadelFacebookIntuitSnapdealSquareYandexhashingArray Sorting
EasyFind Sum of all unique sub-array sum for a given arrayAmazonFacebookGreyOrangeIntuitMicrosoftNagarrohashingArray Sorting
EasySequences of given length where every element is more than or equal to twice of previousAccentureAmazonCodeNationFacebookGooglePayPalQualcommdynamic-programming
HardFind maximum length Snake sequenceAmazonCodeNationExpediaYandexdynamic-programmingMatrix
MediumPrint all triplets in sorted array that form APAccentureAccoliteCadence IndiaGoogleInfoEdgeIntuitPinterestarray
HardMinimum sum of multiplications of n numbersAccentureBlackRockGE HealthcareJP MorganPayPaldynamic-programmingArray
MediumFind number of pairs in an array such that their XOR is 0Cadence IndiaCouponDuniaHoneywellIndeedInfoEdgeMoonfrog LabsPinterestarraySorting
EasyCount ways to reach the nth stair using step 1, 2 or 3AmazonCodeNationGE HealthcareMicrosoftMoonfrog LabsPayPalUberdynamic-programming
MediumMinimum Sum Path in a TriangleAmazonAppleBloombergdynamic-programmingArray
MediumLongest subarray not having more than K distinct elementsAmazonCitadelDelhiveryFacebookMicrosoftSamsungYandexhashingArray
MediumMorris TraversalAmazonFacebookFourkitesGoogleMicrosofttreeTree Traversal
HardKth ancestor of a node in binary treeAmazonGoogletreeTree Traversal
HardMaximum possible difference of two subsets of an arrayAtlassianCadence IndiaDirectiFreeChargeOperaPayUSnapchatTimes InternetXomehashingArray Sorting
MediumFind postorder traversal of BST from preorder traversalAmazonFourkitesPayUtreeTree Traversal
HardInorder Successor of a node in Binary TreeAmazonExpediaMorgan StanleyOYO RoomsSnapchattree
EasyGiven an Array of Pairs Find all Symmetric Pairs in itAmazonCapgeminiCiscoFreeChargeMoonfrog LabsOperaXomearray
EasyMinimum operation to make all elements equal in arrayAmazonBlackRockCitadelDirectiFlipkartIndeedYandexhashingArray
EasyCheck if a given array can represent Preorder Traversal of Binary Search TreeAdobeAmazonLinkedIntreeStack
MediumConstruct Binary Tree from given Parent Array representationAmazonMicrosoftSnapdealtreeArray
MediumGiven a binary tree, how do you remove all the half nodes?AccoliteAmazonMicrosoftPayUSnapdealSynopsysYahootree
EasyIterative Preorder TraversalAmazonGoogleJP MorganMicrosoftMorgan StanleyUbertreeTree Traversal
MediumFind subarray with given sum (Handles Negative Numbers)AmazonCouponDuniaDelhiveryGE HealthcareInfoEdgeMoonfrog LabshashingArray
MediumLength of the largest subarray with contiguous elementsAdobeAmazonBloombergCiscoKaratMonotype SolutionsPaytmPayUPublicis SapientSAP LabshashingArray
EasyFind distance between two nodes of a Binary TreeAmazonLinkedInMakeMyTripNetflixSamsungtree
MediumMaximum Number of Coins You Can Get Leetcode SolutionLeetCodeSorting
MediumCount number of triplets with product equal to given numberAccoliteAmazonCiscoFlipkartKulizaPublicis SapienthashingArray
MediumMaximum difference between first and last indexes of an element in arrayAccoliteAmazonHikeMakeMyTripOla CabsSAP LabshashingArray
EasyWrite Code to Determine if Two Trees are IdenticalAmazonFactsetFanaticsGE HealthcareMicrosoftPayPaltree
HardFind any one of the multiple repeating elements in read only arrayCapital OneFacebookGoogleIndeedMicrosoftPinteresthashingArray
EasyFind elements which are present in first array and not in secondAccoliteDelhiveryFactsetFanaticsSnapdealZohohashingArray
MediumBoundary Traversal of binary treeAccoliteAmazonHikeKritikal SolutionsMicrosoftMorgan StanleyPayUSnapdealtreeTree Traversal
HardCheck for Palindrome after every character replacement QueryAmazonFacebookFlipkartGoogleNetflixhashingString
EasyDifference between highest and least frequencies in an arrayCitadelFabFourkitesRobloxTeslahashingArray Sorting
MediumDiagonal Traversal of Binary TreeAmazonFactsetFanaticsFourkitesOraclePayUQuoratreeTree Traversal
MediumKoko Eating Bananas Leetcode SolutionFacebookLeetCode
EasyBottom View of a Binary TreeAccoliteAmazonCouponDuniaFlipkartPaytmWalmart LabstreeTree Traversal
MediumLetter Combinations of a Phone NumberAmazonAppleAtlassianCapital OneDatabrickseBayFacebookGoogleMicrosoftMorgan StanleyOracleQualtricsTwilioUberVMwareWalmart LabsqueueBacktracking Depth First Search String
HardFind four elements that sum to a given value (Hashmap)AmazonGoogleMicrosofthashingArray Sorting
MediumCount even length binary sequences with same sum of first and second half bits24*7 Innovation LabsAmazonDellGE Healthcaredynamic-programming
EasyLongest subsequence such that difference between adjacents is oneAmazonAvalaraFactsetFourkitesMicrosoftdynamic-programmingArray
MediumFind all triplets with zero sumAmazonGE HealthcareGoogleHikearraySorting
Easyk-th missing element in increasing sequence which is not present in a given sequenceCitadelExpediaFabFactsetIBMSAP LabshashingArray
EasyHow to check if two given sets are disjoint?FactsetHikeKulizaNagarroOperaSnapdealhashingArray Sorting
EasyCheck if a given array contains duplicate elements within k distance from each otherAmazonAvalaraCitadelFreeChargeHackerRankSnapchatSnapdealhashingArray
EasyPrint Right View of a Binary TreeAccoliteAdobeAmazonMakeMyTripSnapdealtreeTree Traversal
Count Negative Numbers in a Sorted Matrix LeetCode SolutionLeetCodeMatrix
MediumCheck if two arrays are equal or notAccentureGoldman SachsMAQo9 solutionsTaxi4SureTwiliohashingArray Sorting
MediumPair with given product24*7 Innovation LabsAmazonAvalaraQuoraRobloxhashingArray
MediumMaximum path sum in a triangleArcesiumCodeNationGE HealthcarePayUUberZohodynamic-programming
EasyPath with maximum average valueCiscoEpic SystemsGreyOrangeSAP LabsTimes Internetdynamic-programmingArray Matrix
EasyMaximum Distance in ArrayAdobeAmazonGoogleOraclematrixArray
MediumFind if there is a subarray with 0 sumCitrixDE ShawGoldman SachsIndeedMakeMyTripOYO RoomsPaytmTCShashingArray
EasyFind missing elements of a rangeDelhiveryGreyOrangeLinkedInNagarroOperaSynopsyshashingSorting
EasyFirst element occurring k times in an arrayAmazonHikePayUSAP LabsTeradataWiproYatraZohohashingArray
EasyMaximum product of an increasing subsequenceAccoliteGE HealthcareHackerRankIBMSnapchatYahoodynamic-programmingArray
HardPrint all subarrays with 0 sumAmazonFreeChargeIndeedInfo EdgeMicrosoftOYO RoomshashingArray
EasyContains DuplicateAdobeAmazonApplehashingArray
MediumPrint Maximum Length Chain of PairsAmazondynamic-programming
EasyPrint n terms of Newman-Conway SequenceAmazonCitadelFactsetFanaticsJP Morgandynamic-programming
HardCount Substrings with equal number of 0s, 1s and 2sCitrixFreeChargeGoldman SachsOYO RoomsTimes InternetTwiliohashingString
MediumLongest Substring Without Repeating CharactersAdobeAlationAmazonAppleBloombergByteDanceCiscoeBayExpediaFacebookGoldman SachsGoogleMicrosoftMorgan StanleyOracleSAPSAP LabsSpotifyUberVMwareYahoostringHashing
MediumRemove Duplicates from Sorted List IIAmazonlinked-list
MediumForm minimum number from given sequenceAccoliteAmazonFanaticsGoldman SachsInfo EdgeSnapchatstringArray Stack
MediumPrint modified array after executing the commands of addition and subtractionByteDanceCiscoCitrixFreeChargeHackerRankNagarroOperaTeradatadynamic-programmingArray
EasyWrite a function to get the intersection point of two Linked ListsAccoliteAmazonDE ShawFactsetGoldman SachsMakeMyTripMAQMicrosoftQualcommSnapdealVisaZopperlinked-list
EasyNewman-Conway SequenceAmazonHoneywelldynamic-programming
MediumGenerate all possible sorted arrays from alternate elements of two given sorted arraysDirectiKaratPayPalTwilioYandexarray
MediumMoser-de Bruijn SequenceFreeChargeSnapdealTimes Internetdynamic-programming
HardRange Queries for Longest Correct Bracket SubsequenceAmazonCodeNationGooglePayPalUberdynamic-programmingArray Stack
HardPrint modified array after multiple array range increment operationsExpediaFreeChargeGoogleIndeedMoonfrog LabsOla CabsQualtricsdynamic-programmingArray
MediumNumber of indexes with equal elements in given rangeGreyOrangeIndeedOperaPinterestSnapdealYahoodynamic-programmingArray
HardLongest Bitonic SubsequenceCodeNationDE ShawGoogleJP MorganMicrosoftdynamic-programmingArray
EasyGolomb sequenceCadence IndiaIndeedTimes InternetYatradynamic-programming
HardArray Queries for multiply replacements and productCadence IndiaDE ShawExpediaGooglearray
EasyNewman–Shanks–Williams primeHackerRankdynamic-programming
HardDifference Array | Range update query in O(1)ArcesiumCodeNationDirectiExpediaGoogleQualcommdynamic-programmingArray
HardPainting Fence AlgorithmCodeNationFacebookGoogleIntuitJP MorganMorgan Stanleydynamic-programmingArray
EasyCheck in binary array the number represented by a subarray is odd or evenCiscoFabIBMMicrosoftPayUSnapchatSnapdealTeradataarray
MediumLargest subarray with equal number of 0s and 1sAmazonCourseraGreyOrangeMakeMyTripMorgan StanleyPaytmSynopsysTimes InternethashingArray
MediumBinary array after M range toggle operationsAmazonCourseraGoldman SachsGoogleGreyOrangeSnapchatdynamic-programmingArray
EasyConstant time range add operation on an arrayCodeNationDE ShawDirectiExpediaGoogledynamic-programmingArray
MediumDelete Nth node from the end of the given linked listAdobeAmazonArcesiumFactsetIntuitZoholinked-list
EasyDelete a Node from linked list without head pointerGE HealthcareMAQlinked-list
MediumCount Primes in RangesGoogleHikeKulizaSieveSnapchatYahoodynamic-programming
EasyPrint the Fibonacci numbers in reverse orderAccentureMAQo9 solutionsUHG Optumdynamic-programming
EasyPrint Fibonacci sequence using 2 variablesAmazonDelhiveryFactsetFourkitesHikeMAQo9 solutionsPayUdynamic-programming
EasyNon-overlapping sum of two setsAccoliteAmazonHikeKulizaPinterestSnapdealSynopsysTeradatahashingArray
HardFind all pairs (a, b) in an array such that a % b = kAmazonArcesiumCitadelDirectiFreeChargeYahoohashingArray
HardRange LCM QueriesAmazonDirectiGoogleIndeedPayPalSnapdealUbertreeArray
MediumQueries on XOR of greatest odd divisor of the range24*7 Innovation LabsCitadelDirectiExpediaGoogleIndeedSnapdealdynamic-programmingArray
EasyCompute nCr % pAccentureCadence IndiaKomli MediaOla CabsSquaredynamic-programming
EasyCutting a RodAmazonDirectiFlipkartGoogleJP MorganMicrosoftdynamic-programming
HardQueries for counts of array elements with values in given rangeCourseraDE ShawGooglePayUSnapdealTimes InternetYahooarray
HardNumber of elements less than or equal to a given number in a given subarrayCodeNationDE ShawGoogleOperaPayPalPinteresttreeArray
MediumLargest divisible pairs subsetAmazonGoogledynamic-programming
HardGCDs of given index ranges in an arrayDE ShawPayPalSnapchatSnapdealTimes InternetXometreeArray
HardQueries for GCD of all numbers of an array except elements in a given rangeAmazonCapital OneDE ShawGooglePayPalQuoraTeradatadynamic-programmingArray
HardFind whether a subarray is in form of a mountain or notAmazonBlackRockCiscoCitrixFactsetHoneywellTeslaYandexdynamic-programmingArray
MediumMean of range in arrayCadence IndiaExpediaFreeChargeGreyOrangeRobloxSnapchatSnapdealTimes InternetYandexdynamic-programmingArray
HardSubset with sum divisible by mArcesiumCiscoDE ShawDirectiExpediaMyntraPayUdynamic-programmingArray
MediumCheck if any two intervals overlap among a given set of intervalsAmazonArcesiumCiscoDirectiJP MorganMicrosoftQualcommYandexdynamic-programmingSorting
EasyRange sum queries without updatesBlackRockGE HealthcareMoonfrog LabsSynopsysTaxi4SureTwiliodynamic-programmingArray
EasyMax stackApplelyftUberstackDesign
MediumSubset Sum Problem in O(sum) spaceAdobeAmazonDrishti-Softdynamic-programmingArray
EasyFind Index of Closing Bracket for a Given Opening Bracket in an ExpressionAdobeAmazonFlipkartOracleOYO RoomsSnapdealWalmart LabsYatrastackArray String
HardProducts of ranges in an arrayAccoliteDE ShawFreeChargeGoogleSAP LabsSnapdealTimes Internetarray
EasyFriends Pairing ProblemAmazonExpediaGE HealthcareGoogleHoneywellJP Morgandynamic-programming
EasyHappy NumberAdobeAmazonAppleJP Morgan
EasyPalindrome PermutationFacebookMicrosoftarrayHashing String
MediumGold Mine ProblemAmazonFlipkartGoogleMicrosoftPayUUberdynamic-programmingArray Matrix
EasyPalindrome NumberAdobeAmazonBloombergDBOIGoogleMAQMicrosofto9 solutions
EasyDesign a stack that supports getMin() in O(1) time and O(1) extra spaceAdobeAmazonFactsetFlipkartGoldman SachsGreyOrangeKulizaMicrosoftPaytmPublicis SapientSAPSnapdealVMwarestack
MediumFind Maximum Level sum in Binary TreeAmazontreeBreadth First Search Queue Tree Traversal
EasyTiling Problem24*7 Innovation LabsAmazonDE ShawDelhiveryPayPaldynamic-programming
MediumPermutation CoefficientBankBazaarXomedynamic-programming
EasySort a stack using recursionAmazonGoldman SachsIBMKulizaYahoostack
EasyLongest Increasing Consecutive SubsequenceAmazonGoogleMicrosoftdynamic-programmingArray
HardRed-Black Tree IntroductionAmazonCodeNationFacebookGoogleUbertree
EasyDelete middle element of a stackAmazonstack
MediumSorting array using StacksAmazonGoldman SachsIBMKulizaYahoostackSorting
MediumBinomial CoefficientDirectiExpediaHackerRankXomedynamic-programming
HardBinary Search Tree Delete OperationAccoliteAmazonQualcommSamsungtree
EasyBest Time to Buy and Sell StockAdobeAmazonAppleBloombergByteDanceCiscoDE ShaweBayExpediaFacebookGoldman SachsGoogleJP MorganMicrosoftMorgan StanleyOraclePayPalQualtricsSamsungVMwaredynamic-programmingArray
MediumImplementation of Deque using Doubly Linked ListAdobeAlationAmazonAmerican ExpressDE ShawFactsetFourkitesGE HealthcareGoogleOxigen WalletQualcommSpotifySprinklrUHG OptumWookerXomeZScalerlinked-listQueue
MediumDelete consecutive same words in a sequenceFactsetstringArray Sorting Stack
MediumIterative Method to find Height of Binary TreeAccoliteAdobeAmazonFanaticsFourkitesHikeSnapdealYatratreeQueue
MediumSort a stack using a temporary stackAmazonGoldman SachsIBMKulizaYahoostackSorting
EasyReverse a stack without using extra space in O(n)FactsetInfosysMAQstack
HardClone a Binary Tree with Random PointersAccoliteAmazonCiscoFactsetFanaticsGoogleMicrosoftOperaSnapchattree
MediumTop K Frequent ElementsAmazonAppleBloombergByteDanceCapital OneeBayFacebookGoogleMicrosoftOraclePocket GemsqueueArray Hashing
MediumLevel order traversal using two QueuesAmazonHikeMicrosoftMorgan StanleyqueueBreadth First Search Tree Tree Traversal
EasyBubble sort using two StacksAmazonCapgeminiDelhiveryMAQstackArray Sorting
HardText JustificationAmazonCourseraGoogleIndeedLinkedInMicrosoftPinterestSnapchatstring
EasyReverse individual wordsAmazonstringStack
MediumCount subarrays where second highest lie before highestHackerRankstackArray
MediumFind the smallest binary digit multiple of given numberAmazonFourkitesLinkedInMicrosoftSnapdealgraphBreadth First Search
MediumMinimum Operations to convert X to YAmazonFactsetFanaticsFourkitesJP MorganMyntraSamsungSpotifySquaregraphBreadth First Search
EasyFind maximum difference between nearest left and right smaller elementsFourkitesstackArray
MediumRemove brackets from an algebraic string containing + and – operatorsAdobeAmazonFourkitesstackString
EasyImplement a stack using single queueAmazonFourkitesGoogleInfosysMAQMicrosoftstackQueue
HardFind the First Circular Tour that visits all the Petrol PumpsAmazonFactsetMicrosoftMorgan StanleyZohoqueue
EasySort an array according to the order defined by another arrayAmazonMicrosoftSAP LabsSnapchatYahooZohoarraySorting
MediumRearrange a binary string as alternate x and y occurrencesAccoliteCiscoCitrixHikeIBMInfo EdgePinterestRobloxTeslastring
MediumShuffle 2n integers as a1-b1-a2-b2-a3-b3-..bn without using extra spaceAdobeDE ShawExpediaFanaticsIndeedPayUarray
EasyDistinct adjacent elements in an arrayCourseraDE ShawHikeIBMKulizaNagarroOperaOYO RoomsZohoarray
HardConstruction of Longest Increasing Subsequence (N log N)AmazonBankBazaarPaytmSamsungarrayDynamic Programming
EasyMaximize sum of consecutive differences in a circular arrayCadence IndiaeBayGE HealthcareKaratQuoraSAP LabsSquarearraySorting
EasyThree way partitioning of an array around a given rangeBankBazaarBlackRockCapital OneCitadelFabMoonfrog LabsSynopsysTwilioYahooarray
Minimum time required to rot all orangesAdobeAmazonBloombergMicrosoftgraphArray Breadth First Search Matrix
MediumCheck if X can give change to every person in the QueueAmazonarrayQueue
MediumCheck if two nodes are on the same path in a TreeAmazonFactsetFourkitesSamsunggraphDepth First Search
HardCheck if all levels of two Binary Tree are anagrams or notAdobeAmazonFacebookFanaticsFourkitesGreyOrangetreeQueue
MediumMinimum sum of squares of character counts in a given string after removing k charactersAmazonqueueString
EasyRearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’AmazonDelhiveryKulizaNagarroOperaTimes InternetYatraarray
MediumMaximum length subsequence with difference between adjacent elements as either 0 or 1CiscoExpediaQualtricsSAP LabsTeradataarrayDynamic Programming
EasyReplace two consecutive equal values with one greaterAccentureCitadelFreeChargePayPalSquareTeradataarray
MediumFind a sorted subsequence of size 3 in linear timeAvalaraCapital OneCitadelCitrixeBayFabSynopsysarray
MediumMaximum Product SubarrayAmazonCiscoMicrosoftMorgan StanleyMyntraPayUTimes InternetZohoarray
EasyConvert array into Zig-Zag fashionAccentureAmazonFourkitesTeradataXomearray
MediumFirst negative integer in every window of size kAccoliteAmazonPayPalSorocoqueueArray
MediumQueue based approach for first non-repeating character in a streamAmazonFlipkartMicrosoftPayUYahooqueueString
HardDistance of nearest cell having 1 in a binary matrixAccentureAmazonHoneywellHSBCHuluTwitterqueueArray Breadth First Search Graph Matrix
HardSum of minimum and maximum elements of all subarrays of size kByteDanceCapital OneCouponDuniaDatabricksGoogleTwilioYandexqueueArray
MediumAn Interesting Method to generate Binary Numbers from 1 to nAmazonBelzabarMahindra ComvivaServiceNowWookertreeBreadth First Search Queue
HardFind the largest multiple of 3AmazonqueueDynamic Programming Sorting
Transpose GraphAccentureAmazonJP MorganMicrosoftZycusgraph
EasyCheck if the given array can represent Level Order Traversal of Binary Search TreeAmazonCitrixIBMIndeedInfo EdgeOYO RoomsTeradatatreeQueue Tree Traversal
HardNumber of siblings of a given Node in n-ary TreeAmazonBloombergCodeNationGoogletreeQueue Tree Traversal
HardCheck whether a given Binary Tree is Complete or notAlationAmerican ExpressDatabricksOxigen WalletSpotifytreeQueue
EasyCount the number of nodes at given level in a tree using BFSAlationBankBazaarJP MorganSquareTaxi4SuretreeBreadth First Search Graph Tree Traversal
EasyBFS for Disconnected GraphAmazonHuluKaratMicrosoftSalesforcegraphBreadth First Search
MediumPage Replacement Algorithms in Operating SystemsAmazonCognizantFactsetMicrosoftPayPalalgorithm
MediumCheck if a queue can be sorted into another queue using a stackAmazonAmerican ExpressMAQqueueSorting Stack
MediumPriority Queue using doubly linked listAmazonCitadelMAQWookerqueue
EasyImplement Stack and Queue using DequeFanaticsGE HealthcareMAQMyntraQualcommqueueStack
MediumForm Minimum Number From Given SequenceAmazonGoldman SachsstackArray String
MediumMinimum number of distinct elements after removing m itemsBlackRockByteDanceExpediaOla CabsOraclePayUSAP LabsYandextreeArray
HardConvert BST into a Min-Heap without using arrayAmazonCiscoMicrosoftSAP Labstree
MediumPattern Occurrences using StackstackString
MediumNumber Of Longest Increasing SubsequenceAmazonSamsungZohodynamic-programmingArray
HardMerge two BSTs with limited extra spaceAmazonGoogleMicrosoftPayUUbertree
EasyCount subarrays with equal number of 1’s and 0’sCiscoCouponDuniaCourseraDatabricksKaratSAP LabsTeslahashingArray
EasyIterative Postorder Traversal Using Two StacksAdobeAmazonFactsetFourkitesPaytmstackTree
MediumStack Permutations (Check if an array is stack permutation of other)AmazonFourkitesstackQueue
HardPalindrome Substring QueriesAmazonByteDanceeBayExpediaGoogleIntuitMicrosoftPayPalPinterestSynopsyshashingDynamic Programming String
EasyRearrange array such that even index elements are smaller and odd index elements are greaterAvalaraEpic SystemsFourkitesRobloxTeslaarray
EasySegregate even and odd numbersAccoliteLinkedInMakeMyTripPaytmarraySorting
HardMinimum Steps to reach target by a KnightAmazonLinkedInMakeMyTripgraphBreadth First Search Dynamic Programming Queue
MediumBinary Tree to Binary Search Tree Conversion using STL setAmazonCourseraGoogleIndeedMicrosoftOYO Roomstree
MediumGrowable array based stackMAQWalmart LabsstackArray
EasyFind Minimum In Rotated Sorted ArrayAdobeAmazonMicrosoftMorgan StanleySamsungSnapdealTimes Internetarray
MediumImplementation of Deque using circular arrayAmazonGE HealthcareGoogleMicrosoftqueueArray
EasyMove all negative elements to end in order with extra space allowedCapital OneCitrixIBMSAP LabsTaxi4SureTwilioarray
HardK’th Largest element in BST using constant extra spaceAmazonExpediaFreeChargeMicrosoftSnapdealYahooYandextree
MediumRearrange an array in order – smallest, largest, 2nd smallest, 2nd largestAmazonCitadelExpediaGE HealthcareQualcommQualtricsTwilioYatrasortingArray
EasyRearrange array such that even positioned are greater than oddAmazonLinkedInOYO RoomsTimes InternetZohoarraySorting
MediumDouble the first element and move zero to endMicrosoftZohoarray
EasyArrange given numbers to form the biggest numberAmazonMakeMyTripPaytmZohostringArray
MediumK’th Largest Element in BST when modification to BST is not allowedAmazonCiscoGoogleUHG Optumtree
EasyTracking current Maximum Element in a StackFactsetFourkitesInfosysstack
MediumIterative method to find ancestors of a given binary treeAdobeAmazonFourkitesGoogleInfoEdgeMorgan StanleyPaytmSamsungstackTree
EasyCheck if stack elements are pairwise consecutiveDelhiveryFactsetFourkitesstack
EasyRemove duplicates from sorted arrayAmazonFacebookMorgan StanleyWiproXomeZohoarray
EasyCheck if each internal node of a BST has exactly one childAccentureAmazonMonotype SolutionsPayPalSynopsystree
MediumElements to be added so that all elements of a range are present in arrayGreyOrangeKulizaSnapdealSynopsysTeradataTimes InternethashingArray Sorting
MediumCount subarrays having total distinct elements same as original arrayAmazonDatabricksFabHoneywellPayUSquareTeradataYandexhashingArray
EasyProduct of array except selfAccoliteAmazonDE ShawMorgan StanleyOperaarray
MediumHeight of a generic tree from parent arrayGooglePayUQualcommSprinklrUbertreeBreadth First Search Dynamic Programming Graph Queue
MediumFind k-th smallest element in BST (Order Statistics in BST)AccoliteAmazonGoogletree
EasyLinked List CycleAccoliteAmazonMAQSamsunglinked-list
MediumVertical sum in a given binary treeAmazonMicrosofttree
EasyA program to check if a binary tree is BST or notAccoliteAdobeAmazonBoomerang CommerceFactsetGreyOrangeMakeMyTripMicrosoftOracleOYO RoomsQualcommSnapdealVMwareWalmart LabsWookertree
MediumCheck for Identical BSTs without building the treesFanaticsFourkitestree
EasyMaximum Depth Of Binary TreeAmazonCadence IndiaCouponDuniaFactsetFreeChargeMakeMyTripMonotype SolutionsSnapdealSynopsysTeradataVMwareZohotreeDepth First Search Tree Traversal
MediumPalindrome PartitioningAmazonFacebookGoogleMicrosoftdynamic-programmingBacktracking Depth First Search String
HardFirst missing positiveAccoliteAmazonFactsetSamsungSnapdealarray
MediumContiguous Array LeetcodeAmazonFacebookGoogleLeetCodeArrayHashing
EasyReverse IntegerMakeMyTripMAQstring
EasyReverse words in a stringAccoliteAdobeAmazonCiscoGoldman SachsMakeMyTripMAQMicrosoftMorgan StanleyPaytmPayUSAP LabsWiproZohostring
EasyReverse a StringInfosysMAQo9 solutionsTCSstring
EasySeconds to DaysMAQ
HardProgram for Bridge and Torch problemAccoliteeBayQuoraSnapdealTeradataTimes Internetdynamic-programmingArray
HardCuckoo HashingEpic SystemsFlipkartGoogleMicrosoftNetflixTeslahashing
MediumSubarrays with distinct elementsCiscoFreeChargeTimes InternetZohohashingArray
EasyFind the minimum distance between two numbersCouponDuniaCourseraDelhiveryMoonfrog LabsPayPalPaytmSnapchatarray
HardBoolean Parenthesization ProblemAmazonLinkedInMicrosoftdynamic-programming
HardK maximum sums of overlapping contiguous sub-arraysCodeNationDellFacebookGE HealthcareGoogleQualcommdynamic-programmingArray
MediumCount quadruples from four sorted arrays whose sum is equal to a given value xAccoliteFanaticsMoonfrog LabsSynopsyshashingArray Sorting
MediumCount pairs from two linked lists whose sum is equal to a given valueAdobeAmazonAvalaraExpediaFanaticsGoogleIndeedMicrosoftPayPalTeslahashingSorting
EasyFind sum of non-repeating elements (distinct) elements in an arrayOxigen WallethashingArray Sorting
HardFind distinct elements common to all rows of a matrixBlackRockExpediaJP MorganQualcommSnapdealYatraZohohashingMatrix Sorting
EasyNumbers with prime frequencies greater than or equal to kAccoliteAmazonFactsetFourkitesGreyOrangePinterestXomehashingArray
MediumConvert an array to reduced formLinkedInSnapchatXomeYahoohashingArray Sorting
MediumFind pairs with given sum such that elements of pair are in different rowsAmazonDE ShawDirectiGreyOrangeIndeedPinterestTeradatahashingArray Matrix
MediumCommon elements in all rows of a given matrixAmazonCiscoDE ShawOperaSAP LabsZohohashingArray Matrix
EasyCount pairs from two sorted arrays whose sum is equal to a given value xBankBazaarCiscoCitadelHoneywellPayURobloxTaxi4SureYandexarraySorting
MediumFind all permuted rows of a given row in a matrix24*7 Innovation LabsAccentureExpediaIBMJP MorganQuorahashingArray Matrix
MediumHow to print maximum number of A’s using given four keysAmazonFacebookGooglePayPalPaytmdynamic-programming
MediumCollect maximum points in a grid using two traversalsAmazonFabGoldman SachsGoogleHoneywellLinkedInPinterestYahoodynamic-programmingArray Matrix
EasyGiven two unsorted arrays find all pairs whose sum is xAmazonFacebookhashingArray
HardConvert BST to Min HeapAmazonBlackRockByteDanceGE HealthcareHoneywelltree
EasySort elements by frequencyAmazonOracleZohoZycushashingArray Sorting
EasyConvert String To IntMAQstring
EasyFind the first repeating element in an array of integersAmazonFanaticsMAQMicrosoftOraclehashingArray
MediumMaximum weight transformation of a given stringAmazonBlackRockByteDanceCodeNationDE ShawExpediaJP MorganOla Cabsdynamic-programmingString
HardWord Wrap ProblemArcesiumFactsetGreyOrangeMicrosoftMyntraOla CabsPayUdynamic-programming
HardThe Painter’s Partition ProblemCodeNationGoogledynamic-programming
Maximum Subarray Sum Excluding Certain ElementsAccoliteCodeNationDirectiJP MorganQualcommdynamic-programmingArray
HardMerge Two Balanced Binary Search TreesAmazonGE HealthcareGoogleMicrosoftSalesforceSpotifytree
EasyBinary Search Tree Search and InsertionAmazonDBOIFanaticsGE HealthcareMAQMicrosoftUHG Optumtree
EasyCount items common to both the lists but with different pricesAmazonFactsetGE HealthcareHoneywellTCSTeslahashing
HardMobile Numeric Keypad ProblemAmazonMAQMicrosoftSprinklrdynamic-programmingMatrix String
EasyFind the subarray with least averageAmazonCapital OneMoonfrog Labsarray
EasyFind the smallest positive integer value that cannot be represented as sum of any subset of a given arrayDatabricksFabTaxi4SureUHG Optumarray
EasyMinimum number of subsets with distinct elementsCapital OneGE HealthcareIBMMoonfrog LabsYandexhashingArray Sorting
MediumMaximum sum bitonic subarrayCiscoDE ShawDellFourkitesGoldman SachsGrofersIBMPayUQuoraYahoodynamic-programmingArray
EasyFind minimum number of merge operations to make an array palindromeAccoliteAdobeAmazonFourkitesarray
MediumMinimize the maximum difference between the heightsAdobeCiscoFanaticsYandexarray
MediumLongest Span with same Sum in two Binary arraysAccentureCiscoIndeedKulizaSAP LabsYandexhashingArray
MediumConvert a normal BST to Balanced BSTAmerican ExpressByteDanceCapital OneGrofersIntelSplunkZohotree
HardLargest area rectangular sub-matrix with equal number of 1’s and 0’sAccentureIndeedInfo EdgeMonotype SolutionsPayPalPinterestSynopsysTimes InternetUHG Optumdynamic-programmingArray Matrix
MediumA Space Optimized DP solution for 0-1 Knapsack ProblemAmazonBlackRockByteDanceCodeNationJP MorganNetskopeOla CabsQualcommdynamic-programming
EasyCheck given array of size n can represent BST of n levels or notAmazonHuluIntelJuniper NetworksMicrosoftRobinhoodYelptreeArray
EasyFind maximum average subarray of k lengthAmazonarray
HardPrinting brackets in Matrix Chain Multiplication ProblemAmazonAvalaraCitadelDatabricksDirectiJP MorganPaytmTwiliodynamic-programmingArray Matrix
EasySize of The Subarray With Maximum SumCourseraGreyOrangeUHG OptumXomedynamic-programmingArray
EasyFind minimum difference between any two elementsAmazonarraySorting
EasyMinimum number of jumps to reach endAdobeAmazonHousing.comMoonfrog LabsMorgan StanleyOYO RoomsSAP LabsWalmart Labsdynamic-programming
HardNumber of palindromic paths in a matrixAppleCodeNationFacebookFanaticsGoogledynamic-programmingMatrix
HardLargest rectangular sub-matrix whose sum is 0AmazonCodeNationDirectiExpediaFacebookGoogleIBMMicrosoftPayPalUberdynamic-programmingArray Matrix
MediumMaximum sum rectangle in a 2D matrixAccoliteAmazonFactsetSamsungdynamic-programmingArray Matrix
MediumCount minimum steps to get the given desired arrayCapital OneCitrixCourseraSynopsysZycusarray
EasyMaximum Sum Increasing SubsequenceAmazonFanaticsMicrosoftMorgan Stanleydynamic-programmingArray
EasyLargest Sum Contiguous Subarray24*7 Innovation LabsAccoliteAmazonDE ShawFactsetFlipkartHikeHousing.comMakeMyTripMetLifeMicrosoftMorgan StanleyOla CabsOracleOYO RoomsPayUSamsungSnapdealTeradataVisaVMwareWalmart LabsZohodynamic-programmingArray
MediumMatrix Chain MultiplicationAmazonCodeNationDE ShawGoogleMicrosoftUberdynamic-programmingArray Matrix
EasyBinary Tree to Binary Search Tree ConversionAdobeAmazonAppleBloombergGoogleMicrosoftVMwaretreeDepth First Search Tree Traversal
MediumSorted Linked List to Balanced BSTAmazonFacebooktree
EasySorted Array to Balanced BSTAdobeAmazonAppleBloombergGoogleMicrosoftVMwaretreeArray Depth First Search
MediumTransform a BST to Greater sum TreeAmazonBloombergFacebooktree
MediumConvert a BST to a Binary Tree such that sum of all greater keys is added to every keyFacebooktree
EasyAdvantages of BST over Hash TableAmazonGE HealthcareQualcommtree
EasyConstruct BST from its given Level Order TraversalAmazonAppleGE HealthcareMetLifeMicrosoftUHG OptumYelptreeBreadth First Search Tree Traversal
EasyConstruct BST from given Preorder TraversalAmazontreeStack Tree Traversal
BST to a Tree with Sum of all Smaller KeysBloombergDrishti-SoftMicrosoftServiceNowTwitterZoppertreeTree Traversal
MediumFind the node with minimum value in a Binary Search TreeAmazonBloombergMicrosofttreeBreadth First Search Queue
EasySingle NumberAmazonalgorithmArray
HardShortest PalindromeAmazonDelhiveryFactsetstring
MediumSubset LeetcodeAmazonAppleBloombergByteDanceFacebookGoogleMicrosoftOracleLeetCodeArrayBacktracking
MediumShuffle an ArrayAmazonFacebookGoogleMicrosoftOraclealgorithmArray Hashing
MediumMaximal SquareAdobeAmazonAppDynamicsAppleFacebookGoogleIBMPayPalTwittermatrixArray Dynamic Programming
MediumSuper Ugly NumberGoogledynamic-programming
EasyDividing Array into Pairs With Sum Divisible by KAmazonMicrosoftarray
EasyFind Number of Employees Under every EmployeeAccoliteGE HealthcareMicrosoftMyntraQualcommSynopsysTeradatahashing
MediumCount Distinct Elements in Every Window of Size KAccoliteAmazonMicrosoftarray
EasyCount Subsets Having Distinct Even NumbersCiscoExpediaMyntraSAP LabsTaxi4Surearray
MediumFind Three Element From Different Three Arrays Such That a + b + c = sumAmazonDatabricksDirectiJP MorganTaxi4SureTwilioZohoarrayHashing
EasySpecial NumberJioMAQo9 solutionsTCSalgorithm
MediumDivisible Pairs CountingMahindra ComvivaOracledynamic-programmingArray Hashing
MediumWord SearchAmazonAppleBloombergByteDanceCiscoFacebookIntuitMicrosoftOracleServiceNowSnapchatmatrixArray Backtracking
HardK Empty SlotsAmazonGooglealgorithmArray
MediumThe Knapsack ProblemMakeMyTripSnapdealVisaZohodynamic-programmingArray
MediumBellman Ford AlgorithmFacebookQualtricsalgorithmDynamic Programming Graph
MediumHuffman CodingAmazonBloombergGoogleMorgan StanleySamsungUHG OptumalgorithmHashing
MediumData Structure DesigningAmazonDBOIFacebookFanaticsFourkites
MediumLongest Increasing SubsequenceAdobeAmazonCitrixCodeNationFacebookGoogleMicrosoftSamsungZohoarrayDynamic Programming
EasyReverse BitsAppleGoogleSamsungstring
MediumConstruct Binary Tree from Given Inorder and Preorder TraversalsAmazonAppleBloombergByteDanceCitadelFacebookGoogleMicrosoftOracletreeDepth First Search
MediumSmallest Element Repeated Exactly K TimesBelzabarKomli MediaNetskopeNvidiaOperaServiceNowUHG OptumhashingArray String
MediumK-th Distinct Element in an ArrayAdobeAmazonAppleByteDanceeBayExpediaFacebookGoogleLinkedInMicrosoftOracleSalesforceSpotifyWalmart Labshashing
EasyCumulative Frequency of Count of Each Element in an Unsorted ArrayCadence IndiaFanaticsLinkedInMoonfrog LabsPinteresthashingArray Sorting
MediumGroup Words With Same Set of CharactersBlackRockCitrixIBMJP MorganSAP LabsXomehashingString
EasyFirst non Repeating ElementBelzabarKomli MediaMetLifeSnapdealSprinklrWookerhashingArray
EasySecond Most Repeated Word in a SequenceAmazonGE HealthcareGoldman SachsPaytmSnapdealUHG OptumhashingString
EasyCount Pairs Whose Products Exist in ArrayAccoliteAmazonBlackRockMoonfrog LabsOla CabsSnapchatXomearray
EasyPrint All Distinct Elements of a Given Integer ArrayAmazonMakeMyTripZohohashingArray Sorting
EasyPair of Positive Negative Values in an ArrayAmazonBelzabarHoneywellHuluNvidiaRobinhoodYelphashingArray
EasyRemove Minimum Number of Elements Such That no Common Element Exist in both ArrayAlationMetLifeOxigen WalletServiceNowSpotifyhashingArray
EasyMaximum Occurring CharacterAmazonMorgan StanleyPayUZohohashingString
EasyCount Pairs With Given SumAccoliteAmazonFactsetHikehashingArray Sorting
MediumInsert Delete GetRandomAffirmAmazonAppDynamicsAppleBloombergCitadelFacebookGoogleMicrosoftNvidiaOracleQueraTwitterTwo SigmaYandexZillowalgorithmArray Design
MediumMerge Overlapping IntervalsAdobeAmazonAppleBloombergCiscoeBayFacebookGoldman SachsGoogleIXLMicrosoftOraclePalantir TechnologiesPayPalSplunkSquareTwitterUberVMwareYandexarraySorting
MediumDecode WaysAdobeAmazonCiscoDatabricksFacebookGoldman SachsGoogleJP MorganMicrosoftMorgan StanleyOracleSquaredynamic-programmingString
HardMedian of Two Sorted ArraysAdobeAmazonAppleBloombergByteDanceFacebookGoldman SachsGoogleMicrosoftWisharray
HardEdit DistanceAmazonByteDanceFacebookGoogleMicrosoftPalantir TechnologiesSquarestringDynamic Programming
MediumMaximum Product SubarrayAmazonAppleBloombergFacebookGoogleMicrosoftarrayDynamic Programming
HardSubstring With Concatenation Of All WordsAmazonDE ShawstringHashing
MediumTop K Frequent WordsAccoliteFourkitesInfosysstringHashing Trie
MediumReverse a Path in BST using QueueBloombergGoogleGrofersHSBCMicrosoftTarget CorporationtreeQueue Tree Traversal
MediumPrint Ancestors of a Given Binary Tree Node Without RecursionAccoliteAmazonFourkitestreeStack Tree Traversal
MediumFind Maximum of Minimum for Every Window Size in a Given ArrayAmazonDirectiFlipkartSAP LabsZohoarrayStack
MediumIdentify and Mark Unmatched Parenthesis in an ExpressionTCSstackString
EasyIterative Depth First Traversal of GraphAmazonAvalaraFactsetFanaticsGoogleOraclegraphDepth First Search Stack
MediumMinimum Bracket ReversalsAmazonFanaticsstackQueue String
MediumExpression Contains Redundant Bracket or NotAmazonPaytmstringStack
EasyReverse a Number Using StackMAQNokiao9 solutionsstack
MediumSwap Nodes In PairsAmazonMicrosoftMoonfrog Labslinked-list
MediumZigzag ConversionPayPalstring
EasyValid PalindromeInfosysMAQNokiao9 solutionsstring
MediumCheck if Two Expressions With Brackets are SameAmazonHikeOracleSnapdealWalmart LabsWiproYatraZohostackString
MediumPriority Queue Using Singly Linked ListBrowserStackHuluMahindra ComvivaPocket GemsSorocoqueue
EasyReversing the First K elements of a QueueBlackRockJP MorganRobinhoodSprinklrWookerZScalerqueueStack
EasySorting a Queue without Extra SpaceBelzabarGE HealthcareMahindra ComvivaMAQNvidiaQualcommServiceNowqueueSorting
MediumLongest Common Prefix Using Word by Word MatchingVMwarearrayString
MediumMinimum Size Subarray SumAmazonFacebookGoldman SachsGoogleMicrosoftarray
EasyIntersection of Two ArraysAmazonByteDanceFacebookarrayHashing Sorting
MediumLeetcode PermutationsAmazonAppleByteDanceeBayFacebookGoogleMicrosoftOracleLeetCodeBacktracking
MediumLevel order Traversal in Spiral FormAdobeAmazonAppleBloombergFlipkartMicrosoftQualtricsServiceNowtreeBreadth First Search Stack
MediumKth Smallest Element in a BSTAmazonAppleBloombergFacebookGoogleOracletree
MediumSearch an Element in Sorted Rotated ArrayAdobeAmazonAppleBloombergByteDanceeBayExpediaFacebookGoogleMicrosoftNvidiaOraclePayPalPaytmVMwareWalmart LabsZillowarray
MediumValid Parenthesis StringAmazonFacebookOraclestring
MediumMaximum Product SubarrayAmazonAppleBloombergFacebookGoogleMicrosoftarrayDynamic Programming
EasyToeplitz MatrixFacebookmatrixArray
EasyBalanced Binary TreeAmazonBloombergGoogleMicrosofttreeDepth First Search
EasyMin StackAmazonBloombergCapital OneDBOIDeutsche BankGoldman SachsGoogleMicrosoftOracleWalmart LabsstackDesign
EasyImplement Stack using QueuesPayPalstackDesign Queue
MediumInterval TreeAmazonGoogleIntuitOracleQualtricstree
MediumSet Matrix ZeroesAmazonAppleFacebookMicrosoftOraclePaytmmatrixArray
MediumSmallest Multiple of a Given NumberAlationAmerican ExpressGE HealthcareQualcommSpotify
MediumConstruct Complete Binary Tree from its Linked List RepresentationAmazontreeQueue
MediumLowest Common AncestorAdobeAmazonAppleBloombergFacebookGoogleLinkedInMicrosoftOraclePony.aiZillowtree
EasyReversing a Queue using Recursionqueue
Medium3 SumAdobeAmazonAppleBloombergFacebookGoogleMicrosoftOracleQualtricsTeslaVMwarearray
EasyAverages of Levels in Binary TreeFacebooktree
EasyQueue using StacksAccoliteAdobeAmazonDE ShawFlipkartGoldman SachsInfoEdgeInMobiMakeMyTripMAQMicrosoftMorgan StanleyOracleWalmart LabsqueueStack
MediumLongest Palindromic SubsequenceAmazonFacebookMicrosoftdynamic-programmingString
MediumFind The Duplicate NumberAmazonAppleBloombergGoogleMicrosoftarray
HardMaximum Sum of 3 Non-Overlapping SubarraysFacebookarrayDynamic Programming
EasyMinimum Index Sum of Two ListsOracleYelparrayHashing
MediumReservoir SamplingAmazonFacebookalgorithmArray
EasyReversing a QueueAccoliteCourseraDelhiveryFactsetGreyOrangeZohoqueueStack
MediumSplit Array Into Consecutive SubsequencesGooglearray
EasyLowest Common Ancestor in Binary Search TreeAmazonFacebookLinkedInOracletreeTree Traversal
HardKMP AlgorithmAccoliteAmazonGoogleMakeMyTripMAQMicrosoftOraclePayUalgorithmString
EasyMost Frequent Element in an ArrayAdobeAmazonFactsetFourkitesInfosysMAQhashingArray Sorting
MediumEvaluate DivisionAmazonBloombergFacebookGoogleMicrosoftUberalgorithmGraph
MediumPrim’s AlgorithmAmazonCiscoSamsungalgorithmGraph
HardSudoku SolverAmazonAppleDoorDashGoogleIntuitJP MorganMicrosoftOraclematrixBacktracking Hashing
HardSegment TreeAmazonCodeNationGoogleMicrosoftUbertree
MediumMinimum Path SumAmazonBloombergFacebookGoldman SachsGoogleMicrosoftmatrixArray Dynamic Programming
EasyFind Pair with Greatest Product in ArraySamsunghashingArray
HardMinimum Cost to Hire K WorkersGooglealgorithm
MediumFind the Duplicate ElementAppleBloombergGoogleMicrosoftarray
EasyFizz BuzzBloombergMicrosoftalgorithmString
EasyFizz Buzz LeetcodeBloombergMicrosoftLeetCodeString
MediumArithmetic Expression EvaluationAmazonOraclestack
MediumMaximum Product of Indexes of Next Greater on Left and RightFactsetFourkitesInfoEdgestackArray
EasyFlood Fill LeetCodeAmazonFacebookGoogleLeetCodeDepth First SearchMatrix
EasyCheck for Balanced Parentheses in an ExpressionAmazonHikeOracleSnapdealWalmart LabsWiproYatraZohostackString
MediumEvaluation of Postfix ExpressionAmazonOraclestack
EasyReverse a Stack Using RecursionFactsetFourkitesstack
EasyFind if an Expression has Duplicate Parenthesis or NotAmazonFactsetOraclestackString
MediumHow to Implement Stack Using Priority Queue or Heap?AmazonFanaticsFourkitesstackQueue
MediumIterative Tower of HanoiMAQstack
MediumHow to Efficiently Implement k Stacks in a Single Array?AmazonFourkitesstackArray
MediumFind Maximum Depth of Nested Parenthesis in a StringAmazonFacebookstackString
MediumExpression EvaluationAmazonOraclestack
MediumHow to Create Mergable Stack?AmazonFactsetFanaticsstack
MediumThe Stock Span ProblemAmazonDelhiveryMAQstack
MediumFind Maximum Sum Possible Equal Sum of Three StacksAmazonFanaticsFourkitesstack
MediumPrint Next Greater Number of Q queriesAmazonFactsetFanaticsstackArray
MediumCheck if an Array is Stack SortableAccentureAccoliteAmazonstackArray Sorting
MediumSmallest Subarray With all Occurrences of a Most Frequent ElementCitrixCourseraOYO RoomsQualtricsSynopsysTaxi4SurehashingArray
MediumFind Top K (or Most Frequent) Numbers in a StreamAccoliteAmazonhashingArray
EasyFind the Only Repetitive Element Between 1 to N-1CouponDuniaDelhiveryGreyOrangeInfo EdgeLinkedInNagarroSAP Labsarray
EasyReverse a String using StackAccoliteCapgeminiDelhiveryFanaticsFourkitesstackString
MediumNext Greater Frequency ElementAccentureCapgeminiMicrosoftUHG OptumhashingArray Stack
EasyNumber of NGEs to the RightAccoliteFanaticsFourkitesstackArray
MediumBalanced Expression with ReplacementAmazonHikeOracleSnapchatSnapdealWalmart LabsWiproYatraZohostackString
EasyK Empty Slots LeetCodeAmazonGoogleLeetCodeArray
HardTrapping Rain WaterAdobeAmazonAppleBloombergDatabricksExpediaFacebookFlipkartGoldman SachsGoogleMicrosoftOracleQualtricsServiceNowWalmart LabsYahooarrayStack
EasyTower Of HanoiFactsetFourkitesMAQalgorithmStack
EasySliding Window TechniqueAmazonFanaticsalgorithmArray
EasyGCD Of Two NumbersSAPSAP LabsTCSalgorithm
EasyMiniMax AlgorithmAmazonFanaticsGame Theoryalgorithm
MediumTarget SumAmazonBloombergFacebookdynamic-programmingDepth First Search
MediumCounting BitsAmazonApple
HardMerge K Sorted Linked ListsAdobeAmazonAppleBloombergByteDanceDatabrickseBayFacebookGoldman SachsMicrosoftOraclePalantir TechnologiesTwitterUberWishlinked-list
MediumWiggle SortPayPalsorting
MediumDecode StringAmazonAppleBloombergByteDanceCiscoeBayFacebookGoogleHuluMicrosoftOraclestackDepth First Search String
MediumPrint a Binary Tree in Vertical OrderAccoliteAmazonBrowserStackDellFlipkartGrofersMakeMyTripNetskopeWalmart LabstreeTree Traversal
MediumFinding K closest elementAmazonarray
EasyPriority Queue in C++AmazonFourkitesInfosysMicrosoftOraclequeue
EasyPriority QueueAmazonAvalaraCodeNationGoldman SachsGoogleMicrosoftqueue
EasyChange the Array into Permutation of Numbers From 1 to NCapgeminiDelhiveryFourkitesMAQo9 solutionsPublicis SapienthashingArray
MediumJump GameAdobeAmazonBloombergFacebookMicrosoftarray
EasyRecursionAmazonInfosysMAQstack
EasyBinary Search TreeAmazonDBOIFourkitesInfosysMicrosofttree
MediumPrefix to Infix ConversionAmazonAvalaraFanaticsstackString
EasyPostfix to Infix ConversionAmazonFactsetMicrosoftstackString
MediumPrefix to Postfix ConversionAmazonFactsetFanaticsOraclestackString
MediumPostfix to Prefix ConversionAmazonFactsetFanaticsOraclestackArray
MediumMaximum Binary TreeAmazonGoogleMicrosoftUbertree
MediumNth Catalan NumberAmazonalgorithmDynamic Programming
MediumCombination SumAdobeAmazonAppleBloombergeBayFacebookMicrosoftarrayBacktracking
MediumNext PermutationAdobeAmazonAppleBloombergByteDanceFacebookFactsetFlipkartGoogleMicrosoftMorgan StanleySalesforceUberstring
MediumLongest Common SubsequenceAmazoneBayFacebookMorgan Stanleydynamic-programmingString
MediumMax Area of IslandAmazonBloombergDoorDashFacebookGoogleOraclePalantir TechnologiesgraphArray Breadth First Search Depth First Search Matrix
MediumSearch in Sorted Rotated ArrayAdobeAmazonAppleBloombergByteDanceeBayExpediaFacebookGoldman SachsGoogleMicrosoftNvidiaOraclePayPalVMwareWalmart LabsarraySorting
MediumBinary Tree zigzag level order TraversalAdobeAmazonAppleBloombergeBayFlipkartMicrosoftQualtricsServiceNowtreeBreadth First Search Queue Stack Tree Traversal
HardRecover Binary Search TreeAmazonByteDanceMicrosoftOracleUbertreeDepth First Search
MediumPopulating Next Right Pointers in Each NodeAmazonBloombergFacebookMicrosofttreeBreadth First Search Depth First Search
MediumTop View of Binary TreeAmazonPaytmSamsungWalmart LabstreeDepth First Search Tree Traversal
MediumUnique PathsAmazonBloombergFacebookGoldman SachsGoogleMicrosoftQualtricsmatrixArray Dynamic Programming
EasyMerge Two Sorted Linked ListsAdobeAmazonAppleBloombergCapital OneFacebookGoogleIBMMicrosoftOraclelinked-list
EasyRepeated Substring PatternAmazonGooglestring
MediumLetter Case PermutationAmazonBloombergSpotifystringBacktracking
HardFind Median from data StreamAmazonAppleByteDanceFacebookGoldman SachsGoogleMicrosoftNvidiaOracleSalesforceTwitterVMwarealgorithmDesign
MediumLevel of Each node in a Tree from source nodeAmazonMicrosofttreeBreadth First Search Depth First Search
EasyLongest Common Prefix using SortingAdobeAmazonAppleBloombergeBayFacebookGoogleMicrosoftstring
MediumHouse RobberAmazonAppleCiscoExpediaGoogleMicrosoftOracledynamic-programmingDepth First Search
EasyMaximum SubarrayAdobeAmazonAppleBloombergByteDanceCiscoFacebookGoldman SachsGoogleJP MorganJPMorganLinkedInMicrosoftOraclePayPalPaytmUberarrayDynamic Programming
MediumSliding Window MaximumAkuna CapitalAmazonByteDanceCitadelDatabricksDropboxExpediaFacebookGoogleIBMUberarray
MediumDelete And EarnPocket GemsarrayDynamic Programming
MediumLength of Longest Fibonacci SubsequenceAmazonarrayDynamic Programming
Rainbow Table
MediumMerging IntervalsAdobeAmazonAppleBloombergCiscoeBayFacebookGoldman SachsGoogleIXLMicrosoftOraclePalantir TechnologiesPayPalSplunkSquareTwitterUberVMwareWalmart LabsYahooYandexarraySorting
EasyBackspace String CompareAmazonCodeNationFacebookGoogleMicrosoftOraclestackString
MediumWord BreakAdobeAmazonAppleBloombergByteDanceeBayFacebookGoogleMicrosoftOracleQualtricsUberVMwareYahooLeetCodeDynamic Programming
MediumGraph CloningAmazonAppleBloombergFacebookGoogleMicrosoftQualcommQualtricsTwitterUbergraphBreadth First Search Depth First Search
EasyHamming DistanceAmazonFacebookalgorithm
EasyFirst Bad VersionAmazonCiscoFacebookGooglearray
EasyWord PatternAmazonCapital OnestringHashing
EasyPeak Index in a Mountain ArrayMicrosoftarray
HardRegular Expression MatchingAdobeAmazonAppleBloombergCourseraeBayFacebookGoldman SachsGoogleMicrosoftstringBacktracking Dynamic Programming
MediumReorganize StringAmazoneBayFacebookGoogleMicrosoftQualtricsstringSorting
MediumFind Duplicate SubtreesAmazonGoogletree
MediumString CompressionAmazonAppleCitrixExpediaFacebookGoldman SachsIBMMicrosoftYandexstring
Medium4SumAdobeAmazonAppleGoldman Sachsarray
HardCreate Maximum NumberApplearrayDynamic Programming
EasyDegree of an arrayVMwareWalmart Labsarray
MediumQueue Reconstruction by HeightAmazonAppleByteDanceFacebookGooglearrayQueue
EasyValid ParenthesesAdobeAmazonAppleBlizzardBloombergByteDanceExpediaFacebookGoldman SachsGoogleIBMlyftMicrosoftOracleSpotifyZillowstring
EasySearch Insert PositionAdobearray
MediumFind Peak ElementAdobeAmazonAppleBloombergByteDanceFacebookGoogleQuoraVisaarray
EasySymmetric TreeAdobeAmazonAppleCapital OneeBayFacebookFanaticsGoogleMAQOracletreeBreadth First Search Depth First Search
MediumK-th Smallest Element in a Sorted MatrixAmazonFacebookGooglematrixArray
MediumMinimum Height TreesFacebooktreeDepth First Search Graph
HardLongest Common Prefix using TrieAdobeAmazonAppleBloombergeBayFacebookGoogleMicrosoftstringTree Trie
HardValid NumberAmazonFacebookLinkedInOraclestring
EasyPascal Triangle LeetcodeAdobeAmazonGoogleSamsungLeetCodeArray
EasyTrim a Binary Search TreeSamsungtree
MediumValid Triangle NumberBloombergRobinhoodarray
MediumConvert Sorted List to Binary Search TreeAmazonFacebooktreeDepth First Search
MediumStone Game II LeetcodeGame TheoryGoogleLeetCodeDynamic Programming
HardKruskal AlgorithmAmazongraphDepth First Search
EasyNumber Of 1 bitsAdobeBoxCiscoFacebookQualcommalgorithm
EasyPower of TwoApplearray
EasyMerge Two Sorted Lists LeetcodeAdobeAmazonAppleBloombergCapital OneFacebookGoogleIBMMicrosoftOracleLeetCodeSorting
MediumValidate Binary Search TreeAmazonAppleAsanaAtlassianBloombergByteDanceCitadelFacebookMicrosoftOracleQualtricsVMwareYahootreeDepth First Search
HardReverse Nodes in K-GroupAdobeAmazonAppleByteDanceFacebookMicrosoftlinked-list
MediumStone Game LeetCodeAdobeAppleGoogleLeetCodeDynamic Programming
MediumMaximum size subarray sum equals kFacebookMicrosoftarrayHashing
EasyPath SumAmazonAppleFacebookMicrosoftOracletreeDepth First Search
HardFind the Closest Palindrome numberAmazonApplestring
EasyCount and SayAmazonAppleBloombergFacebookGoogleMicrosoftVMwarestring
MediumLevel Order Traversal of Binary TreeAmazonAppleBloombergCiscoFacebookMicrosofttreeBreadth First Search Queue
EasyTree Traversal (Preorder, Inorder & Postorder)AdobeAmazonMAQOracleSnapdealtreeTree Traversal
MediumLRU Cache ImplementationAdobeAmazonAppleBloombergByteDanceCapital OneCiscoCitadelCohesityCruise AutomationDropboxeBayExpediaFacebookGoldman SachsGoogleMicrosoftNutanixOraclePayPalPinterestSalesforceSnapchatTeslaTwilioUberVMwareWalmart LabsWishZillowalgorithmDesign
MediumMerge SortAmazonAppleBoomerang CommerceGoldman SachsGrofersMicrosoftOraclePaytmQualcommSnapdealTarget Corporationsorting
EasyFind unique character in a stringAmazonAppleBloombergFacebookGoldman SachsGoogleMicrosoftOracleZillowstringHashing
MediumInteger to RomanAmazonAppleBloombergMicrosoftOraclestring
MediumValid SudokuAmazonAppleFacebookGoogleMicrosoftOraclePinterestRobloxUbermatrixHashing
MediumPalindrome PartitioningAmazonFacebookGoogledynamic-programmingBacktracking Depth First Search
MediumAdd two numbersAmazonAppleBloombergCoupangDocuSignFacebookGoogleMicrosoftUberVMwareWalmart LabsYahoolinked-list
EasyNext greater elementAmazonBloombergarrayStack
MediumDeletion in a Binary TreeAmazonBloombergMicrosofttree
MediumUnique Binary Search TreesAmazonBloombergGoogletreeDynamic Programming
MediumFloyd Warshall AlgorithmSamsunggraphDynamic Programming
MediumBipartite GraphSamsunggraphBreadth First Search Depth First Search
MediumSieve of EratosthenesAmazonAppleCapital OneGE HealthcareGoogleMAQMicrosoftQualcommVMwarealgorithmDynamic Programming
MediumStrongly Connected ComponentVisagraphDepth First Search
HardN queen problemAccoliteAmazonAmdocsAppleByteDanceFacebookMAQMicrosoftTwitterVisamatrixBacktracking
HardRabin Karp AlgorithmAccoliteAmazonMakeMyTripMAQOraclePayUstring
EasyAlien DictionaryAmazonFacebookWalmart LabsLeetCodeHashing
HardGuess The WordAmazonGooglearrayString
MediumDecision Treetree
MediumNew 21 GameAppleGoogledynamic-programming
MediumVerify Preorder Serialization of a Binary TreeGoogletreeStack
EasyMissing NumberAmazonAppleCapital OneCiscoFacebookMicrosoftarray
EasyMerge Sorted ArrayAmazonAmdocsAppleBloombergBrocadeFacebookGoldman SachsIBMJuniper NetworksLinkedInMicrosoftQuikrSnapdealSynopsysVisaZohoarraySorting
MediumPartition Equal Subset SumAmazonFacebookGooglearrayDynamic Programming
EasyLast Stone WeightAmazonarray
MediumSort ColorsAmazoneBayExpediaFacebookGoldman SachsNvidiaOraclearraySorting
MediumRotate ArrayAmazonAppleMakeMyTripMAQMicrosoftOracleSAPSAP LabsWiproarray
MediumApplications of Breadth First Search and Depth First SearchgraphBreadth First Search Depth First Search
MediumContainer with Most WaterAdobeAmazonAppleBloombergFacebookFlipkartWalmart LabsalgorithmArray
HardDistinct SubsequencesAmazonBloombergMathworksdynamic-programmingString
HardMatrix Chain Multiplication using Dynamic ProgrammingAmazonMicrosoftmatrixArray Dynamic Programming
MediumSubarray Sum Equals kAdobeAmazonAmerican ExpressBloombergeBayFacebookGoldman SachsGoogleMicrosoftTwilioYahooarray
HardInfix to PostfixAmazonPaytmSamsungVMwarearrayStack
EasyIsomorphic StringsAmazonAppleFacebookIntelstringHashing
EasyBinary Tree Data StructureDBOIFactsetInfosysMAQOracletree
EasyClimbing stairsAdobeAmazonAppleBloombergExpediaGoldman Sachsdynamic-programming
MediumTopological SortingAccoliteAmazonFlipkartMicrosoftMoonfrog LabsMorgan StanleyOYO RoomsSamsungsortingDepth First Search Graph
MediumInsertion SortAccentureCiscoDellGrofersJuniper NetworksMAQVeritassortingArray
EasySelf Dividing NumbersAdobeEpic SystemsTesla
MediumQuick SortAdobeGoldman SachsHSBCQualcommSamsungSAPSAP LabsTarget CorporationsortingArray
EasyTypes of Binary TreeDelhiveryInfosysMAQtree
EasyInsertion in a Binary TreeDelhiveryFactsetFreeChargeGE HealthcareInfoEdgetreeBreadth First Search Queue
MediumPerform String Shifts LeetcodeAmazonFacebookMicrosoftLeetCodeString
EasyBFS vs DFS for Binary TreeAmazonInfosysMAQTCSgraphBreadth First Search Depth First Search Tree
EasyDepth First Search (DFS) for a GraphGE HealthcareInfosysMAQo9 solutionsUHG OptumgraphDepth First Search
EasyBreadth First Search (BFS) for a GraphAmazonCadence IndiaGE HealthcareHousing.comPocket GemsUHG OptumgraphBreadth First Search Queue
EasyString comparison containing wildcardsAccentureAmazonOla Cabsstring
HardSerialize and Deserialize Binary TreeAmazonBloombergCitadeleBayFacebookGoogleMicrosoftOracleQualtricsQuoraSquareUberWalmart Labstree
EasyFibonacci numbersAppleDBOIGoogleInfosysJP MorganMAQo9 solutionsSAP Labsalgorithm
MediumGraph and its representationDelhiveryFactsetInfosysMAQo9 solutionsgraph
EasyReverse a linked listAccoliteAdobeAmazonMakeMyTripMicrosoftQualcommSamsungSAPSAP LabsSnapdealZoholinked-list
EasySubset sum problemAdobeAmazonAmeyodynamic-programmingArray
EasyCircular QueueInfosysMAQo9 solutionsOraclearrayQueue
MediumHeap Sort24*7 Innovation LabsAmazonAppleBelzabarIntuitOracleSamsungSAPSAP LabsVisa
EasyUgly NumbersDelhiveryGoldman SachsPaytmdynamic-programming
EasyDynamic Programming BasicsInfosysMAQdynamic-programming
MediumDijkstra AlgorithmAccoliteAdobeAmazonCiscoInteractive SolutionsMorgan StanleySamsungVizuryalgorithmGraph
MediumCoin Change ProblemAmazonAppleBlackRockBloombergByteDanceCapital OneFacebookGoldman SachsGoogleOracleWalmart Labsdynamic-programmingArray
EasyMultiplication of Two MatricesAmazonAppleFacebookWishmatrixArray
EasySubtraction of Two MatricesCapgeminiMAQo9 solutionsmatrixArray
EasyCheck if Two given Matrices are IdenticalAffirmAmeyoDiDiPony.aimatrixArray
EasyAddition of Two MatricesAlationAsanaWishmatrixArray
EasyTranspose of a MatrixServiceNowVeritasmatrixArray
MediumCheck whether Strings are K Distance Apart or NotAmazonDeutsche BankFacebookGE HealthcareMicrosoftstringDynamic Programming Matrix
EasyProgram to Toggle all Characters in a StringCapgeminiInfoEdgeMAQOxigen Walletstring
EasyCheck length of a String is Equal to the Number Appended at its LastCodeNationFourkitesMicrosoftUHG Optumstring
EasyGenerate all Binary Strings Without Consecutive 1’sAmazonGE HealthcareSnapdealTarget Corporationstring
MediumCheck if all Rows of a Matrix are Circular Rotations of Each OtherAccentureCadence IndiaCitadelFreeChargeMicrosoftPintereststringMatrix
EasySort a String According to Another StringAccentureAccoliteAdobeAmazonFreeChargeInfoEdgeMicrosoftSalesforcestringSorting
MediumCheck if String can Become Empty by Recursively Deleting given SubstringAdobeDelhiveryGE HealthcareMakeMyTripServiceNowSpotifyUHG Optumstring
EasySmallest Palindrome after ReplacementAdobeArcesiumFlipkartGE HealthcareZScalerstring
MediumCheck if String Follows Order of Characters by a Pattern or notAdobeAmazonGreyOrangeInfoEdgeMicrosoftstring
EasySplit Four Distinct StringsAccentureAdobeGoDaddyGrofersHoneywellQuoraSplunkstring
EasyEven Substring CountCourseraDeutsche BankOYO RoomsYahooYandexZohostring
MediumReverse String Without Temporary VariableAdobeAmazonGoogleHuluMicrosoftMoonfrog Labsstring
EasyRecursive Palindrome CheckCapgeminiFactsetInfosysMAQo9 solutionsOracleSquarestring
EasyMinimum Characters to be Removed to Make a Binary String AlternateCourseraFourkitesHikeMAQo9 solutionsPocket GemsTaxi4Surestring
MediumPrint all Palindromic Partitions of a StringAmazonFacebookGooglestringBacktracking Depth First Search Dynamic Programming
EasyCount the Pairs at Same Distance as in English AlphabetsAdobeAmazonDropboxGE HealthcareOYO Roomsstring
MediumMinimum Characters to be Added at Front to Make String PalindromeAmazonFactsetGoogleMicrosoftSAPSAP Labsstring
MediumConvert a String that is Repetition of a Substring of Length KAccentureAdobeAmerican ExpressDatabricksFreeChargestringHashing
MediumNth Character in Concatenated Decimal StringAdobeOraclestring
EasyKth Non-repeating CharacterAmazonAppleBloombergFacebookGoldman SachsGoogleMicrosoftOracleZillowstringHashing
EasyCompare Two Version NumbersAdobeDelhiveryGE HealthcareGreyOrangeMakeMyTripWookerZohostring
EasyRemove Minimum Characters so that Two Strings Become AnagramsAmazonFreeChargestring
MediumGenerate all Binary Strings from Given PatternAmazonGoogleMicrosoftstring
HardPrint all Possible Ways to Break a String in Bracket FormAmazonBloombergGE HealthcareJuniper Networksstring
EasyCaesar CipherAmazonGE HealthcareGrofersUHG Optumstring
EasyLongest Common Subsequence with PermutationsAdobeHoneywellHuluJP MorganOracleZohostring
EasyPerfect Reversible StringMakeMyTripMAQWalmart LabsZohostring
EasyLongest Palindrome can be Formed by Removing or Rearranging CharactersAdobeAmazonDelhiveryInfoEdgeUHG OptumstringHashing
HardLongest Common Prefix Word by Word MatchingAdobeAmazonAppleBloombergeBayFacebookGoogleMicrosoftVMwareYahoostring
HardLongest Common Prefix using Character by Character MatchingAdobeAmazonAppleBloombergeBayFacebookGoogleMicrosoftVMwareYahoostring
MediumPermutations of a Given String Using STLAmazonAppleByteDanceeBayFacebookGoogleMicrosoftOraclestring
EasyCalculate Sum of all Numbers Present in a StringAdobeFanaticsMAQstring
HardLongest Common Prefix using Divide and ConquerAccentureAccoliteAmazonFanaticsGooglestring
EasyLower Case To Upper CaseAdobeAppleGooglestring
HardLongest Common Prefix Using Binary Search IIAdobeAmazonAppleBloombergeBayFacebookGoogleMicrosoftVMwareYahoostring
EasyPrint Shortest Path to Print a String on ScreenAccolitestringMatrix
EasyRemove Extra Spaces from a StringCapgeminiInfosysMAQo9 solutionsTCSstring
EasyChange Gender of a given StringAdobeFactsetstring
MediumCount Number of Substrings with K Distinct Character’sLinkedInZohostringHashing
EasyRemoving Spaces from a String using stringstreamCapgeminiHuluo9 solutionsTCSstring
EasyPangram CheckingFactseto9 solutionsPocket GemsZohostringHashing
MediumRepeated Subsequence of Length Two or MoreAdobestring
HardPalindrome Permutations of a StringAmazonFacebookstring
Split a stringstring
1`s and 2`s complement of binary numberstring
Longest Common Extensionstring
Convert string1 to string2 in one editstring
Find First non-repeating character in a stringstring
Remove recurring digits in a given numberstring
Recursively print all the sentences that can be formed from list of word listsstring
MediumOnline Algorithm for Checking Palindrome in a StreamAccoliteAdobeZenefitsstring
EasyCheck if Two given Strings are Isomorphic to each otherAccoliteAdobeAmazonGE HealthcareGoldman SachsInfoEdgeOracleUHG Optumstring
HardLength of Longest valid SubstringAdobeAmazonAppleBloombergByteDanceCitadeleBayFacebookGoogleMicrosoftOracleUberVMwareYahoostring
Program to add two binary digitsstring
Recursive Implementation of atoi()string
Reverse a string without affecting special charactersstring
Recursive function to do substring searchstring
Print Longest common subsequencestring
Rotate string to get lexicographically minimum stringstring
Number of sub-strings which recursively add up to 9string
Palindrome string (number)string
Print all possible words from phone digitsstring
Shortest Superstring Problemstring
Transform one string to another using minimum number of given operationsstring
Print string of odd length in ‘X’ formatstring
Minimum insertions to form a shortest palindromestring
print all palindromic partitionsstring
Check rearranged string can form a palindromestring
Palindromes in a given rangestring
String(represents an integer) to valuestring
Count the number of wordsstring
Print all anagrams together in a sequence of wordsstring
Lexicographic rank of stringstring
Remove spaces from a stringstring
Find, second, frequent, characterstring
Find the second most frequent characterstring
Check if a given string is a rotation of a palindromestring
Sort an array of stringsstring
Recursively remove all adjacent duplicatesstring
Remove ‘b’ and ‘ac’ from a given stringstring
wildcard character matchingstring
Longest Palindromic Substringstring
Given string is interleaving of two other strings or notstring
Print all permutations with repetitionstring
Run length encodingstring
List items containing all characters of a given wordstring
Write a program to print all permutations of a given stringstring
Check whether two strings are anagram of each otherstring
Print all interleavings of given two stringsstring
Print all duplicates in the input stringstring
A Program to check if strings are rotations of each other or notstring
Given a string find its first non-repeating characterstring
Reverse words in a given stringstring
Find the smallest window in a string containing all characters of another stringstring
Divide a string in N equal partsstring
Print Reverse of a string (Recursion)string
Remove characters from first string which are in secondstring
Sorting the array of stringsstring
Remove duplicates from a stringstring
Concatenation of two stringsstring
Reverse a Stringstring
Most repeating character in a stringstring
Given a sorted array and a number x, find the pair in array whose sum is closest to xarray
Find the subarray whose sum is equal to a given number Xarray
Basic SQL Interview Questionssql-interview-questions
Aggregate Functions in SQLsql-interview-questions
DB Locks in SQLsql-interview-questions
Indexes in SQL Interview Questionssql-interview-questions
Joins in SQL Interview Questionssql-interview-questions
Keys in SQLsql-interview-questions
Optimization in SQLsql-interview-questions
Oracle in SQLsql-interview-questions
Parameterized Query in SQLsql-interview-questions
Privileges and Roles in SQLsql-interview-questions
SQL Query Interview Questionssql-interview-questions
SQL Server Interview Questionssql-interview-questions
Arrange Even and Odd number such that Odd comes after Evenarray
EasyMinimum number of Merge Operations to make an Array PalindromeAmazonarray
EasyForm Minimum Number from Given Sequence of D’s and I’sAmazonGoldman SachsarrayStack String
MediumLongest Span with same Sum in two Binary Arrays IIAccentureCiscoIndeedKulizaSAP LabsYandexarrayHashing
EasyFind the Subarray of given length with Least AverageAccentureAccoliteAmazonFactsetFourkitesPaytmZohoarray
EasyFind Zeros to be Flipped so that Number of Consecutive 1’s is MaximizedAccoliteAmazonGE HealthcareInfo EdgeZohoarray
MediumMerge K Sorted Arrays and Print Sorted OutputAmazonGE HealthcareGoogleMicrosoftarray
MediumFind the Minimum Element in a Sorted and Rotated ArrayAmazonBloombergFacebookGoldman SachsMicrosoftOraclearray
MediumFind the point where a monotonically increasing function becomes positive first timeAmerican Expressarray
MediumPrint all Possible Combinations of R Elements in a given Array of size NGreyOrangeOxigen Walletarray
MediumSort Elements by Frequency IIAmazonOracleZohoZycusarrayHashing Sorting
EasyStock Buy Sell to Maximize ProfitAmazonAppleFacebookMicrosoftMorgan StanleyPayPalQualtricsTCSUberarray
MediumMerge Overlapping Intervals IIAdobeAmazonAppleBloombergCiscoeBayFacebookGoldman SachsGoogleIXLMicrosoftOraclePalantir TechnologiesPayPalQualtricsSalesforceSplunkTwitterUberVMwareWalmart LabsYahooYandexarraySorting
MediumMaximum Subarray Sum using Divide and ConquerAdobeAmazonAppleBloombergByteDanceCiscoFacebookGoldman SachsGoogleJPMorganLinkedInMicrosoftOraclePayPalPaytmUberarray
HardPancake Sorting ProblemAmazonFacebookMicrosoftSquareUberarraySorting
MediumPancake SortingAmazonFacebookMicrosoftSquareUberarraySorting
MediumArrange given Numbers to Form the Biggest Number IIAdobeAmazonAppleByteDanceFacebookGoogleMakeMyTripMicrosoftNvidiaOraclePaytmVMwareZohoarrayString
MediumIterative Implementation of Quick SortAmazonAppleBloombergarraySorting
EasyShuffle a given ArrayAmazonAppleBloombergFacebookGoogleMicrosoftOracleTwo SigmaYahooarray
MediumFind the Row with Maximum Number of 1’s24*7 Innovation LabsAmazonMicrosoftPaytmarrayMatrix
EasySorting a K Sorted ArrayAmazonAppleBloombergarraySorting
MediumMaximum Product Subarray IIAmazonAppleBloombergFacebookGoogleLinkedInMicrosoftarrayDynamic Programming
MediumLargest Subarray with Equal Number of 0’s and 1’sAdobeAmazonAppleFacebookGoogleQuoraRobinhoodarrayHashing
EasyFind the two Numbers with Odd Occurrences in an Unsorted ArrayAccoliteFactsetGoogleOraclearray
MediumMaximum Sum Increasing SubsequenceAdobeAmazonAppleAtlassianBloombergByteDanceCitrixCodeNationCoupangeBayFacebookGoogleIBMMicrosoftNagarroOracleUberYahooarrayDynamic Programming
MediumImplement Two Stacks in an Array24*7 Innovation LabsAccoliteGoogleMicrosoftSamsungSnapdealarrayStack
MediumNumber of Smaller Elements on Right SideAdobeAmazonAppleBloombergGoogleMicrosoftOracleUberarraySorting
EasyIncreasing Subsequence of Length three with Maximum ProductAmazonAppleCiscoCitadelFacebookIntuitUberarray
MediumElements Appear more than N/K times in ArrayAdobeAmazonAppleBloombergFacebookGoogleMicrosoftZenefitsarrayHashing
MediumFind the Peak Element from an ArrayAmazonAppleBloombergByteDanceDE ShawFacebookGoogleMicrosoftQuoraUberWalmart Labsarray
EasyRearrange Positive and Negative Numbers Alternatively in ArrayAmazonAppleBloombergCapital OneCiscoFacebookGoogleMorgan StanleyOracleVMwarearray
EasyFind the Maximum Repeating Number in ArrayAdobeAmazonAppleBloombergCitadeleBayFacebookGoldman SachsGoogleIntuitMicrosoftNutanixPayPalSalesforceVMwareWishYahooarray
MediumTug of WarAccoliteAmazonarrayBacktracking
MediumFirst Circular Tour to Visit all the Petrol BunksAmazonFactsetMicrosoftMorgan StanleyZohoarray
MediumCount Possible TrianglesAmazonLinkedInWiproarray
MediumMaximum Circular Subarray SumAmazonFacebookLinkedInTwo SigmaUberarray
MediumFour Elements that Sum to GivenAdobeAmazonAppleBloombergGoldman SachsGoogleMicrosoftYahooarrayHashing Sorting
MediumMaximum Length of Chain PairsAmazonBloombergUberarrayDynamic Programming
EasyFind Pair with Given DifferenceAmazonBloombergCitrixExpediaGoldman SachsMicrosoftNvidiaOracleSalesforceTwilioTwitterVisaVMwarearraySorting
MediumPartition ProblemAccoliteAdobeAmazonAppleBloombergByteDanceeBayFacebookGoldman SachsGoogleMicrosoftVMwareYahooarrayDynamic Programming
MediumThe Celebrity ProblemAmazonAppleFabFacebookFlipkartGoogleLinkedInMicrosoftNvidiaPalantir TechnologiesPinterestSnapchatUberUHG OptumVMwareZohoarrayMatrix Stack
MediumFind a Sorted Subsequence of size 3AmazonBloombergFacebookFactsetGoogleOracleUberYahooarray
MediumSubarray with Given SumAdobeAmazonAmerican ExpressAppleBloombergByteDanceCoupangeBayFacebookGoldman SachsGoogleLinkedInMicrosoftOracleQueraTwilioUberWishYahooYandexarrayHashing
MediumMaximum Element in an Array which is Increasing and then DecreasingAdobeAmazonGoldman SachsMicrosoftPaytmarray
EasyCount Minimum Steps to Get the given ArrayAmazonFanaticsOraclearray
EasyFind the Lost Element From a Duplicated ArrayAccoliteAdobeAmazonAppleBloombergCapital OneCiscoeBayFacebookGoldman SachsGoogleIBMJP MorganMicrosoftNvidiaOraclePayPalServiceNowYandexarrayHashing
EasyRearrange given Array in Maximum Minimum FormAmazonAppleBloombergCapital OneCiscoFacebookGoogleMorgan StanleyOracleVMwarearray
MediumSubarray and SubsequenceAmazonAppleFacebookGoogleMicrosoftarray
MediumMerge Two Sorted ArraysAdobeAmazonAppleBloombergByteDanceCiscoeBayFacebookGoldman SachsGoogleIBMLinkedInlyftMicrosoftOracleUberVMwareWalmart LabsWishYahooYandexarray
MediumCount of Triplets With Sum Less than Given ValueAdobeAmazonAppleBloombergByteDanceCiscoCitadelCitrixDoorDasheBayFacebookGoldman SachsGoogleHuluIBMInfosysMathworksMicrosoftOraclePayPalQualtricsSamsungServiceNowSplunkSquareTencentTeslaUberVisaVMwareWalmart LabsYahooZohoarray
EasyReorder Array Using Given IndexesGooglearray
EasyNext Greater Element in an ArrayAmazonAppleBloombergCouponDuniaFacebookGoogleMicrosoftOraclePayUSamsungSnapdealTwitterZohoarrayStack
EasyMerging Two Sorted ArraysAdobeAmazonAppleBloombergByteDanceCiscoeBayFacebookGoldman SachsGoogleIBMLinkedInlyftMicrosoftOracleUberVMwareWalmart LabsWishYahooYandexarray
EasyReorder an Array According to the Given IndexesGooglearray
EasyFind a Fixed Point in a Given ArrayAmazonFactsetHikeUberarray
EasyFind Element Using Binary Search in Sorted ArrayAmazonAppleBloombergFacebookGoogleMicros