Easy | Check If Two String Arrays are Equivalent Leetcode Solution | Facebook | LeetCode String |
Easy | Check Array Formation Through Concatenation Leetcode Solution | Uber | LeetCode Array |
Easy | Check If a Word Occurs As a Prefix of Any Word in a Sentence Leetcode Solution | Yelp | LeetCode String |
Easy | Make Two Arrays Equal by Reversing Sub-arrays Leetcode Solution | Facebook | LeetCode Array |
Easy | Shuffle the Array Leetcode Solution | Adobe Apple Bloomberg Google Microsoft | LeetCode Array |
Easy | Final Prices With a Special Discount in a Shop Leetcode Solution | | LeetCode Array |
Easy | Slowest Key Leetcode Solution | Amazon | LeetCode Array |
Medium | 3Sum Leetcode Solution | Adobe Amazon Apple Bloomberg Facebook Google Microsoft Oracle Tesla VMware | LeetCode Array |
Easy | Get Maximum in Generated Array Leetcode Solution | | LeetCode Array |
Medium | Insert Interval Leetcode Solution | Amazon Apple Facebook Google LinkedIn Microsoft Oracle ServiceNow Twitter Uber | LeetCode Array |
Easy | Root to Leaf path with target sum Leetcode Solutions | Amazon Apple Facebook Microsoft | LeetCode Depth First Search Tree |
Easy | Minimum Number of Steps to Make Two Strings Anagram Leetcode Solutions | Amazon Bloomberg Citrix Microsoft Twitter | LeetCode String |
Easy | License Key Formatting Leetcode Solution | Capital One Google | LeetCode String |
Easy | Split a String in Balanced Strings Leetcode Solution | Bloomberg Walmart Labs | LeetCode String |
Easy | Kth Largest Element in a Stream Leetcode Solution | Adobe Amazon Apple Box eBay Facebook Goldman Sachs Google Microsoft Nutanix | LeetCode Design |
Easy | Sum of Even Numbers After Queries | Indeed | LeetCode Array |
Easy | Remove Linked List Elements Leetcode Solution | Adobe Amazon Apple Bloomberg Capital One Facebook Google Microsoft | LeetCode |
Easy | Number Complement Leetcode Solution | Apple | LeetCode |
Medium | Combination Sum Leetcode Solution | Adobe Airbnb Amazon Apple Atlassian Bloomberg ByteDance eBay Facebook Goldman Sachs Google LinkedIn Microsoft Oracle Snapchat Square Uber VMware Walmart Labs | LeetCode Array Backtracking |
Easy | Minimum Moves to Equal Array Elements Leetcode Solution | Amazon Apple Coursera Factset Indeed JPMorgan Mathworks Microsoft Swiggy | LeetCode |
Easy | Isomorphic Strings Leetcode Solution | Adobe Amazon Apple Bloomberg Facebook Google Intel LinkedIn Microsoft Oracle Yahoo | LeetCode String |
Easy | Island Perimeter Leetcode Solution | Amazon Bloomberg Facebook Google Microsoft | LeetCode Array |
Easy | Available Captures for Rook Leetcode Solution | Square | LeetCode Array |
Medium | Minimum Swaps to Make Strings Equal Leetcode Solution | Amazon | LeetCode String |
Easy | Decrypt String from Alphabet to Integer Mapping Leetcode Solution | Quip Salesforce | LeetCode String |
Easy | Rearrange Spaces Between Words Leetcode Solution | Google | LeetCode String |
Easy | Hamming Distance Leetcode Solution | Adobe Amazon Facebook | LeetCode |
Medium | Word Search Leetcode Solution | Amazon Apple Bloomberg ByteDance Cisco eBay Expedia Facebook Intuit Microsoft Oracle Pinterest ServiceNow Snapchat | LeetCode Backtracking Matrix |
Easy | Min Stack Leetcode Solution | Amazon Apple Bloomberg Capital One Microsoft Oracle | LeetCode Design Stack |
Easy | Maximum Subarray Leetcode Solution | Adobe Amazon Apple Bloomberg ByteDance Cisco Facebook Goldman Sachs Google JPMorgan LinkedIn Microsoft Oracle PayPal Paytm Uber | LeetCode Array Dynamic Programming |
Easy | Sort Array by Increasing Frequency Leetcode Solution | eBay Twilio | LeetCode Array Sorting |
Medium | Check If a String Can Break Another String Leetcode Solution | | LeetCode Sorting String |
Easy | Number of Students Doing Homework at a Given Time Leetcode Solution | | LeetCode Array |
Medium | Count Good Nodes in Binary Tree Leetcode Solution | Amazon Microsoft | LeetCode Depth First Search |
Easy | Lucky Numbers in a Matrix Leetcode Solution | Oracle | LeetCode Array |
Easy | Largest Substring Between Two Equal Characters Leetcode Solution | | LeetCode String |
Easy | Build an Array With Stack Operations Leetcode Solution | Google | LeetCode Stack |
Easy | Destination City Leetcode Solution | PayPal Yelp | LeetCode String |
Easy | Maximum Score After Splitting a String Leetcode Solution | Google | LeetCode String |
Easy | Moving Stones Until Consecutive Leetcode Solution | Facebook | LeetCode |
Easy | Thousand Separator Leetcode Solution | | LeetCode String |
Easy | Find the Town Judge Leetcode Solution | Amazon | LeetCode Graph |
Easy | Factorial Trailing Zeroes Leetcode Solution | Bloomberg | LeetCode |
Easy | Find the Distance Value Between Two Arrays Leetcode Solution | Uber | LeetCode Array |
Easy | Crawler Log Folder Leetcode Solution | Mercari | LeetCode Stack |
Easy | Excel Sheet Column Title Leetcode Solution | Adobe Google | LeetCode |
Easy | Excel Sheet Column Number Leetcode Solution | Microsoft | LeetCode |
Easy | Increasing Decreasing String Leetcode Solution | Akuna Capital | LeetCode Sorting String |
Easy | Number of Steps to Reduce a Number to Zero Leetcode Solution | Amazon Google HRT Microsoft | LeetCode |
Easy | Remove Palindromic Subsequences Leetcode Solution | Amazon | LeetCode String |
Easy | Convert Integer to the Sum of Two No-Zero Integers Leetcode Solution | HRT | LeetCode |
Easy | Rank Transform of an Array Leetcode Solution | Amazon Facebook Google | LeetCode Array |
Easy | Decompress Run-Length Encoded List Leetcode Solution | Amazon Apple Google | LeetCode Array |
Easy | Maximum Nesting Depth of the Parentheses Leetcode Solution | Bloomberg | LeetCode String |
Easy | Design Parking System Leetcode Solution | Amazon | LeetCode Design |
Easy | Maximum 69 Number Leetcode Solution | HRT | LeetCode |
Easy | Defanging an IP Address Leetcode Solution | Amazon | LeetCode String |
Easy | Distribute Candies to People Leetcode Solution | | LeetCode |
Easy | Minimum Distance Between BST Nodes Leetcode Solution | Google | LeetCode Tree |
Easy | Replace Elements with Greatest Element on Right Side Leetcode Solution | Amazon | LeetCode Array |
Medium | Combinations Leetcode Solution | Adobe Amazon Apple Facebook Google Microsoft Yahoo | LeetCode Backtracking |
Easy | Find Winner on a Tic Tac Toe Game Leetcode Solution | Amazon Apple Facebook Zoho | LeetCode Array |
Easy | String Matching in an Array Leetcode Solution | Amazon | LeetCode String |
Easy | Next Greater Element I Leetcode Solution | Amazon Bloomberg | LeetCode Stack |
Easy | Find Common Characters Leetcode Solution | Amazon Uber | LeetCode Array Hashing |
Easy | Minimum Time Visiting All Points Leetcode Solution | Amazon Bloomberg Facebook Media.net | LeetCode Array |
Easy | Find N Unique Integers Sum up to Zero Leetcode Solution | Adobe Amazon Facebook Microsoft | LeetCode Array |
Easy | Intersection of Two Arrays II Leetcode Solution | Amazon Facebook Google Oracle | LeetCode Sorting |
Easy | Minimum Absolute Difference Leetcode Solution | Audible Bloomberg SAP Uber | LeetCode Array |
Easy | Distance Between Bus Stops Leetcode Solution | Google | LeetCode Array |
Easy | Valid Boomerang Leetcode Solution | Google | LeetCode |
Easy | Partition Array Into Three Parts With Equal Sum Leetcode Solution | Amazon Microsoft | LeetCode Array |
Easy | Find Common Characters Leetcode Solution | Adobe Amazon Apple Bloomberg Google Microsoft TripAdvisor Uber | LeetCode Array Hashing |
Easy | Keyboard Row Leetcode Solution | Mathworks | LeetCode Hashing String |
Easy | Is Subsequence Leetcode Solution | Adobe Amazon Bloomberg Facebook Google Microsoft Pinterest Yandex | LeetCode Dynamic Programming String |
Easy | Jewels and Stones Leetcode Solution | Adobe Amazon Apple Facebook Google Microsoft Yahoo | LeetCode |
Easy | Shortest Completing Word Leetcode Solution | Google | LeetCode |
Easy | Compare Strings by Frequency of the Smallest Character Leetcode Solution | Google Oracle | LeetCode Array String |
Easy | Maximum Number of Balloons Leetcode Solution | Tesla Wayfair | LeetCode Hashing String |
Easy | Construct the Rectangle Leetcode Solution | | LeetCode |
Easy | To Lower Case Leetcode Solution | Adobe Apple Google | LeetCode String |
Easy | Minimum Absolute Difference in BST Leetcode Solution | Google | LeetCode Tree |
Easy | Student Attendance Record I Leetcode Solution | Google | LeetCode String |
Easy | Count Odd Numbers in an Interval Range Leetcode Solution | Microsoft | LeetCode |
Easy | Assign Cookies Leetcode Solution | Amazon | LeetCode |
Easy | Find All Numbers Disappeared in an Array Leetcode Solution | Adobe Amazon Apple Bloomberg Google Microsoft Yahoo | LeetCode Array Hashing |
Easy | Subtract the Product and Sum of Digits of an Integer Leetcode Solution | Cisco Google Uber | LeetCode |
Medium | Majority Element II Leetcode Solution | Adobe Amazon Apple Bloomberg Facebook Google Microsoft Zenefits | LeetCode Array |
Easy | Relative Ranks Leetcode Solution | Google | LeetCode Sorting |
Easy | Majority Element Leetcode Solution | Amazon Apple Atlassian Bloomberg Facebook GoDaddy Google Microsoft Oracle Rubrik Snapchat Yahoo Zenefits | LeetCode Hashing |
Easy | Contains Duplicate II Leetcode Solution | Amazon Facebook Google | LeetCode Array Hashing |
Easy | Convert a Number to Hexadecimal Leetcode Solution | Facebook Microsoft | LeetCode |
Easy | Relative Sort Array Leetcode Solution | Adobe Amazon DE Shaw eBay Google Microsoft | LeetCode Array Sorting |
Easy | Find Words That Can Be Formed by Characters Leetcode Solution | Amazon | LeetCode Array Hashing |
Easy | Base 7 Leetcode Solution | Bloomberg Garena | LeetCode |
Easy | Summary Ranges Leetcode Solution | Facebook Yandex | LeetCode Array |
Easy | Find Numbers with Even Number of Digits Leetcode Solution | Quora | LeetCode Array |
Easy | Power of Four Leetcode Solution | Two Sigma | LeetCode |
Easy | Number of Equivalent Domino Pairs Leetcode Solution | Amazon | LeetCode Array |
Easy | Check If It Is a Straight Line Leetcode Solution | Palantir Technologies | LeetCode Array |
Easy | Palindrome Linked List Leetcode Solution | Adobe Amazon Apple Bloomberg Capital One Cisco Facebook Google Grab Intel IXL Microsoft Nutanix Oracle Paytm Snapchat Uber Yandex | LeetCode |
Easy | Pascal’s Triangle II Leetcode Solution | Amazon Microsoft | LeetCode Array Dynamic Programming |
Easy | Maximum Depth of Binary Tree Leetcode Solution | Adobe Amazon Facebook Microsoft | LeetCode Tree Traversal |
Easy | Maximum Depth of N-ary Tree Leetcode Solution | Amazon Google Microsoft | LeetCode Breadth First Search Depth First Search |
Easy | Search in a Binary Search Tree Leetcode Solution | Apple IBM | LeetCode |
Easy | Count Largest Group Leetcode Solution | Mercari | LeetCode Array |
Easy | Find the Difference Leetcode Solution | Adobe Amazon Google | LeetCode Hashing String |
Medium | Unique Paths Leetcode Solution | Adobe Amazon Apple Bloomberg ByteDance Facebook Goldman Sachs Google Mathworks Microsoft Oracle Qualtrics Salesforce Snapchat Uber VMware Walmart Labs | LeetCode Array Dynamic Programming |
Easy | Add Binary Leetcode Solution | Amazon Facebook Microsoft | LeetCode String |
Easy | Minimum Value to Get Positive Step by Step Sum Leetcode Solution | Swiggy | LeetCode Array |
Easy | Valid Palindrome Leetcode Solution | Amazon Apple Bloomberg Facebook Microsoft Oracle Wayfair | LeetCode String |
Easy | Reverse Vowels of a String Leetcode Solution | Amazon Facebook Google | LeetCode String |
Easy | Roman to Integer Leetcode Solution | Adobe Amazon Apple Bloomberg Facebook Goldman Sachs Google LinkedIn Microsoft Oracle Qualtrics Roblox Uber Yahoo | LeetCode String |
Easy | N-th Tribonacci Number Leetcode Solution | Facebook | LeetCode Dynamic Programming |
Medium | Rotate List Leetcode Solution | Adobe Amazon Bloomberg Facebook LinkedIn Microsoft Samsung | LeetCode |
Easy | Path Crossing Leetcode Solution | Amazon | LeetCode Hashing String |
Easy | Matrix Diagonal Sum Leetcode Solution | Adobe | LeetCode Array Matrix |
Easy | Number of Good Pairs Leetcode Solution | Amazon Microsoft | LeetCode Array Hashing |
Easy | Third Maximum Number Leetcode Solution | Amazon Facebook Google | LeetCode Array |
Medium | Pow(x, n) Leetcode Solution | Adobe Amazon Apple Asana Bloomberg eBay Facebook Goldman Sachs Google LinkedIn Microsoft Oracle PayPal Uber VMware Walmart Labs | LeetCode |
Easy | Find Lucky Integer in an Array Leetcode Solution | Microsoft | LeetCode Array |
Easy | Reformat The String Leetcode Solution | Microsoft | LeetCode String |
Easy | Find the Difference Leetcode Solution | Adobe Amazon Google | LeetCode Hashing |
Medium | Insert into a Binary Search Tree Leetcode Solution | Amazon Apple Atlassian Facebook Google Microsoft | LeetCode |
Medium | Iterative Inorder Traversal of a Binary Tree | | tree Tree Traversal |
Easy | Merge Two Sorted Lists Leetcode Solutions | Adobe Amazon Apple Bloomberg Capital One Facebook Google IBM Microsoft Oracle | LeetCode |
Medium | Morris Inorder Traversal | | tree Tree Traversal |
Easy | Sum of Left Leaves Leetcode Solutions | Adobe | LeetCode Tree Tree Traversal |
Easy | Generate a String With Characters That Have Odd Counts Leetcode Solution | DiDi | LeetCode String |
Medium | Permutations Leetcode Solution | Adobe Amazon Apple Atlassian Bloomberg ByteDance eBay Facebook Garena GoDaddy Goldman Sachs Google LinkedIn Microsoft Oracle Salesforce SAP Uber VMware Walmart Labs Yahoo | LeetCode Backtracking |
Easy | Minimum Depth of Binary Tree Leetcode Solution | Amazon Apple Facebook | LeetCode Breadth First Search Depth First Search |
Easy | Power of Two Leetcode Solution | Apple | LeetCode |
Easy | Balanced Binary Tree Leetcode Solution | Amazon Google Microsoft | LeetCode Array |
Easy | Two Sum Leetcode Solution | Apple ByteDance Intuit Microsoft Oracle | LeetCode |
Easy | Count Primes Leetcode Solutions | Amazon Apple Capital One Google Microsoft | LeetCode Hashing |
Medium | House Robber II Leetcode Solution | Adobe Amazon Apple eBay Google Microsoft Walmart Labs | LeetCode Dynamic Programming |
Easy | Sqrt(x) Leetcode Solution | Amazon Apple Bloomberg Google lyft Microsoft Uber | LeetCode |
Easy | How Many Numbers Are Smaller Than the Current Number Leetcode Solution | Adobe Amazon Bloomberg | LeetCode Array Hashing |
Easy | Convert Sorted Array to Binary Search Tree Leetcode Solution | Adobe Airbnb Amazon Apple Bloomberg Cisco Google Microsoft Oracle Spotify VMware Yahoo | LeetCode Depth First Search |
Medium | Multiply Strings Leetcode Solution | Amazon Apple ByteDance Expedia Facebook Google Houzz Mathworks Microsoft Oracle Square Twitter Uber Zillow | LeetCode String |
Easy | Sum of All Odd Length Subarrays Leetcode Solution | LinkedIn | LeetCode Array |
Easy | Merge Sorted Arrays Leetcode Solution | Adobe Amazon Apple Bloomberg ByteDance Cisco eBay Expedia Facebook Goldman Sachs Google IBM LinkedIn lyft Microsoft Netflix Oracle Tableau Uber VMware Yahoo Yandex | LeetCode Array |
Medium | Search in Rotated Sorted Array Leetcode Solution | Adobe Alibaba Amazon Apple Bloomberg ByteDance Cisco eBay Expedia Facebook Goldman Sachs Google JPMorgan LinkedIn Microsoft Nutanix Nvidia Oracle PayPal Paytm Salesforce Samsung ServiceNow Tencent Tesla TripAdvisor Twitch Uber Visa VMware Walmart Labs Yahoo Yandex Zillow Zulily | LeetCode Array |
Medium | Lexicographical Numbers Leetcode Solution | ByteDance | LeetCode Depth First Search |
Medium | Integer to Roman Leetcode Solution | Adobe Amazon Apple BlackRock Bloomberg Evernote Facebook Google LinkedIn Microsoft Oracle Twitter Yahoo | LeetCode String |
Easy | Special Array With X Elements Greater Than or Equal X Leetcode Solution | Google | LeetCode Array Hashing |
Easy | Search Insert Position Leetcode Solution | Adobe Amazon Apple Bloomberg Google Microsoft | LeetCode Array |
Easy | Kids With the Greatest Number of Candies Leetcode Solution | Amazon Bloomberg | LeetCode Array |
Easy | Make The String Great Leetcode Solution | Google | LeetCode Stack String |
Easy | Running Sum of 1d Array Leetcode Solution | Adobe Amazon Apple Bloomberg Uber | LeetCode Array |
Easy | Length of Last Word Leetcode Solution | Google | LeetCode String |
Medium | Minimum Score Triangulation of Polygon Leetcode Solution | Uber | LeetCode Dynamic Programming |
Easy | Sort Integers by The Number of 1 Bit Leetcode Solution | Adobe | LeetCode Sorting |
Easy | Plus One Leetcode Solution | Adobe Amazon Apple Capital One Facebook Google Microsoft | LeetCode Array |
Easy | Check If N and Its Double Exist Leetcode Solution | Google | LeetCode Array |
Easy | Day of the Year Leetcode Solution | ZScaler | LeetCode |
Easy | Special Positions in a Binary Matrix Leetcode Solution | Google | LeetCode Array Matrix |
Easy | Water Bottles Leetcode Solution | Microsoft | LeetCode |
Easy | Maximum Product of Two Elements in an Array Leetcode Solution | Samsung | LeetCode Array |
Easy | Mean of Array After Removing Some Elements Leetcode Solution | Google | LeetCode Array |
Medium | Swap Nodes in Pairs Leetcode Solutions | Amazon Apple Bloomberg Facebook Microsoft | LeetCode |
Medium | Kth largest element in an Array Leetcode Solutions | Adobe Amazon Apple ByteDance eBay Expedia Facebook Google LinkedIn Microsoft Oracle Salesforce Spotify Walmart Labs | LeetCode Array |
Easy | Kth Missing Positive Number Leetcode Solution | Facebook Microsoft | LeetCode Array Hashing |
Easy | XOR Operation in an Array Leetcode Solution | Walmart Labs | LeetCode Array |
Easy | Three Consecutive Odds Leetcode Solution | Dji | LeetCode Array |
Easy | Ugly Number Leetcode Solution | | LeetCode |
Easy | Max Consecutive Ones Leetcode Solution | Amazon | LeetCode Array |
Easy | House Robber Leetcode Solution | Amazon Apple Cisco Microsoft Oracle | LeetCode Dynamic Programming |
Easy | Happy Number Leetcode Solution | Adobe Amazon Apple | LeetCode Hashing |
Hard | Sqrt (or Square Root) Decomposition Technique | Cadence India PayPal Qualtrics Roblox Twilio | |
Medium | Rearrange Array such that arr[i] >= arr[j] if i is even and arr[i] <= arr[j] if i is odd and j < i | Accenture Adobe Amazon Factset Zoho | array |
Medium | Armstrong Number | Oracle VMware | |
Medium | Scramble String | Amazon Fanatics Samsung | string Dynamic Programming Tree |
Easy | Sort Array By Parity II Leetcode Solution | Amazon | LeetCode Array Sorting |
Easy | Valid Anagrams | Amazon Goldman Sachs Google Microsoft Nagarro | string Hashing |
Medium | Contiguous Array | Amazon MakeMyTrip Morgan Stanley Paytm | array Hashing |
Medium | Convex Hull Algorithm | Geometric Morgan Stanley Samsung | algorithm |
Medium | Group Anagrams | Amazon Facebook Google Microsoft | string Hashing |
Hard | Integer to English words | Amazon Facebook Microsoft Oracle | string |
Medium | Unique Paths II | Amazon VMware | matrix Dynamic Programming |
Medium | Maximum Length of Repeated Subarray | Indeed Karat Roblox | array Dynamic Programming Hashing |
Easy | Count pair with Given Sum | Accolite Amazon Factset Hike | array Hashing Sorting |
Easy | Minimum Delete Operations to make all Elements of Array Same | Adobe Factset | hashing Array |
Medium | Maximum Distance Between two Occurrences of Same Element in Array | Delhivery Factset Fanatics Fourkites | hashing Array |
Easy | Group Multiple Occurrence of Array Elements Ordered by first Occurrence | Accolite Adobe Amazon Delhivery Fourkites | hashing Array |
Medium | Union and Intersection of two Linked Lists | 24*7 Innovation Labs Accolite Amazon Flipkart Komli Media Microsoft Taxi4Sure VMware Walmart Labs | linked-list Sorting |
Medium | Maximum difference between frequency of two elements such that element having greater frequency is also greater | Accenture Accolite Amazon VMware | array Sorting |
Easy | Lemonade Change Leetcode Solution | Amazon Atlassian | LeetCode |
Medium | Find the Smallest Divisor given a Threshold Leetcode Solution | AppDynamics Google SAP Walmart Labs | LeetCode |
Easy | Maximize Sum of Array after K Negations Leetcode Solution | Amazon | LeetCode Array |
Easy | Valid Perfect Square Leetcode Solution | Amazon | LeetCode |
Easy | Average Salary Excluding the Minimum and Maximum Salary Leetcode Solution | NetSuite | LeetCode |
Hard | Smallest Subarray with k Distinct Numbers | Amazon Google | hashing Array |
Medium | All Unique Triplets that Sum up to a Given Value | Accolite Amazon Fanatics | array Hashing |
Easy | Longest Subarray Having Count of 1s One More than Count of 0s | Accenture Amazon DE Shaw Samsung | array |
Medium | Maximum Array from Two given Arrays Keeping Order Same | Accenture Amazon Delhivery Factset Fourkites OYO Rooms Publicis Sapient Zoho | array |
Medium | Round Robin Scheduling | Amazon Facebook Google Microsoft | |
Easy | Count Subarrays with Same Even and Odd Elements | Accenture Factset Fanatics | array |
Hard | Find Smallest Range Containing Elements from k Lists | Amazon Apple Google Uber | dynamic-programming String |
Medium | Guess Number Higher or Lower II | Amazon Google Microsoft | dynamic-programming Array |
Easy | Rearrange an Array Such that arr[i] is equal to i | Accenture Adobe Amazon Fanatics Fourkites Zoho | array |
Easy | Segregate 0s and 1s in an Array | Accolite Amazon Fab MakeMyTrip PayPal Paytm Zoho | array |
Medium | Find Largest d in Array such that a + b + c = d | Accolite Amazon Delhivery Fanatics Fourkites FreeCharge | hashing Array |
Medium | Maximum Number of Chocolates to be Distributed Equally Among k Students | Accenture Adobe Amazon Facebook Fourkites | array |
Easy | Maximum Consecutive Numbers Present in an Array | Accolite Adobe Amazon Fourkites MAQ | array |
Easy | Move all Negative Numbers to Beginning and Positive to End with Constant Extra Space | Capgemini Hike MAQ o9 solutions TCS | array Sorting |
Hard | Queries for Number of Distinct Elements in a Subarray | Amazon Google Microsoft Oracle Uber | array Tree |
Hard | Queries on Probability of Even or Odd Number in given Ranges | Google Honeywell Uber | array |
Medium | Total Numbers With no Repeated Digits in a Range | Accolite Factset MAQ | array |
Hard | Range Minimum Query (Square Root Decomposition and Sparse Table) | Amazon Apple Google | array |
Medium | Range Sum Query using Sparse Table | Amazon Publicis Sapient Zoho | array |
Hard | Count and Toggle Queries on a Binary Array | Amazon Facebook Google Uber | array |
Medium | Queries for Decimal Values of Subarrays of a Binary Array | Amazon Google | array |
Medium | Maximize Elements Using Another Array | Amazon Fanatics Fourkites | array Sorting |
Easy | Find whether an array is subset of another array | Accolite GE Healthcare Qualcomm | array Sorting |
Easy | Minimum swaps required to bring all elements less than or equal to k together | Amazon AppDynamics Factset Fourkites Microsoft | hashing Array |
Easy | Maximum sum of pairs with specific difference | Accolite Coursera Delhivery Fourkites Snapdeal | dynamic-programming Array |
Medium | Find First and Last Position of Element in Sorted Array Leetcode Solution | Amazon Bloomberg ByteDance Facebook Google Microsoft Oracle Uber | LeetCode Array |
Easy | Monotonic Array LeetCode Solution | Amazon Facebook | LeetCode Array |
Hard | Smallest Good Base | Google | string |
Easy | Find top three repeated in array | MAQ o9 solutions Wipro | hashing Array |
Medium | Maximum sum of a path in a Right Number Triangle | Citrix DE Shaw Directi Expedia | dynamic-programming |
Medium | Sorting using trivial hash function | Cadence India Capgemini Factset MAQ UHG Optum | hashing Array Sorting |
Medium | Maximum number of segments of lengths a, b and c | Amazon BlackRock ByteDance Citrix Google Teradata Uber | dynamic-programming |
Medium | Maximum subsequence sum such that no three are consecutive | 24*7 Innovation Labs Accenture Amazon Delhivery PayPal PayU | dynamic-programming Array |
Easy | Count all subsequences having product less than K | ByteDance Capital One CodeNation Databricks Expedia Yandex | dynamic-programming Array |
Easy | Find duplicates in a given array when elements are not limited to a range | Adobe Amazon Factset MAQ UHG Optum | hashing Array |
Medium | Minimum insertions to form a palindrome with permutations allowed | Amazon CodeNation Directi Google Indeed Intuit | string Dynamic Programming |
Hard | LCS (Longest Common Subsequence) of three strings | Amazon CodeNation Expedia Google Uber Zoho | dynamic-programming String |
Medium | Check if Array Contains Contiguous Integers With Duplicates Allowed | Accenture Amazon Directi Facebook Intuit | hashing Array String |
Medium | Course Schedule II – LeetCode | | LeetCode Breadth First Search Depth First Search Graph Topological Sort |
Medium | Subset Sum Leetcode | | LeetCode Array Dynamic Programming |
Medium | Capacity To Ship Packages Within D Days Leetcode Solution | Amazon | LeetCode Array |
Easy | The K Weakest Rows in a Matrix Leetcode Solution | Amazon | LeetCode Array |
Medium | Add and Search Word – Data structure design LeetCode | | LeetCode Backtracking Design String Trie |
Hard | Best Time to Buy and Sell Stock III Leetcode Solution | Adobe Amazon | LeetCode Array Dynamic Programming |
Easy | Shuffle String Leetcode Solution | Facebook | LeetCode Sorting |
Medium | Best Time to Buy and Sell Stock with Cooldown Leetcode Solution | Adobe Amazon Goldman Sachs Yahoo | LeetCode Dynamic Programming |
Easy | Can Make Arithmetic Progression From Sequence Leetcode Solution | Amazon | LeetCode Array Sorting |
Easy | Largest Perimeter Triangle Leetcode Solution | C3 IoT | LeetCode Sorting |
Easy | Best Time to Buy and Sell Stock II Leetcode Solution | Amazon DE Shaw Facebook Microsoft Morgan Stanley Uber | LeetCode Array |
Medium | Best Time to Buy and Sell Stock with Transaction Fee Leetcode Solution | Amazon | LeetCode Array Dynamic Programming |
Easy | Sum of f(a[i], a[j]) over all pairs in an array of n integers | Cisco Facebook Hike Publicis Sapient | hashing Array |
Medium | Longest Repeated Subsequence | Amazon Arcesium Avalara ByteDance Capital One Facebook MetLife | dynamic-programming String |
Easy | Count of index pairs with equal elements in an array | Amazon Atlassian Citadel Facebook Intuit Snapdeal Square Yandex | hashing Array Sorting |
Easy | Find Sum of all unique sub-array sum for a given array | Amazon Facebook GreyOrange Intuit Microsoft Nagarro | hashing Array Sorting |
Easy | Sequences of given length where every element is more than or equal to twice of previous | Accenture Amazon CodeNation Facebook Google PayPal Qualcomm | dynamic-programming |
Hard | Find maximum length Snake sequence | Amazon CodeNation Expedia Yandex | dynamic-programming Matrix |
Medium | Print all triplets in sorted array that form AP | Accenture Accolite Cadence India Google InfoEdge Intuit Pinterest | array |
Hard | Minimum sum of multiplications of n numbers | Accenture BlackRock GE Healthcare JP Morgan PayPal | dynamic-programming Array |
Medium | Find number of pairs in an array such that their XOR is 0 | Cadence India CouponDunia Honeywell Indeed InfoEdge Moonfrog Labs Pinterest | array Sorting |
Easy | Count ways to reach the nth stair using step 1, 2 or 3 | Amazon CodeNation GE Healthcare Microsoft Moonfrog Labs PayPal Uber | dynamic-programming |
Medium | Minimum Sum Path in a Triangle | Amazon Apple Bloomberg | dynamic-programming Array |
Medium | Longest subarray not having more than K distinct elements | Amazon Citadel Delhivery Facebook Microsoft Samsung Yandex | hashing Array |
Medium | Morris Traversal | Amazon Facebook Fourkites Google Microsoft | tree Tree Traversal |
Hard | Kth ancestor of a node in binary tree | Amazon Google | tree Tree Traversal |
Hard | Maximum possible difference of two subsets of an array | Atlassian Cadence India Directi FreeCharge Opera PayU Snapchat Times Internet Xome | hashing Array Sorting |
Medium | Find postorder traversal of BST from preorder traversal | Amazon Fourkites PayU | tree Tree Traversal |
Hard | Inorder Successor of a node in Binary Tree | Amazon Expedia Morgan Stanley OYO Rooms Snapchat | tree |
Easy | Given an Array of Pairs Find all Symmetric Pairs in it | Amazon Capgemini Cisco FreeCharge Moonfrog Labs Opera Xome | array |
Easy | Minimum operation to make all elements equal in array | Amazon BlackRock Citadel Directi Flipkart Indeed Yandex | hashing Array |
Easy | Check if a given array can represent Preorder Traversal of Binary Search Tree | Adobe Amazon LinkedIn | tree Stack |
Medium | Construct Binary Tree from given Parent Array representation | Amazon Microsoft Snapdeal | tree Array |
Medium | Given a binary tree, how do you remove all the half nodes? | Accolite Amazon Microsoft PayU Snapdeal Synopsys Yahoo | tree |
Easy | Iterative Preorder Traversal | Amazon Google JP Morgan Microsoft Morgan Stanley Uber | tree Tree Traversal |
Medium | Find subarray with given sum (Handles Negative Numbers) | Amazon CouponDunia Delhivery GE Healthcare InfoEdge Moonfrog Labs | hashing Array |
Medium | Length of the largest subarray with contiguous elements | Adobe Amazon Bloomberg Cisco Karat Monotype Solutions Paytm PayU Publicis Sapient SAP Labs | hashing Array |
Easy | Find distance between two nodes of a Binary Tree | Amazon LinkedIn MakeMyTrip Netflix Samsung | tree |
Medium | Maximum Number of Coins You Can Get Leetcode Solution | | LeetCode Sorting |
Medium | Count number of triplets with product equal to given number | Accolite Amazon Cisco Flipkart Kuliza Publicis Sapient | hashing Array |
Medium | Maximum difference between first and last indexes of an element in array | Accolite Amazon Hike MakeMyTrip Ola Cabs SAP Labs | hashing Array |
Easy | Write Code to Determine if Two Trees are Identical | Amazon Factset Fanatics GE Healthcare Microsoft PayPal | tree |
Hard | Find any one of the multiple repeating elements in read only array | Capital One Facebook Google Indeed Microsoft Pinterest | hashing Array |
Easy | Find elements which are present in first array and not in second | Accolite Delhivery Factset Fanatics Snapdeal Zoho | hashing Array |
Medium | Boundary Traversal of binary tree | Accolite Amazon Hike Kritikal Solutions Microsoft Morgan Stanley PayU Snapdeal | tree Tree Traversal |
Hard | Check for Palindrome after every character replacement Query | Amazon Facebook Flipkart Google Netflix | hashing String |
Easy | Difference between highest and least frequencies in an array | Citadel Fab Fourkites Roblox Tesla | hashing Array Sorting |
Medium | Diagonal Traversal of Binary Tree | Amazon Factset Fanatics Fourkites Oracle PayU Quora | tree Tree Traversal |
Medium | Koko Eating Bananas Leetcode Solution | Facebook | LeetCode |
Easy | Bottom View of a Binary Tree | Accolite Amazon CouponDunia Flipkart Paytm Walmart Labs | tree Tree Traversal |
Medium | Letter Combinations of a Phone Number | Amazon Apple Atlassian Capital One Databricks eBay Facebook Google Microsoft Morgan Stanley Oracle Qualtrics Twilio Uber VMware Walmart Labs | queue Backtracking Depth First Search String |
Hard | Find four elements that sum to a given value (Hashmap) | Amazon Google Microsoft | hashing Array Sorting |
Medium | Count even length binary sequences with same sum of first and second half bits | 24*7 Innovation Labs Amazon Dell GE Healthcare | dynamic-programming |
Easy | Longest subsequence such that difference between adjacents is one | Amazon Avalara Factset Fourkites Microsoft | dynamic-programming Array |
Medium | Find all triplets with zero sum | Amazon GE Healthcare Google Hike | array Sorting |
Easy | k-th missing element in increasing sequence which is not present in a given sequence | Citadel Expedia Fab Factset IBM SAP Labs | hashing Array |
Easy | How to check if two given sets are disjoint? | Factset Hike Kuliza Nagarro Opera Snapdeal | hashing Array Sorting |
Easy | Check if a given array contains duplicate elements within k distance from each other | Amazon Avalara Citadel FreeCharge HackerRank Snapchat Snapdeal | hashing Array |
Easy | Print Right View of a Binary Tree | Accolite Adobe Amazon MakeMyTrip Snapdeal | tree Tree Traversal |
| Count Negative Numbers in a Sorted Matrix LeetCode Solution | | LeetCode Matrix |
Medium | Check if two arrays are equal or not | Accenture Goldman Sachs MAQ o9 solutions Taxi4Sure Twilio | hashing Array Sorting |
Medium | Pair with given product | 24*7 Innovation Labs Amazon Avalara Quora Roblox | hashing Array |
Medium | Maximum path sum in a triangle | Arcesium CodeNation GE Healthcare PayU Uber Zoho | dynamic-programming |
Easy | Path with maximum average value | Cisco Epic Systems GreyOrange SAP Labs Times Internet | dynamic-programming Array Matrix |
Easy | Maximum Distance in Array | Adobe Amazon Google Oracle | matrix Array |
Medium | Find if there is a subarray with 0 sum | Citrix DE Shaw Goldman Sachs Indeed MakeMyTrip OYO Rooms Paytm TCS | hashing Array |
Easy | Find missing elements of a range | Delhivery GreyOrange LinkedIn Nagarro Opera Synopsys | hashing Sorting |
Easy | First element occurring k times in an array | Amazon Hike PayU SAP Labs Teradata Wipro Yatra Zoho | hashing Array |
Easy | Maximum product of an increasing subsequence | Accolite GE Healthcare HackerRank IBM Snapchat Yahoo | dynamic-programming Array |
Hard | Print all subarrays with 0 sum | Amazon FreeCharge Indeed Info Edge Microsoft OYO Rooms | hashing Array |
Easy | Contains Duplicate | Adobe Amazon Apple | hashing Array |
Medium | Print Maximum Length Chain of Pairs | Amazon | dynamic-programming |
Easy | Print n terms of Newman-Conway Sequence | Amazon Citadel Factset Fanatics JP Morgan | dynamic-programming |
Hard | Count Substrings with equal number of 0s, 1s and 2s | Citrix FreeCharge Goldman Sachs OYO Rooms Times Internet Twilio | hashing String |
Medium | Longest Substring Without Repeating Characters | Adobe Alation Amazon Apple Bloomberg ByteDance Cisco eBay Expedia Facebook Goldman Sachs Google Microsoft Morgan Stanley Oracle SAP SAP Labs Spotify Uber VMware Yahoo | string Hashing |
Medium | Remove Duplicates from Sorted List II | Amazon | linked-list |
Medium | Form minimum number from given sequence | Accolite Amazon Fanatics Goldman Sachs Info Edge Snapchat | string Array Stack |
Medium | Print modified array after executing the commands of addition and subtraction | ByteDance Cisco Citrix FreeCharge HackerRank Nagarro Opera Teradata | dynamic-programming Array |
Easy | Write a function to get the intersection point of two Linked Lists | Accolite Amazon DE Shaw Factset Goldman Sachs MakeMyTrip MAQ Microsoft Qualcomm Snapdeal Visa Zopper | linked-list |
Easy | Newman-Conway Sequence | Amazon Honeywell | dynamic-programming |
Medium | Generate all possible sorted arrays from alternate elements of two given sorted arrays | Directi Karat PayPal Twilio Yandex | array |
Medium | Moser-de Bruijn Sequence | FreeCharge Snapdeal Times Internet | dynamic-programming |
Hard | Range Queries for Longest Correct Bracket Subsequence | Amazon CodeNation Google PayPal Uber | dynamic-programming Array Stack |
Hard | Print modified array after multiple array range increment operations | Expedia FreeCharge Google Indeed Moonfrog Labs Ola Cabs Qualtrics | dynamic-programming Array |
Medium | Number of indexes with equal elements in given range | GreyOrange Indeed Opera Pinterest Snapdeal Yahoo | dynamic-programming Array |
Hard | Longest Bitonic Subsequence | CodeNation DE Shaw Google JP Morgan Microsoft | dynamic-programming Array |
Easy | Golomb sequence | Cadence India Indeed Times Internet Yatra | dynamic-programming |
Hard | Array Queries for multiply replacements and product | Cadence India DE Shaw Expedia Google | array |
Easy | Newman–Shanks–Williams prime | HackerRank | dynamic-programming |
Hard | Difference Array | Range update query in O(1) | Arcesium CodeNation Directi Expedia Google Qualcomm | dynamic-programming Array |
Hard | Painting Fence Algorithm | CodeNation Facebook Google Intuit JP Morgan Morgan Stanley | dynamic-programming Array |
Easy | Check in binary array the number represented by a subarray is odd or even | Cisco Fab IBM Microsoft PayU Snapchat Snapdeal Teradata | array |
Medium | Largest subarray with equal number of 0s and 1s | Amazon Coursera GreyOrange MakeMyTrip Morgan Stanley Paytm Synopsys Times Internet | hashing Array |
Medium | Binary array after M range toggle operations | Amazon Coursera Goldman Sachs Google GreyOrange Snapchat | dynamic-programming Array |
Easy | Constant time range add operation on an array | CodeNation DE Shaw Directi Expedia Google | dynamic-programming Array |
Medium | Delete Nth node from the end of the given linked list | Adobe Amazon Arcesium Factset Intuit Zoho | linked-list |
Easy | Delete a Node from linked list without head pointer | GE Healthcare MAQ | linked-list |
Medium | Count Primes in Ranges | Google Hike Kuliza Sieve Snapchat Yahoo | dynamic-programming |
Easy | Print the Fibonacci numbers in reverse order | Accenture MAQ o9 solutions UHG Optum | dynamic-programming |
Easy | Print Fibonacci sequence using 2 variables | Amazon Delhivery Factset Fourkites Hike MAQ o9 solutions PayU | dynamic-programming |
Easy | Non-overlapping sum of two sets | Accolite Amazon Hike Kuliza Pinterest Snapdeal Synopsys Teradata | hashing Array |
Hard | Find all pairs (a, b) in an array such that a % b = k | Amazon Arcesium Citadel Directi FreeCharge Yahoo | hashing Array |
Hard | Range LCM Queries | Amazon Directi Google Indeed PayPal Snapdeal Uber | tree Array |
Medium | Queries on XOR of greatest odd divisor of the range | 24*7 Innovation Labs Citadel Directi Expedia Google Indeed Snapdeal | dynamic-programming Array |
Easy | Compute nCr % p | Accenture Cadence India Komli Media Ola Cabs Square | dynamic-programming |
Easy | Cutting a Rod | Amazon Directi Flipkart Google JP Morgan Microsoft | dynamic-programming |
Hard | Queries for counts of array elements with values in given range | Coursera DE Shaw Google PayU Snapdeal Times Internet Yahoo | array |
Hard | Number of elements less than or equal to a given number in a given subarray | CodeNation DE Shaw Google Opera PayPal Pinterest | tree Array |
Medium | Largest divisible pairs subset | Amazon Google | dynamic-programming |
Hard | GCDs of given index ranges in an array | DE Shaw PayPal Snapchat Snapdeal Times Internet Xome | tree Array |
Hard | Queries for GCD of all numbers of an array except elements in a given range | Amazon Capital One DE Shaw Google PayPal Quora Teradata | dynamic-programming Array |
Hard | Find whether a subarray is in form of a mountain or not | Amazon BlackRock Cisco Citrix Factset Honeywell Tesla Yandex | dynamic-programming Array |
Medium | Mean of range in array | Cadence India Expedia FreeCharge GreyOrange Roblox Snapchat Snapdeal Times Internet Yandex | dynamic-programming Array |
Hard | Subset with sum divisible by m | Arcesium Cisco DE Shaw Directi Expedia Myntra PayU | dynamic-programming Array |
Medium | Check if any two intervals overlap among a given set of intervals | Amazon Arcesium Cisco Directi JP Morgan Microsoft Qualcomm Yandex | dynamic-programming Sorting |
Easy | Range sum queries without updates | BlackRock GE Healthcare Moonfrog Labs Synopsys Taxi4Sure Twilio | dynamic-programming Array |
Easy | Max stack | Apple lyft Uber | stack Design |
Medium | Subset Sum Problem in O(sum) space | Adobe Amazon Drishti-Soft | dynamic-programming Array |
Easy | Find Index of Closing Bracket for a Given Opening Bracket in an Expression | Adobe Amazon Flipkart Oracle OYO Rooms Snapdeal Walmart Labs Yatra | stack Array String |
Hard | Products of ranges in an array | Accolite DE Shaw FreeCharge Google SAP Labs Snapdeal Times Internet | array |
Easy | Friends Pairing Problem | Amazon Expedia GE Healthcare Google Honeywell JP Morgan | dynamic-programming |
Easy | Happy Number | Adobe Amazon Apple JP Morgan | |
Easy | Palindrome Permutation | Facebook Microsoft | array Hashing String |
Medium | Gold Mine Problem | Amazon Flipkart Google Microsoft PayU Uber | dynamic-programming Array Matrix |
Easy | Palindrome Number | Adobe Amazon Bloomberg DBOI Google MAQ Microsoft o9 solutions | |
Easy | Design a stack that supports getMin() in O(1) time and O(1) extra space | Adobe Amazon Factset Flipkart Goldman Sachs GreyOrange Kuliza Microsoft Paytm Publicis Sapient SAP Snapdeal VMware | stack |
Medium | Find Maximum Level sum in Binary Tree | Amazon | tree Breadth First Search Queue Tree Traversal |
Easy | Tiling Problem | 24*7 Innovation Labs Amazon DE Shaw Delhivery PayPal | dynamic-programming |
Medium | Permutation Coefficient | BankBazaar Xome | dynamic-programming |
Easy | Sort a stack using recursion | Amazon Goldman Sachs IBM Kuliza Yahoo | stack |
Easy | Longest Increasing Consecutive Subsequence | Amazon Google Microsoft | dynamic-programming Array |
Hard | Red-Black Tree Introduction | Amazon CodeNation Facebook Google Uber | tree |
Easy | Delete middle element of a stack | Amazon | stack |
Medium | Sorting array using Stacks | Amazon Goldman Sachs IBM Kuliza Yahoo | stack Sorting |
Medium | Binomial Coefficient | Directi Expedia HackerRank Xome | dynamic-programming |
Hard | Binary Search Tree Delete Operation | Accolite Amazon Qualcomm Samsung | tree |
Easy | Best Time to Buy and Sell Stock | Adobe Amazon Apple Bloomberg ByteDance Cisco DE Shaw eBay Expedia Facebook Goldman Sachs Google JP Morgan Microsoft Morgan Stanley Oracle PayPal Qualtrics Samsung VMware | dynamic-programming Array |
Medium | Implementation of Deque using Doubly Linked List | Adobe Alation Amazon American Express DE Shaw Factset Fourkites GE Healthcare Google Oxigen Wallet Qualcomm Spotify Sprinklr UHG Optum Wooker Xome ZScaler | linked-list Queue |
Medium | Delete consecutive same words in a sequence | Factset | string Array Sorting Stack |
Medium | Iterative Method to find Height of Binary Tree | Accolite Adobe Amazon Fanatics Fourkites Hike Snapdeal Yatra | tree Queue |
Medium | Sort a stack using a temporary stack | Amazon Goldman Sachs IBM Kuliza Yahoo | stack Sorting |
Easy | Reverse a stack without using extra space in O(n) | Factset Infosys MAQ | stack |
Hard | Clone a Binary Tree with Random Pointers | Accolite Amazon Cisco Factset Fanatics Google Microsoft Opera Snapchat | tree |
Medium | Top K Frequent Elements | Amazon Apple Bloomberg ByteDance Capital One eBay Facebook Google Microsoft Oracle Pocket Gems | queue Array Hashing |
Medium | Level order traversal using two Queues | Amazon Hike Microsoft Morgan Stanley | queue Breadth First Search Tree Tree Traversal |
Easy | Bubble sort using two Stacks | Amazon Capgemini Delhivery MAQ | stack Array Sorting |
Hard | Text Justification | Amazon Coursera Google Indeed LinkedIn Microsoft Pinterest Snapchat | string |
Easy | Reverse individual words | Amazon | string Stack |
Medium | Count subarrays where second highest lie before highest | HackerRank | stack Array |
Medium | Find the smallest binary digit multiple of given number | Amazon Fourkites LinkedIn Microsoft Snapdeal | graph Breadth First Search |
Medium | Minimum Operations to convert X to Y | Amazon Factset Fanatics Fourkites JP Morgan Myntra Samsung Spotify Square | graph Breadth First Search |
Easy | Find maximum difference between nearest left and right smaller elements | Fourkites | stack Array |
Medium | Remove brackets from an algebraic string containing + and – operators | Adobe Amazon Fourkites | stack String |
Easy | Implement a stack using single queue | Amazon Fourkites Google Infosys MAQ Microsoft | stack Queue |
Hard | Find the First Circular Tour that visits all the Petrol Pumps | Amazon Factset Microsoft Morgan Stanley Zoho | queue |
Easy | Sort an array according to the order defined by another array | Amazon Microsoft SAP Labs Snapchat Yahoo Zoho | array Sorting |
Medium | Rearrange a binary string as alternate x and y occurrences | Accolite Cisco Citrix Hike IBM Info Edge Pinterest Roblox Tesla | string |
Medium | Shuffle 2n integers as a1-b1-a2-b2-a3-b3-..bn without using extra space | Adobe DE Shaw Expedia Fanatics Indeed PayU | array |
Easy | Distinct adjacent elements in an array | Coursera DE Shaw Hike IBM Kuliza Nagarro Opera OYO Rooms Zoho | array |
Hard | Construction of Longest Increasing Subsequence (N log N) | Amazon BankBazaar Paytm Samsung | array Dynamic Programming |
Easy | Maximize sum of consecutive differences in a circular array | Cadence India eBay GE Healthcare Karat Quora SAP Labs Square | array Sorting |
Easy | Three way partitioning of an array around a given range | BankBazaar BlackRock Capital One Citadel Fab Moonfrog Labs Synopsys Twilio Yahoo | array |
| Minimum time required to rot all oranges | Adobe Amazon Bloomberg Microsoft | graph Array Breadth First Search Matrix |
Medium | Check if X can give change to every person in the Queue | Amazon | array Queue |
Medium | Check if two nodes are on the same path in a Tree | Amazon Factset Fourkites Samsung | graph Depth First Search |
Hard | Check if all levels of two Binary Tree are anagrams or not | Adobe Amazon Facebook Fanatics Fourkites GreyOrange | tree Queue |
Medium | Minimum sum of squares of character counts in a given string after removing k characters | Amazon | queue String |
Easy | Rearrange an array such that ‘arr[j]’ becomes ‘i’ if ‘arr[i]’ is ‘j’ | Amazon Delhivery Kuliza Nagarro Opera Times Internet Yatra | array |
Medium | Maximum length subsequence with difference between adjacent elements as either 0 or 1 | Cisco Expedia Qualtrics SAP Labs Teradata | array Dynamic Programming |
Easy | Replace two consecutive equal values with one greater | Accenture Citadel FreeCharge PayPal Square Teradata | array |
Medium | Find a sorted subsequence of size 3 in linear time | Avalara Capital One Citadel Citrix eBay Fab Synopsys | array |
Medium | Maximum Product Subarray | Amazon Cisco Microsoft Morgan Stanley Myntra PayU Times Internet Zoho | array |
Easy | Convert array into Zig-Zag fashion | Accenture Amazon Fourkites Teradata Xome | array |
Medium | First negative integer in every window of size k | Accolite Amazon PayPal Soroco | queue Array |
Medium | Queue based approach for first non-repeating character in a stream | Amazon Flipkart Microsoft PayU Yahoo | queue String |
Hard | Distance of nearest cell having 1 in a binary matrix | Accenture Amazon Honeywell HSBC Hulu Twitter | queue Array Breadth First Search Graph Matrix |
Hard | Sum of minimum and maximum elements of all subarrays of size k | ByteDance Capital One CouponDunia Databricks Google Twilio Yandex | queue Array |
Medium | An Interesting Method to generate Binary Numbers from 1 to n | Amazon Belzabar Mahindra Comviva ServiceNow Wooker | tree Breadth First Search Queue |
Hard | Find the largest multiple of 3 | Amazon | queue Dynamic Programming Sorting |
| Transpose Graph | Accenture Amazon JP Morgan Microsoft Zycus | graph |
Easy | Check if the given array can represent Level Order Traversal of Binary Search Tree | Amazon Citrix IBM Indeed Info Edge OYO Rooms Teradata | tree Queue Tree Traversal |
Hard | Number of siblings of a given Node in n-ary Tree | Amazon Bloomberg CodeNation Google | tree Queue Tree Traversal |
Hard | Check whether a given Binary Tree is Complete or not | Alation American Express Databricks Oxigen Wallet Spotify | tree Queue |
Easy | Count the number of nodes at given level in a tree using BFS | Alation BankBazaar JP Morgan Square Taxi4Sure | tree Breadth First Search Graph Tree Traversal |
Easy | BFS for Disconnected Graph | Amazon Hulu Karat Microsoft Salesforce | graph Breadth First Search |
Medium | Page Replacement Algorithms in Operating Systems | Amazon Cognizant Factset Microsoft PayPal | algorithm |
Medium | Check if a queue can be sorted into another queue using a stack | Amazon American Express MAQ | queue Sorting Stack |
Medium | Priority Queue using doubly linked list | Amazon Citadel MAQ Wooker | queue |
Easy | Implement Stack and Queue using Deque | Fanatics GE Healthcare MAQ Myntra Qualcomm | queue Stack |
Medium | Form Minimum Number From Given Sequence | Amazon Goldman Sachs | stack Array String |
Medium | Minimum number of distinct elements after removing m items | BlackRock ByteDance Expedia Ola Cabs Oracle PayU SAP Labs Yandex | tree Array |
Hard | Convert BST into a Min-Heap without using array | Amazon Cisco Microsoft SAP Labs | tree |
Medium | Pattern Occurrences using Stack | | stack String |
Medium | Number Of Longest Increasing Subsequence | Amazon Samsung Zoho | dynamic-programming Array |
Hard | Merge two BSTs with limited extra space | Amazon Google Microsoft PayU Uber | tree |
Easy | Count subarrays with equal number of 1’s and 0’s | Cisco CouponDunia Coursera Databricks Karat SAP Labs Tesla | hashing Array |
Easy | Iterative Postorder Traversal Using Two Stacks | Adobe Amazon Factset Fourkites Paytm | stack Tree |
Medium | Stack Permutations (Check if an array is stack permutation of other) | Amazon Fourkites | stack Queue |
Hard | Palindrome Substring Queries | Amazon ByteDance eBay Expedia Google Intuit Microsoft PayPal Pinterest Synopsys | hashing Dynamic Programming String |
Easy | Rearrange array such that even index elements are smaller and odd index elements are greater | Avalara Epic Systems Fourkites Roblox Tesla | array |
Easy | Segregate even and odd numbers | Accolite LinkedIn MakeMyTrip Paytm | array Sorting |
Hard | Minimum Steps to reach target by a Knight | Amazon LinkedIn MakeMyTrip | graph Breadth First Search Dynamic Programming Queue |
Medium | Binary Tree to Binary Search Tree Conversion using STL set | Amazon Coursera Google Indeed Microsoft OYO Rooms | tree |
Medium | Growable array based stack | MAQ Walmart Labs | stack Array |
Easy | Find Minimum In Rotated Sorted Array | Adobe Amazon Microsoft Morgan Stanley Samsung Snapdeal Times Internet | array |
Medium | Implementation of Deque using circular array | Amazon GE Healthcare Google Microsoft | queue Array |
Easy | Move all negative elements to end in order with extra space allowed | Capital One Citrix IBM SAP Labs Taxi4Sure Twilio | array |
Hard | K’th Largest element in BST using constant extra space | Amazon Expedia FreeCharge Microsoft Snapdeal Yahoo Yandex | tree |
Medium | Rearrange an array in order – smallest, largest, 2nd smallest, 2nd largest | Amazon Citadel Expedia GE Healthcare Qualcomm Qualtrics Twilio Yatra | sorting Array |
Easy | Rearrange array such that even positioned are greater than odd | Amazon LinkedIn OYO Rooms Times Internet Zoho | array Sorting |
Medium | Double the first element and move zero to end | Microsoft Zoho | array |
Easy | Arrange given numbers to form the biggest number | Amazon MakeMyTrip Paytm Zoho | string Array |
Medium | K’th Largest Element in BST when modification to BST is not allowed | Amazon Cisco Google UHG Optum | tree |
Easy | Tracking current Maximum Element in a Stack | Factset Fourkites Infosys | stack |
Medium | Iterative method to find ancestors of a given binary tree | Adobe Amazon Fourkites Google InfoEdge Morgan Stanley Paytm Samsung | stack Tree |
Easy | Check if stack elements are pairwise consecutive | Delhivery Factset Fourkites | stack |
Easy | Remove duplicates from sorted array | Amazon Facebook Morgan Stanley Wipro Xome Zoho | array |
Easy | Check if each internal node of a BST has exactly one child | Accenture Amazon Monotype Solutions PayPal Synopsys | tree |
Medium | Elements to be added so that all elements of a range are present in array | GreyOrange Kuliza Snapdeal Synopsys Teradata Times Internet | hashing Array Sorting |
Medium | Count subarrays having total distinct elements same as original array | Amazon Databricks Fab Honeywell PayU Square Teradata Yandex | hashing Array |
Easy | Product of array except self | Accolite Amazon DE Shaw Morgan Stanley Opera | array |
Medium | Height of a generic tree from parent array | Google PayU Qualcomm Sprinklr Uber | tree Breadth First Search Dynamic Programming Graph Queue |
Medium | Find k-th smallest element in BST (Order Statistics in BST) | Accolite Amazon Google | tree |
Easy | Linked List Cycle | Accolite Amazon MAQ Samsung | linked-list |
Medium | Vertical sum in a given binary tree | Amazon Microsoft | tree |
Easy | A program to check if a binary tree is BST or not | Accolite Adobe Amazon Boomerang Commerce Factset GreyOrange MakeMyTrip Microsoft Oracle OYO Rooms Qualcomm Snapdeal VMware Walmart Labs Wooker | tree |
Medium | Check for Identical BSTs without building the trees | Fanatics Fourkites | tree |
Easy | Maximum Depth Of Binary Tree | Amazon Cadence India CouponDunia Factset FreeCharge MakeMyTrip Monotype Solutions Snapdeal Synopsys Teradata VMware Zoho | tree Depth First Search Tree Traversal |
Medium | Palindrome Partitioning | Amazon Facebook Google Microsoft | dynamic-programming Backtracking Depth First Search String |
Hard | First missing positive | Accolite Amazon Factset Samsung Snapdeal | array |
Medium | Contiguous Array Leetcode | Amazon Facebook Google | LeetCode Array Hashing |
Easy | Reverse Integer | MakeMyTrip MAQ | string |
Easy | Reverse words in a string | Accolite Adobe Amazon Cisco Goldman Sachs MakeMyTrip MAQ Microsoft Morgan Stanley Paytm PayU SAP Labs Wipro Zoho | string |
Easy | Reverse a String | Infosys MAQ o9 solutions TCS | string |
Easy | Seconds to Days | MAQ | |
Hard | Program for Bridge and Torch problem | Accolite eBay Quora Snapdeal Teradata Times Internet | dynamic-programming Array |
Hard | Cuckoo Hashing | Epic Systems Flipkart Google Microsoft Netflix Tesla | hashing |
Medium | Subarrays with distinct elements | Cisco FreeCharge Times Internet Zoho | hashing Array |
Easy | Find the minimum distance between two numbers | CouponDunia Coursera Delhivery Moonfrog Labs PayPal Paytm Snapchat | array |
Hard | Boolean Parenthesization Problem | Amazon LinkedIn Microsoft | dynamic-programming |
Hard | K maximum sums of overlapping contiguous sub-arrays | CodeNation Dell Facebook GE Healthcare Google Qualcomm | dynamic-programming Array |
Medium | Count quadruples from four sorted arrays whose sum is equal to a given value x | Accolite Fanatics Moonfrog Labs Synopsys | hashing Array Sorting |
Medium | Count pairs from two linked lists whose sum is equal to a given value | Adobe Amazon Avalara Expedia Fanatics Google Indeed Microsoft PayPal Tesla | hashing Sorting |
Easy | Find sum of non-repeating elements (distinct) elements in an array | Oxigen Wallet | hashing Array Sorting |
Hard | Find distinct elements common to all rows of a matrix | BlackRock Expedia JP Morgan Qualcomm Snapdeal Yatra Zoho | hashing Matrix Sorting |
Easy | Numbers with prime frequencies greater than or equal to k | Accolite Amazon Factset Fourkites GreyOrange Pinterest Xome | hashing Array |
Medium | Convert an array to reduced form | LinkedIn Snapchat Xome Yahoo | hashing Array Sorting |
Medium | Find pairs with given sum such that elements of pair are in different rows | Amazon DE Shaw Directi GreyOrange Indeed Pinterest Teradata | hashing Array Matrix |
Medium | Common elements in all rows of a given matrix | Amazon Cisco DE Shaw Opera SAP Labs Zoho | hashing Array Matrix |
Easy | Count pairs from two sorted arrays whose sum is equal to a given value x | BankBazaar Cisco Citadel Honeywell PayU Roblox Taxi4Sure Yandex | array Sorting |
Medium | Find all permuted rows of a given row in a matrix | 24*7 Innovation Labs Accenture Expedia IBM JP Morgan Quora | hashing Array Matrix |
Medium | How to print maximum number of A’s using given four keys | Amazon Facebook Google PayPal Paytm | dynamic-programming |
Medium | Collect maximum points in a grid using two traversals | Amazon Fab Goldman Sachs Google Honeywell LinkedIn Pinterest Yahoo | dynamic-programming Array Matrix |
Easy | Given two unsorted arrays find all pairs whose sum is x | Amazon Facebook | hashing Array |
Hard | Convert BST to Min Heap | Amazon BlackRock ByteDance GE Healthcare Honeywell | tree |
Easy | Sort elements by frequency | Amazon Oracle Zoho Zycus | hashing Array Sorting |
Easy | Convert String To Int | MAQ | string |
Easy | Find the first repeating element in an array of integers | Amazon Fanatics MAQ Microsoft Oracle | hashing Array |
Medium | Maximum weight transformation of a given string | Amazon BlackRock ByteDance CodeNation DE Shaw Expedia JP Morgan Ola Cabs | dynamic-programming String |
Hard | Word Wrap Problem | Arcesium Factset GreyOrange Microsoft Myntra Ola Cabs PayU | dynamic-programming |
Hard | The Painter’s Partition Problem | CodeNation Google | dynamic-programming |
| Maximum Subarray Sum Excluding Certain Elements | Accolite CodeNation Directi JP Morgan Qualcomm | dynamic-programming Array |
Hard | Merge Two Balanced Binary Search Trees | Amazon GE Healthcare Google Microsoft Salesforce Spotify | tree |
Easy | Binary Search Tree Search and Insertion | Amazon DBOI Fanatics GE Healthcare MAQ Microsoft UHG Optum | tree |
Easy | Count items common to both the lists but with different prices | Amazon Factset GE Healthcare Honeywell TCS Tesla | hashing |
Hard | Mobile Numeric Keypad Problem | Amazon MAQ Microsoft Sprinklr | dynamic-programming Matrix String |
Easy | Find the subarray with least average | Amazon Capital One Moonfrog Labs | array |
Easy | Find the smallest positive integer value that cannot be represented as sum of any subset of a given array | Databricks Fab Taxi4Sure UHG Optum | array |
Easy | Minimum number of subsets with distinct elements | Capital One GE Healthcare IBM Moonfrog Labs Yandex | hashing Array Sorting |
Medium | Maximum sum bitonic subarray | Cisco DE Shaw Dell Fourkites Goldman Sachs Grofers IBM PayU Quora Yahoo | dynamic-programming Array |
Easy | Find minimum number of merge operations to make an array palindrome | Accolite Adobe Amazon Fourkites | array |
Medium | Minimize the maximum difference between the heights | Adobe Cisco Fanatics Yandex | array |
Medium | Longest Span with same Sum in two Binary arrays | Accenture Cisco Indeed Kuliza SAP Labs Yandex | hashing Array |
Medium | Convert a normal BST to Balanced BST | American Express ByteDance Capital One Grofers Intel Splunk Zoho | tree |
Hard | Largest area rectangular sub-matrix with equal number of 1’s and 0’s | Accenture Indeed Info Edge Monotype Solutions PayPal Pinterest Synopsys Times Internet UHG Optum | dynamic-programming Array Matrix |
Medium | A Space Optimized DP solution for 0-1 Knapsack Problem | Amazon BlackRock ByteDance CodeNation JP Morgan Netskope Ola Cabs Qualcomm | dynamic-programming |
Easy | Check given array of size n can represent BST of n levels or not | Amazon Hulu Intel Juniper Networks Microsoft Robinhood Yelp | tree Array |
Easy | Find maximum average subarray of k length | Amazon | array |
Hard | Printing brackets in Matrix Chain Multiplication Problem | Amazon Avalara Citadel Databricks Directi JP Morgan Paytm Twilio | dynamic-programming Array Matrix |
Easy | Size of The Subarray With Maximum Sum | Coursera GreyOrange UHG Optum Xome | dynamic-programming Array |
Easy | Find minimum difference between any two elements | Amazon | array Sorting |
Easy | Minimum number of jumps to reach end | Adobe Amazon Housing.com Moonfrog Labs Morgan Stanley OYO Rooms SAP Labs Walmart Labs | dynamic-programming |
Hard | Number of palindromic paths in a matrix | Apple CodeNation Facebook Fanatics Google | dynamic-programming Matrix |
Hard | Largest rectangular sub-matrix whose sum is 0 | Amazon CodeNation Directi Expedia Facebook Google IBM Microsoft PayPal Uber | dynamic-programming Array Matrix |
Medium | Maximum sum rectangle in a 2D matrix | Accolite Amazon Factset Samsung | dynamic-programming Array Matrix |
Medium | Count minimum steps to get the given desired array | Capital One Citrix Coursera Synopsys Zycus | array |
Easy | Maximum Sum Increasing Subsequence | Amazon Fanatics Microsoft Morgan Stanley | dynamic-programming Array |
Easy | Largest Sum Contiguous Subarray | 24*7 Innovation Labs Accolite Amazon DE Shaw Factset Flipkart Hike Housing.com MakeMyTrip MetLife Microsoft Morgan Stanley Ola Cabs Oracle OYO Rooms PayU Samsung Snapdeal Teradata Visa VMware Walmart Labs Zoho | dynamic-programming Array |
Medium | Matrix Chain Multiplication | Amazon CodeNation DE Shaw Google Microsoft Uber | dynamic-programming Array Matrix |
Easy | Binary Tree to Binary Search Tree Conversion | Adobe Amazon Apple Bloomberg Google Microsoft VMware | tree Depth First Search Tree Traversal |
Medium | Sorted Linked List to Balanced BST | Amazon Facebook | tree |
Easy | Sorted Array to Balanced BST | Adobe Amazon Apple Bloomberg Google Microsoft VMware | tree Array Depth First Search |
Medium | Transform a BST to Greater sum Tree | Amazon Bloomberg Facebook | tree |
Medium | Convert a BST to a Binary Tree such that sum of all greater keys is added to every key | Facebook | tree |
Easy | Advantages of BST over Hash Table | Amazon GE Healthcare Qualcomm | tree |
Easy | Construct BST from its given Level Order Traversal | Amazon Apple GE Healthcare MetLife Microsoft UHG Optum Yelp | tree Breadth First Search Tree Traversal |
Easy | Construct BST from given Preorder Traversal | Amazon | tree Stack Tree Traversal |
| BST to a Tree with Sum of all Smaller Keys | Bloomberg Drishti-Soft Microsoft ServiceNow Twitter Zopper | tree Tree Traversal |
Medium | Find the node with minimum value in a Binary Search Tree | Amazon Bloomberg Microsoft | tree Breadth First Search Queue |
Easy | Single Number | Amazon | algorithm Array |
Hard | Shortest Palindrome | Amazon Delhivery Factset | string |
Medium | Subset Leetcode | Amazon Apple Bloomberg ByteDance Facebook Google Microsoft Oracle | LeetCode Array Backtracking |
Medium | Shuffle an Array | Amazon Facebook Google Microsoft Oracle | algorithm Array Hashing |
Medium | Maximal Square | Adobe Amazon AppDynamics Apple Facebook Google IBM PayPal Twitter | matrix Array Dynamic Programming |
Medium | Super Ugly Number | Google | dynamic-programming |
Easy | Dividing Array into Pairs With Sum Divisible by K | Amazon Microsoft | array |
Easy | Find Number of Employees Under every Employee | Accolite GE Healthcare Microsoft Myntra Qualcomm Synopsys Teradata | hashing |
Medium | Count Distinct Elements in Every Window of Size K | Accolite Amazon Microsoft | array |
Easy | Count Subsets Having Distinct Even Numbers | Cisco Expedia Myntra SAP Labs Taxi4Sure | array |
Medium | Find Three Element From Different Three Arrays Such That a + b + c = sum | Amazon Databricks Directi JP Morgan Taxi4Sure Twilio Zoho | array Hashing |
Easy | Special Number | Jio MAQ o9 solutions TCS | algorithm |
Medium | Divisible Pairs Counting | Mahindra Comviva Oracle | dynamic-programming Array Hashing |
Medium | Word Search | Amazon Apple Bloomberg ByteDance Cisco Facebook Intuit Microsoft Oracle ServiceNow Snapchat | matrix Array Backtracking |
Hard | K Empty Slots | Amazon Google | algorithm Array |
Medium | The Knapsack Problem | MakeMyTrip Snapdeal Visa Zoho | dynamic-programming Array |
Medium | Bellman Ford Algorithm | Facebook Qualtrics | algorithm Dynamic Programming Graph |
Medium | Huffman Coding | Amazon Bloomberg Google Morgan Stanley Samsung UHG Optum | algorithm Hashing |
Medium | Data Structure Designing | Amazon DBOI Facebook Fanatics Fourkites | |
Medium | Longest Increasing Subsequence | Adobe Amazon Citrix CodeNation Facebook Google Microsoft Samsung Zoho | array Dynamic Programming |
Easy | Reverse Bits | Apple Google Samsung | string |
Medium | Construct Binary Tree from Given Inorder and Preorder Traversals | Amazon Apple Bloomberg ByteDance Citadel Facebook Google Microsoft Oracle | tree Depth First Search |
Medium | Smallest Element Repeated Exactly K Times | Belzabar Komli Media Netskope Nvidia Opera ServiceNow UHG Optum | hashing Array String |
Medium | K-th Distinct Element in an Array | Adobe Amazon Apple ByteDance eBay Expedia Facebook Google LinkedIn Microsoft Oracle Salesforce Spotify Walmart Labs | hashing |
Easy | Cumulative Frequency of Count of Each Element in an Unsorted Array | Cadence India Fanatics LinkedIn Moonfrog Labs Pinterest | hashing Array Sorting |
Medium | Group Words With Same Set of Characters | BlackRock Citrix IBM JP Morgan SAP Labs Xome | hashing String |
Easy | First non Repeating Element | Belzabar Komli Media MetLife Snapdeal Sprinklr Wooker | hashing Array |
Easy | Second Most Repeated Word in a Sequence | Amazon GE Healthcare Goldman Sachs Paytm Snapdeal UHG Optum | hashing String |
Easy | Count Pairs Whose Products Exist in Array | Accolite Amazon BlackRock Moonfrog Labs Ola Cabs Snapchat Xome | array |
Easy | Print All Distinct Elements of a Given Integer Array | Amazon MakeMyTrip Zoho | hashing Array Sorting |
Easy | Pair of Positive Negative Values in an Array | Amazon Belzabar Honeywell Hulu Nvidia Robinhood Yelp | hashing Array |
Easy | Remove Minimum Number of Elements Such That no Common Element Exist in both Array | Alation MetLife Oxigen Wallet ServiceNow Spotify | hashing Array |
Easy | Maximum Occurring Character | Amazon Morgan Stanley PayU Zoho | hashing String |
Easy | Count Pairs With Given Sum | Accolite Amazon Factset Hike | hashing Array Sorting |
Medium | Insert Delete GetRandom | Affirm Amazon AppDynamics Apple Bloomberg Citadel Facebook Google Microsoft Nvidia Oracle Quera Twitter Two Sigma Yandex Zillow | algorithm Array Design |
Medium | Merge Overlapping Intervals | Adobe Amazon Apple Bloomberg Cisco eBay Facebook Goldman Sachs Google IXL Microsoft Oracle Palantir Technologies PayPal Splunk Square Twitter Uber VMware Yandex | array Sorting |
Medium | Decode Ways | Adobe Amazon Cisco Databricks Facebook Goldman Sachs Google JP Morgan Microsoft Morgan Stanley Oracle Square | dynamic-programming String |
Hard | Median of Two Sorted Arrays | Adobe Amazon Apple Bloomberg ByteDance Facebook Goldman Sachs Google Microsoft Wish | array |
Hard | Edit Distance | Amazon ByteDance Facebook Google Microsoft Palantir Technologies Square | string Dynamic Programming |
Medium | Maximum Product Subarray | Amazon Apple Bloomberg Facebook Google Microsoft | array Dynamic Programming |
Hard | Substring With Concatenation Of All Words | Amazon DE Shaw | string Hashing |
Medium | Top K Frequent Words | Accolite Fourkites Infosys | string Hashing Trie |
Medium | Reverse a Path in BST using Queue | Bloomberg Google Grofers HSBC Microsoft Target Corporation | tree Queue Tree Traversal |
Medium | Print Ancestors of a Given Binary Tree Node Without Recursion | Accolite Amazon Fourkites | tree Stack Tree Traversal |
Medium | Find Maximum of Minimum for Every Window Size in a Given Array | Amazon Directi Flipkart SAP Labs Zoho | array Stack |
Medium | Identify and Mark Unmatched Parenthesis in an Expression | TCS | stack String |
Easy | Iterative Depth First Traversal of Graph | Amazon Avalara Factset Fanatics Google Oracle | graph Depth First Search Stack |
Medium | Minimum Bracket Reversals | Amazon Fanatics | stack Queue String |
Medium | Expression Contains Redundant Bracket or Not | Amazon Paytm | string Stack |
Easy | Reverse a Number Using Stack | MAQ Nokia o9 solutions | stack |
Medium | Swap Nodes In Pairs | Amazon Microsoft Moonfrog Labs | linked-list |
Medium | Zigzag Conversion | PayPal | string |
Easy | Valid Palindrome | Infosys MAQ Nokia o9 solutions | string |
Medium | Check if Two Expressions With Brackets are Same | Amazon Hike Oracle Snapdeal Walmart Labs Wipro Yatra Zoho | stack String |
Medium | Priority Queue Using Singly Linked List | BrowserStack Hulu Mahindra Comviva Pocket Gems Soroco | queue |
Easy | Reversing the First K elements of a Queue | BlackRock JP Morgan Robinhood Sprinklr Wooker ZScaler | queue Stack |
Easy | Sorting a Queue without Extra Space | Belzabar GE Healthcare Mahindra Comviva MAQ Nvidia Qualcomm ServiceNow | queue Sorting |
Medium | Longest Common Prefix Using Word by Word Matching | VMware | array String |
Medium | Minimum Size Subarray Sum | Amazon Facebook Goldman Sachs Google Microsoft | array |
Easy | Intersection of Two Arrays | Amazon ByteDance Facebook | array Hashing Sorting |
Medium | Leetcode Permutations | Amazon Apple ByteDance eBay Facebook Google Microsoft Oracle | LeetCode Backtracking |
Medium | Level order Traversal in Spiral Form | Adobe Amazon Apple Bloomberg Flipkart Microsoft Qualtrics ServiceNow | tree Breadth First Search Stack |
Medium | Kth Smallest Element in a BST | Amazon Apple Bloomberg Facebook Google Oracle | tree |
Medium | Search an Element in Sorted Rotated Array | Adobe Amazon Apple Bloomberg ByteDance eBay Expedia Facebook Google Microsoft Nvidia Oracle PayPal Paytm VMware Walmart Labs Zillow | array |
Medium | Valid Parenthesis String | Amazon Facebook Oracle | string |
Medium | Maximum Product Subarray | Amazon Apple Bloomberg Facebook Google Microsoft | array Dynamic Programming |
Easy | Toeplitz Matrix | Facebook | matrix Array |
Easy | Balanced Binary Tree | Amazon Bloomberg Google Microsoft | tree Depth First Search |
Easy | Min Stack | Amazon Bloomberg Capital One DBOI Deutsche Bank Goldman Sachs Google Microsoft Oracle Walmart Labs | stack Design |
Easy | Implement Stack using Queues | PayPal | stack Design Queue |
Medium | Interval Tree | Amazon Google Intuit Oracle Qualtrics | tree |
Medium | Set Matrix Zeroes | Amazon Apple Facebook Microsoft Oracle Paytm | matrix Array |
Medium | Smallest Multiple of a Given Number | Alation American Express GE Healthcare Qualcomm Spotify | |
Medium | Construct Complete Binary Tree from its Linked List Representation | Amazon | tree Queue |
Medium | Lowest Common Ancestor | Adobe Amazon Apple Bloomberg Facebook Google LinkedIn Microsoft Oracle Pony.ai Zillow | tree |
Easy | Reversing a Queue using Recursion | | queue |
Medium | 3 Sum | Adobe Amazon Apple Bloomberg Facebook Google Microsoft Oracle Qualtrics Tesla VMware | array |
Easy | Averages of Levels in Binary Tree | Facebook | tree |
Easy | Queue using Stacks | Accolite Adobe Amazon DE Shaw Flipkart Goldman Sachs InfoEdge InMobi MakeMyTrip MAQ Microsoft Morgan Stanley Oracle Walmart Labs | queue Stack |
Medium | Longest Palindromic Subsequence | Amazon Facebook Microsoft | dynamic-programming String |
Medium | Find The Duplicate Number | Amazon Apple Bloomberg Google Microsoft | array |
Hard | Maximum Sum of 3 Non-Overlapping Subarrays | Facebook | array Dynamic Programming |
Easy | Minimum Index Sum of Two Lists | Oracle Yelp | array Hashing |
Medium | Reservoir Sampling | Amazon Facebook | algorithm Array |
Easy | Reversing a Queue | Accolite Coursera Delhivery Factset GreyOrange Zoho | queue Stack |
Medium | Split Array Into Consecutive Subsequences | Google | array |
Easy | Lowest Common Ancestor in Binary Search Tree | Amazon Facebook LinkedIn Oracle | tree Tree Traversal |
Hard | KMP Algorithm | Accolite Amazon Google MakeMyTrip MAQ Microsoft Oracle PayU | algorithm String |
Easy | Most Frequent Element in an Array | Adobe Amazon Factset Fourkites Infosys MAQ | hashing Array Sorting |
Medium | Evaluate Division | Amazon Bloomberg Facebook Google Microsoft Uber | algorithm Graph |
Medium | Prim’s Algorithm | Amazon Cisco Samsung | algorithm Graph |
Hard | Sudoku Solver | Amazon Apple DoorDash Google Intuit JP Morgan Microsoft Oracle | matrix Backtracking Hashing |
Hard | Segment Tree | Amazon CodeNation Google Microsoft Uber | tree |
Medium | Minimum Path Sum | Amazon Bloomberg Facebook Goldman Sachs Google Microsoft | matrix Array Dynamic Programming |
Easy | Find Pair with Greatest Product in Array | Samsung | hashing Array |
Hard | Minimum Cost to Hire K Workers | Google | algorithm |
Medium | Find the Duplicate Element | Apple Bloomberg Google Microsoft | array |
Easy | Fizz Buzz | Bloomberg Microsoft | algorithm String |
Easy | Fizz Buzz Leetcode | Bloomberg Microsoft | LeetCode String |
Medium | Arithmetic Expression Evaluation | Amazon Oracle | stack |
Medium | Maximum Product of Indexes of Next Greater on Left and Right | Factset Fourkites InfoEdge | stack Array |
Easy | Flood Fill LeetCode | Amazon Facebook Google | LeetCode Depth First Search Matrix |
Easy | Check for Balanced Parentheses in an Expression | Amazon Hike Oracle Snapdeal Walmart Labs Wipro Yatra Zoho | stack String |
Medium | Evaluation of Postfix Expression | Amazon Oracle | stack |
Easy | Reverse a Stack Using Recursion | Factset Fourkites | stack |
Easy | Find if an Expression has Duplicate Parenthesis or Not | Amazon Factset Oracle | stack String |
Medium | How to Implement Stack Using Priority Queue or Heap? | Amazon Fanatics Fourkites | stack Queue |
Medium | Iterative Tower of Hanoi | MAQ | stack |
Medium | How to Efficiently Implement k Stacks in a Single Array? | Amazon Fourkites | stack Array |
Medium | Find Maximum Depth of Nested Parenthesis in a String | Amazon Facebook | stack String |
Medium | Expression Evaluation | Amazon Oracle | stack |
Medium | How to Create Mergable Stack? | Amazon Factset Fanatics | stack |
Medium | The Stock Span Problem | Amazon Delhivery MAQ | stack |
Medium | Find Maximum Sum Possible Equal Sum of Three Stacks | Amazon Fanatics Fourkites | stack |
Medium | Print Next Greater Number of Q queries | Amazon Factset Fanatics | stack Array |
Medium | Check if an Array is Stack Sortable | Accenture Accolite Amazon | stack Array Sorting |
Medium | Smallest Subarray With all Occurrences of a Most Frequent Element | Citrix Coursera OYO Rooms Qualtrics Synopsys Taxi4Sure | hashing Array |
Medium | Find Top K (or Most Frequent) Numbers in a Stream | Accolite Amazon | hashing Array |
Easy | Find the Only Repetitive Element Between 1 to N-1 | CouponDunia Delhivery GreyOrange Info Edge LinkedIn Nagarro SAP Labs | array |
Easy | Reverse a String using Stack | Accolite Capgemini Delhivery Fanatics Fourkites | stack String |
Medium | Next Greater Frequency Element | Accenture Capgemini Microsoft UHG Optum | hashing Array Stack |
Easy | Number of NGEs to the Right | Accolite Fanatics Fourkites | stack Array |
Medium | Balanced Expression with Replacement | Amazon Hike Oracle Snapchat Snapdeal Walmart Labs Wipro Yatra Zoho | stack String |
Easy | K Empty Slots LeetCode | Amazon Google | LeetCode Array |
Hard | Trapping Rain Water | Adobe Amazon Apple Bloomberg Databricks Expedia Facebook Flipkart Goldman Sachs Google Microsoft Oracle Qualtrics ServiceNow Walmart Labs Yahoo | array Stack |
Easy | Tower Of Hanoi | Factset Fourkites MAQ | algorithm Stack |
Easy | Sliding Window Technique | Amazon Fanatics | algorithm Array |
Easy | GCD Of Two Numbers | SAP SAP Labs TCS | algorithm |
Easy | MiniMax Algorithm | Amazon Fanatics Game Theory | algorithm |
Medium | Target Sum | Amazon Bloomberg Facebook | dynamic-programming Depth First Search |
Medium | Counting Bits | Amazon Apple | |
Hard | Merge K Sorted Linked Lists | Adobe Amazon Apple Bloomberg ByteDance Databricks eBay Facebook Goldman Sachs Microsoft Oracle Palantir Technologies Twitter Uber Wish | linked-list |
Medium | Wiggle Sort | PayPal | sorting |
Medium | Decode String | Amazon Apple Bloomberg ByteDance Cisco eBay Facebook Google Hulu Microsoft Oracle | stack Depth First Search String |
Medium | Print a Binary Tree in Vertical Order | Accolite Amazon BrowserStack Dell Flipkart Grofers MakeMyTrip Netskope Walmart Labs | tree Tree Traversal |
Medium | Finding K closest element | Amazon | array |
Easy | Priority Queue in C++ | Amazon Fourkites Infosys Microsoft Oracle | queue |
Easy | Priority Queue | Amazon Avalara CodeNation Goldman Sachs Google Microsoft | queue |
Easy | Change the Array into Permutation of Numbers From 1 to N | Capgemini Delhivery Fourkites MAQ o9 solutions Publicis Sapient | hashing Array |
Medium | Jump Game | Adobe Amazon Bloomberg Facebook Microsoft | array |
Easy | Recursion | Amazon Infosys MAQ | stack |
Easy | Binary Search Tree | Amazon DBOI Fourkites Infosys Microsoft | tree |
Medium | Prefix to Infix Conversion | Amazon Avalara Fanatics | stack String |
Easy | Postfix to Infix Conversion | Amazon Factset Microsoft | stack String |
Medium | Prefix to Postfix Conversion | Amazon Factset Fanatics Oracle | stack String |
Medium | Postfix to Prefix Conversion | Amazon Factset Fanatics Oracle | stack Array |
Medium | Maximum Binary Tree | Amazon Google Microsoft Uber | tree |
Medium | Nth Catalan Number | Amazon | algorithm Dynamic Programming |
Medium | Combination Sum | Adobe Amazon Apple Bloomberg eBay Facebook Microsoft | array Backtracking |
Medium | Next Permutation | Adobe Amazon Apple Bloomberg ByteDance Facebook Factset Flipkart Google Microsoft Morgan Stanley Salesforce Uber | string |
Medium | Longest Common Subsequence | Amazon eBay Facebook Morgan Stanley | dynamic-programming String |
Medium | Max Area of Island | Amazon Bloomberg DoorDash Facebook Google Oracle Palantir Technologies | graph Array Breadth First Search Depth First Search Matrix |
Medium | Search in Sorted Rotated Array | Adobe Amazon Apple Bloomberg ByteDance eBay Expedia Facebook Goldman Sachs Google Microsoft Nvidia Oracle PayPal VMware Walmart Labs | array Sorting |
Medium | Binary Tree zigzag level order Traversal | Adobe Amazon Apple Bloomberg eBay Flipkart Microsoft Qualtrics ServiceNow | tree Breadth First Search Queue Stack Tree Traversal |
Hard | Recover Binary Search Tree | Amazon ByteDance Microsoft Oracle Uber | tree Depth First Search |
Medium | Populating Next Right Pointers in Each Node | Amazon Bloomberg Facebook Microsoft | tree Breadth First Search Depth First Search |
Medium | Top View of Binary Tree | Amazon Paytm Samsung Walmart Labs | tree Depth First Search Tree Traversal |
Medium | Unique Paths | Amazon Bloomberg Facebook Goldman Sachs Google Microsoft Qualtrics | matrix Array Dynamic Programming |
Easy | Merge Two Sorted Linked Lists | Adobe Amazon Apple Bloomberg Capital One Facebook Google IBM Microsoft Oracle | linked-list |
Easy | Repeated Substring Pattern | Amazon Google | string |
Medium | Letter Case Permutation | Amazon Bloomberg Spotify | string Backtracking |
Hard | Find Median from data Stream | Amazon Apple ByteDance Facebook Goldman Sachs Google Microsoft Nvidia Oracle Salesforce Twitter VMware | algorithm Design |
Medium | Level of Each node in a Tree from source node | Amazon Microsoft | tree Breadth First Search Depth First Search |
Easy | Longest Common Prefix using Sorting | Adobe Amazon Apple Bloomberg eBay Facebook Google Microsoft | string |
Medium | House Robber | Amazon Apple Cisco Expedia Google Microsoft Oracle | dynamic-programming Depth First Search |
Easy | Maximum Subarray | Adobe Amazon Apple Bloomberg ByteDance Cisco Facebook Goldman Sachs Google JP Morgan JPMorgan LinkedIn Microsoft Oracle PayPal Paytm Uber | array Dynamic Programming |
Medium | Sliding Window Maximum | Akuna Capital Amazon ByteDance Citadel Databricks Dropbox Expedia Facebook Google IBM Uber | array |
Medium | Delete And Earn | Pocket Gems | array Dynamic Programming |
Medium | Length of Longest Fibonacci Subsequence | Amazon | array Dynamic Programming |
| Rainbow Table | | |
Medium | Merging Intervals | Adobe Amazon Apple Bloomberg Cisco eBay Facebook Goldman Sachs Google IXL Microsoft Oracle Palantir Technologies PayPal Splunk Square Twitter Uber VMware Walmart Labs Yahoo Yandex | array Sorting |
Easy | Backspace String Compare | Amazon CodeNation Facebook Google Microsoft Oracle | stack String |
Medium | Word Break | Adobe Amazon Apple Bloomberg ByteDance eBay Facebook Google Microsoft Oracle Qualtrics Uber VMware Yahoo | LeetCode Dynamic Programming |
Medium | Graph Cloning | Amazon Apple Bloomberg Facebook Google Microsoft Qualcomm Qualtrics Twitter Uber | graph Breadth First Search Depth First Search |
Easy | Hamming Distance | Amazon Facebook | algorithm |
Easy | First Bad Version | Amazon Cisco Facebook Google | array |
Easy | Word Pattern | Amazon Capital One | string Hashing |
Easy | Peak Index in a Mountain Array | Microsoft | array |
Hard | Regular Expression Matching | Adobe Amazon Apple Bloomberg Coursera eBay Facebook Goldman Sachs Google Microsoft | string Backtracking Dynamic Programming |
Medium | Reorganize String | Amazon eBay Facebook Google Microsoft Qualtrics | string Sorting |
Medium | Find Duplicate Subtrees | Amazon Google | tree |
Medium | String Compression | Amazon Apple Citrix Expedia Facebook Goldman Sachs IBM Microsoft Yandex | string |
Medium | 4Sum | Adobe Amazon Apple Goldman Sachs | array |
Hard | Create Maximum Number | Apple | array Dynamic Programming |
Easy | Degree of an array | VMware Walmart Labs | array |
Medium | Queue Reconstruction by Height | Amazon Apple ByteDance Facebook Google | array Queue |
Easy | Valid Parentheses | Adobe Amazon Apple Blizzard Bloomberg ByteDance Expedia Facebook Goldman Sachs Google IBM lyft Microsoft Oracle Spotify Zillow | string |
Easy | Search Insert Position | Adobe | array |
Medium | Find Peak Element | Adobe Amazon Apple Bloomberg ByteDance Facebook Google Quora Visa | array |
Easy | Symmetric Tree | Adobe Amazon Apple Capital One eBay Facebook Fanatics Google MAQ Oracle | tree Breadth First Search Depth First Search |
Medium | K-th Smallest Element in a Sorted Matrix | Amazon Facebook Google | matrix Array |
Medium | Minimum Height Trees | Facebook | tree Depth First Search Graph |
Hard | Longest Common Prefix using Trie | Adobe Amazon Apple Bloomberg eBay Facebook Google Microsoft | string Tree Trie |
Hard | Valid Number | Amazon Facebook LinkedIn Oracle | string |
Easy | Pascal Triangle Leetcode | Adobe Amazon Google Samsung | LeetCode Array |
Easy | Trim a Binary Search Tree | Samsung | tree |
Medium | Valid Triangle Number | Bloomberg Robinhood | array |
Medium | Convert Sorted List to Binary Search Tree | Amazon Facebook | tree Depth First Search |
Medium | Stone Game II Leetcode | Game Theory Google | LeetCode Dynamic Programming |
Hard | Kruskal Algorithm | Amazon | graph Depth First Search |
Easy | Number Of 1 bits | Adobe Box Cisco Facebook Qualcomm | algorithm |
Easy | Power of Two | Apple | array |
Easy | Merge Two Sorted Lists Leetcode | Adobe Amazon Apple Bloomberg Capital One Facebook Google IBM Microsoft Oracle | LeetCode Sorting |
Medium | Validate Binary Search Tree | Amazon Apple Asana Atlassian Bloomberg ByteDance Citadel Facebook Microsoft Oracle Qualtrics VMware Yahoo | tree Depth First Search |
Hard | Reverse Nodes in K-Group | Adobe Amazon Apple ByteDance Facebook Microsoft | linked-list |
Medium | Stone Game LeetCode | Adobe Apple Google | LeetCode Dynamic Programming |
Medium | Maximum size subarray sum equals k | Facebook Microsoft | array Hashing |
Easy | Path Sum | Amazon Apple Facebook Microsoft Oracle | tree Depth First Search |
Hard | Find the Closest Palindrome number | Amazon Apple | string |
Easy | Count and Say | Amazon Apple Bloomberg Facebook Google Microsoft VMware | string |
Medium | Level Order Traversal of Binary Tree | Amazon Apple Bloomberg Cisco Facebook Microsoft | tree Breadth First Search Queue |
Easy | Tree Traversal (Preorder, Inorder & Postorder) | Adobe Amazon MAQ Oracle Snapdeal | tree Tree Traversal |
Medium | LRU Cache Implementation | Adobe Amazon Apple Bloomberg ByteDance Capital One Cisco Citadel Cohesity Cruise Automation Dropbox eBay Expedia Facebook Goldman Sachs Google Microsoft Nutanix Oracle PayPal Pinterest Salesforce Snapchat Tesla Twilio Uber VMware Walmart Labs Wish Zillow | algorithm Design |
Medium | Merge Sort | Amazon Apple Boomerang Commerce Goldman Sachs Grofers Microsoft Oracle Paytm Qualcomm Snapdeal Target Corporation | sorting |
Easy | Find unique character in a string | Amazon Apple Bloomberg Facebook Goldman Sachs Google Microsoft Oracle Zillow | string Hashing |
Medium | Integer to Roman | Amazon Apple Bloomberg Microsoft Oracle | string |
Medium | Valid Sudoku | Amazon Apple Facebook Google Microsoft Oracle Pinterest Roblox Uber | matrix Hashing |
Medium | Palindrome Partitioning | Amazon Facebook Google | dynamic-programming Backtracking Depth First Search |
Medium | Add two numbers | Amazon Apple Bloomberg Coupang DocuSign Facebook Google Microsoft Uber VMware Walmart Labs Yahoo | linked-list |
Easy | Next greater element | Amazon Bloomberg | array Stack |
Medium | Deletion in a Binary Tree | Amazon Bloomberg Microsoft | tree |
Medium | Unique Binary Search Trees | Amazon Bloomberg Google | tree Dynamic Programming |
Medium | Floyd Warshall Algorithm | Samsung | graph Dynamic Programming |
Medium | Bipartite Graph | Samsung | graph Breadth First Search Depth First Search |
Medium | Sieve of Eratosthenes | Amazon Apple Capital One GE Healthcare Google MAQ Microsoft Qualcomm VMware | algorithm Dynamic Programming |
Medium | Strongly Connected Component | Visa | graph Depth First Search |
Hard | N queen problem | Accolite Amazon Amdocs Apple ByteDance Facebook MAQ Microsoft Twitter Visa | matrix Backtracking |
Hard | Rabin Karp Algorithm | Accolite Amazon MakeMyTrip MAQ Oracle PayU | string |
Easy | Alien Dictionary | Amazon Facebook Walmart Labs | LeetCode Hashing |
Hard | Guess The Word | Amazon Google | array String |
Medium | Decision Tree | | tree |
Medium | New 21 Game | Apple Google | dynamic-programming |
Medium | Verify Preorder Serialization of a Binary Tree | Google | tree Stack |
Easy | Missing Number | Amazon Apple Capital One Cisco Facebook Microsoft | array |
Easy | Merge Sorted Array | Amazon Amdocs Apple Bloomberg Brocade Facebook Goldman Sachs IBM Juniper Networks LinkedIn Microsoft Quikr Snapdeal Synopsys Visa Zoho | array Sorting |
Medium | Partition Equal Subset Sum | Amazon Facebook Google | array Dynamic Programming |
Easy | Last Stone Weight | Amazon | array |
Medium | Sort Colors | Amazon eBay Expedia Facebook Goldman Sachs Nvidia Oracle | array Sorting |
Medium | Rotate Array | Amazon Apple MakeMyTrip MAQ Microsoft Oracle SAP SAP Labs Wipro | array |
Medium | Applications of Breadth First Search and Depth First Search | | graph Breadth First Search Depth First Search |
Medium | Container with Most Water | Adobe Amazon Apple Bloomberg Facebook Flipkart Walmart Labs | algorithm Array |
Hard | Distinct Subsequences | Amazon Bloomberg Mathworks | dynamic-programming String |
Hard | Matrix Chain Multiplication using Dynamic Programming | Amazon Microsoft | matrix Array Dynamic Programming |
Medium | Subarray Sum Equals k | Adobe Amazon American Express Bloomberg eBay Facebook Goldman Sachs Google Microsoft Twilio Yahoo | array |
Hard | Infix to Postfix | Amazon Paytm Samsung VMware | array Stack |
Easy | Isomorphic Strings | Amazon Apple Facebook Intel | string Hashing |
Easy | Binary Tree Data Structure | DBOI Factset Infosys MAQ Oracle | tree |
Easy | Climbing stairs | Adobe Amazon Apple Bloomberg Expedia Goldman Sachs | dynamic-programming |
Medium | Topological Sorting | Accolite Amazon Flipkart Microsoft Moonfrog Labs Morgan Stanley OYO Rooms Samsung | sorting Depth First Search Graph |
Medium | Insertion Sort | Accenture Cisco Dell Grofers Juniper Networks MAQ Veritas | sorting Array |
Easy | Self Dividing Numbers | Adobe Epic Systems Tesla | |
Medium | Quick Sort | Adobe Goldman Sachs HSBC Qualcomm Samsung SAP SAP Labs Target Corporation | sorting Array |
Easy | Types of Binary Tree | Delhivery Infosys MAQ | tree |
Easy | Insertion in a Binary Tree | Delhivery Factset FreeCharge GE Healthcare InfoEdge | tree Breadth First Search Queue |
Medium | Perform String Shifts Leetcode | Amazon Facebook Microsoft | LeetCode String |
Easy | BFS vs DFS for Binary Tree | Amazon Infosys MAQ TCS | graph Breadth First Search Depth First Search Tree |
Easy | Depth First Search (DFS) for a Graph | GE Healthcare Infosys MAQ o9 solutions UHG Optum | graph Depth First Search |
Easy | Breadth First Search (BFS) for a Graph | Amazon Cadence India GE Healthcare Housing.com Pocket Gems UHG Optum | graph Breadth First Search Queue |
Easy | String comparison containing wildcards | Accenture Amazon Ola Cabs | string |
Hard | Serialize and Deserialize Binary Tree | Amazon Bloomberg Citadel eBay Facebook Google Microsoft Oracle Qualtrics Quora Square Uber Walmart Labs | tree |
Easy | Fibonacci numbers | Apple DBOI Google Infosys JP Morgan MAQ o9 solutions SAP Labs | algorithm |
Medium | Graph and its representation | Delhivery Factset Infosys MAQ o9 solutions | graph |
Easy | Reverse a linked list | Accolite Adobe Amazon MakeMyTrip Microsoft Qualcomm Samsung SAP SAP Labs Snapdeal Zoho | linked-list |
Easy | Subset sum problem | Adobe Amazon Ameyo | dynamic-programming Array |
Easy | Circular Queue | Infosys MAQ o9 solutions Oracle | array Queue |
Medium | Heap Sort | 24*7 Innovation Labs Amazon Apple Belzabar Intuit Oracle Samsung SAP SAP Labs Visa | |
Easy | Ugly Numbers | Delhivery Goldman Sachs Paytm | dynamic-programming |
Easy | Dynamic Programming Basics | Infosys MAQ | dynamic-programming |
Medium | Dijkstra Algorithm | Accolite Adobe Amazon Cisco Interactive Solutions Morgan Stanley Samsung Vizury | algorithm Graph |
Medium | Coin Change Problem | Amazon Apple BlackRock Bloomberg ByteDance Capital One Facebook Goldman Sachs Google Oracle Walmart Labs | dynamic-programming Array |
Easy | Multiplication of Two Matrices | Amazon Apple Facebook Wish | matrix Array |
Easy | Subtraction of Two Matrices | Capgemini MAQ o9 solutions | matrix Array |
Easy | Check if Two given Matrices are Identical | Affirm Ameyo DiDi Pony.ai | matrix Array |
Easy | Addition of Two Matrices | Alation Asana Wish | matrix Array |
Easy | Transpose of a Matrix | ServiceNow Veritas | matrix Array |
Medium | Check whether Strings are K Distance Apart or Not | Amazon Deutsche Bank Facebook GE Healthcare Microsoft | string Dynamic Programming Matrix |
Easy | Program to Toggle all Characters in a String | Capgemini InfoEdge MAQ Oxigen Wallet | string |
Easy | Check length of a String is Equal to the Number Appended at its Last | CodeNation Fourkites Microsoft UHG Optum | string |
Easy | Generate all Binary Strings Without Consecutive 1’s | Amazon GE Healthcare Snapdeal Target Corporation | string |
Medium | Check if all Rows of a Matrix are Circular Rotations of Each Other | Accenture Cadence India Citadel FreeCharge Microsoft Pinterest | string Matrix |
Easy | Sort a String According to Another String | Accenture Accolite Adobe Amazon FreeCharge InfoEdge Microsoft Salesforce | string Sorting |
Medium | Check if String can Become Empty by Recursively Deleting given Substring | Adobe Delhivery GE Healthcare MakeMyTrip ServiceNow Spotify UHG Optum | string |
Easy | Smallest Palindrome after Replacement | Adobe Arcesium Flipkart GE Healthcare ZScaler | string |
Medium | Check if String Follows Order of Characters by a Pattern or not | Adobe Amazon GreyOrange InfoEdge Microsoft | string |
Easy | Split Four Distinct Strings | Accenture Adobe GoDaddy Grofers Honeywell Quora Splunk | string |
Easy | Even Substring Count | Coursera Deutsche Bank OYO Rooms Yahoo Yandex Zoho | string |
Medium | Reverse String Without Temporary Variable | Adobe Amazon Google Hulu Microsoft Moonfrog Labs | string |
Easy | Recursive Palindrome Check | Capgemini Factset Infosys MAQ o9 solutions Oracle Square | string |
Easy | Minimum Characters to be Removed to Make a Binary String Alternate | Coursera Fourkites Hike MAQ o9 solutions Pocket Gems Taxi4Sure | string |
Medium | Print all Palindromic Partitions of a String | Amazon Facebook Google | string Backtracking Depth First Search Dynamic Programming |
Easy | Count the Pairs at Same Distance as in English Alphabets | Adobe Amazon Dropbox GE Healthcare OYO Rooms | string |
Medium | Minimum Characters to be Added at Front to Make String Palindrome | Amazon Factset Google Microsoft SAP SAP Labs | string |
Medium | Convert a String that is Repetition of a Substring of Length K | Accenture Adobe American Express Databricks FreeCharge | string Hashing |
Medium | Nth Character in Concatenated Decimal String | Adobe Oracle | string |
Easy | Kth Non-repeating Character | Amazon Apple Bloomberg Facebook Goldman Sachs Google Microsoft Oracle Zillow | string Hashing |
Easy | Compare Two Version Numbers | Adobe Delhivery GE Healthcare GreyOrange MakeMyTrip Wooker Zoho | string |
Easy | Remove Minimum Characters so that Two Strings Become Anagrams | Amazon FreeCharge | string |
Medium | Generate all Binary Strings from Given Pattern | Amazon Google Microsoft | string |
Hard | Print all Possible Ways to Break a String in Bracket Form | Amazon Bloomberg GE Healthcare Juniper Networks | string |
Easy | Caesar Cipher | Amazon GE Healthcare Grofers UHG Optum | string |
Easy | Longest Common Subsequence with Permutations | Adobe Honeywell Hulu JP Morgan Oracle Zoho | string |
Easy | Perfect Reversible String | MakeMyTrip MAQ Walmart Labs Zoho | string |
Easy | Longest Palindrome can be Formed by Removing or Rearranging Characters | Adobe Amazon Delhivery InfoEdge UHG Optum | string Hashing |
Hard | Longest Common Prefix Word by Word Matching | Adobe Amazon Apple Bloomberg eBay Facebook Google Microsoft VMware Yahoo | string |
Hard | Longest Common Prefix using Character by Character Matching | Adobe Amazon Apple Bloomberg eBay Facebook Google Microsoft VMware Yahoo | string |
Medium | Permutations of a Given String Using STL | Amazon Apple ByteDance eBay Facebook Google Microsoft Oracle | string |
Easy | Calculate Sum of all Numbers Present in a String | Adobe Fanatics MAQ | string |
Hard | Longest Common Prefix using Divide and Conquer | Accenture Accolite Amazon Fanatics Google | string |
Easy | Lower Case To Upper Case | Adobe Apple Google | string |
Hard | Longest Common Prefix Using Binary Search II | Adobe Amazon Apple Bloomberg eBay Facebook Google Microsoft VMware Yahoo | string |
Easy | Print Shortest Path to Print a String on Screen | Accolite | string Matrix |
Easy | Remove Extra Spaces from a String | Capgemini Infosys MAQ o9 solutions TCS | string |
Easy | Change Gender of a given String | Adobe Factset | string |
Medium | Count Number of Substrings with K Distinct Character’s | LinkedIn Zoho | string Hashing |
Easy | Removing Spaces from a String using stringstream | Capgemini Hulu o9 solutions TCS | string |
Easy | Pangram Checking | Factset o9 solutions Pocket Gems Zoho | string Hashing |
Medium | Repeated Subsequence of Length Two or More | Adobe | string |
Hard | Palindrome Permutations of a String | Amazon Facebook | string |
| Split a string | | string |
| 1`s and 2`s complement of binary number | | string |
| Longest Common Extension | | string |
| Convert string1 to string2 in one edit | | string |
| Find First non-repeating character in a string | | string |
| Remove recurring digits in a given number | | string |
| Recursively print all the sentences that can be formed from list of word lists | | string |
Medium | Online Algorithm for Checking Palindrome in a Stream | Accolite Adobe Zenefits | string |
Easy | Check if Two given Strings are Isomorphic to each other | Accolite Adobe Amazon GE Healthcare Goldman Sachs InfoEdge Oracle UHG Optum | string |
Hard | Length of Longest valid Substring | Adobe Amazon Apple Bloomberg ByteDance Citadel eBay Facebook Google Microsoft Oracle Uber VMware Yahoo | string |
| Program to add two binary digits | | string |
| Recursive Implementation of atoi() | | string |
| Reverse a string without affecting special characters | | string |
| Recursive function to do substring search | | string |
| Print Longest common subsequence | | string |
| Rotate string to get lexicographically minimum string | | string |
| Number of sub-strings which recursively add up to 9 | | string |
| Palindrome string (number) | | string |
| Print all possible words from phone digits | | string |
| Shortest Superstring Problem | | string |
| Transform one string to another using minimum number of given operations | | string |
| Print string of odd length in ‘X’ format | | string |
| Minimum insertions to form a shortest palindrome | | string |
| print all palindromic partitions | | string |
| Check rearranged string can form a palindrome | | string |
| Palindromes in a given range | | string |
| String(represents an integer) to value | | string |
| Count the number of words | | string |
| Print all anagrams together in a sequence of words | | string |
| Lexicographic rank of string | | string |
| Remove spaces from a string | | string |
| Find, second, frequent, character | | string |
| Find the second most frequent character | | string |
| Check if a given string is a rotation of a palindrome | | string |
| Sort an array of strings | | string |
| Recursively remove all adjacent duplicates | | string |
| Remove ‘b’ and ‘ac’ from a given string | | string |
| wildcard character matching | | string |
| Longest Palindromic Substring | | string |
| Given string is interleaving of two other strings or not | | string |
| Print all permutations with repetition | | string |
| Run length encoding | | string |
| List items containing all characters of a given word | | string |
| Write a program to print all permutations of a given string | | string |
| Check whether two strings are anagram of each other | | string |
| Print all interleavings of given two strings | | string |
| Print all duplicates in the input string | | string |
| A Program to check if strings are rotations of each other or not | | string |
| Given a string find its first non-repeating character | | string |
| Reverse words in a given string | | string |
| Find the smallest window in a string containing all characters of another string | | string |
| Divide a string in N equal parts | | string |
| Print Reverse of a string (Recursion) | | string |
| Remove characters from first string which are in second | | string |
| Sorting the array of strings | | string |
| Remove duplicates from a string | | string |
| Concatenation of two strings | | string |
| Reverse a String | | string |
| Most repeating character in a string | | string |
| Given a sorted array and a number x, find the pair in array whose sum is closest to x | | array |
| Find the subarray whose sum is equal to a given number X | | array |
| Basic SQL Interview Questions | | sql-interview-questions |
| Aggregate Functions in SQL | | sql-interview-questions |
| DB Locks in SQL | | sql-interview-questions |
| Indexes in SQL Interview Questions | | sql-interview-questions |
| Joins in SQL Interview Questions | | sql-interview-questions |
| Keys in SQL | | sql-interview-questions |
| Optimization in SQL | | sql-interview-questions |
| Oracle in SQL | | sql-interview-questions |
| Parameterized Query in SQL | | sql-interview-questions |
| Privileges and Roles in SQL | | sql-interview-questions |
| SQL Query Interview Questions | | sql-interview-questions |
| SQL Server Interview Questions | | sql-interview-questions |
| Arrange Even and Odd number such that Odd comes after Even | | array |
Easy | Minimum number of Merge Operations to make an Array Palindrome | Amazon | array |
Easy | Form Minimum Number from Given Sequence of D’s and I’s | Amazon Goldman Sachs | array Stack String |
Medium | Longest Span with same Sum in two Binary Arrays II | Accenture Cisco Indeed Kuliza SAP Labs Yandex | array Hashing |
Easy | Find the Subarray of given length with Least Average | Accenture Accolite Amazon Factset Fourkites Paytm Zoho | array |
Easy | Find Zeros to be Flipped so that Number of Consecutive 1’s is Maximized | Accolite Amazon GE Healthcare Info Edge Zoho | array |
Medium | Merge K Sorted Arrays and Print Sorted Output | Amazon GE Healthcare Google Microsoft | array |
Medium | Find the Minimum Element in a Sorted and Rotated Array | Amazon Bloomberg Facebook Goldman Sachs Microsoft Oracle | array |
Medium | Find the point where a monotonically increasing function becomes positive first time | American Express | array |
Medium | Print all Possible Combinations of R Elements in a given Array of size N | GreyOrange Oxigen Wallet | array |
Medium | Sort Elements by Frequency II | Amazon Oracle Zoho Zycus | array Hashing Sorting |
Easy | Stock Buy Sell to Maximize Profit | Amazon Apple Facebook Microsoft Morgan Stanley PayPal Qualtrics TCS Uber | array |
Medium | Merge Overlapping Intervals II | Adobe Amazon Apple Bloomberg Cisco eBay Facebook Goldman Sachs Google IXL Microsoft Oracle Palantir Technologies PayPal Qualtrics Salesforce Splunk Twitter Uber VMware Walmart Labs Yahoo Yandex | array Sorting |
Medium | Maximum Subarray Sum using Divide and Conquer | Adobe Amazon Apple Bloomberg ByteDance Cisco Facebook Goldman Sachs Google JPMorgan LinkedIn Microsoft Oracle PayPal Paytm Uber | array |
Hard | Pancake Sorting Problem | Amazon Facebook Microsoft Square Uber | array Sorting |
Medium | Pancake Sorting | Amazon Facebook Microsoft Square Uber | array Sorting |
Medium | Arrange given Numbers to Form the Biggest Number II | Adobe Amazon Apple ByteDance Facebook Google MakeMyTrip Microsoft Nvidia Oracle Paytm VMware Zoho | array String |
Medium | Iterative Implementation of Quick Sort | Amazon Apple Bloomberg | array Sorting |
Easy | Shuffle a given Array | Amazon Apple Bloomberg Facebook Google Microsoft Oracle Two Sigma Yahoo | array |
Medium | Find the Row with Maximum Number of 1’s | 24*7 Innovation Labs Amazon Microsoft Paytm | array Matrix |
Easy | Sorting a K Sorted Array | Amazon Apple Bloomberg | array Sorting |
Medium | Maximum Product Subarray II | Amazon Apple Bloomberg Facebook Google LinkedIn Microsoft | array Dynamic Programming |
Medium | Largest Subarray with Equal Number of 0’s and 1’s | Adobe Amazon Apple Facebook Google Quora Robinhood | array Hashing |
Easy | Find the two Numbers with Odd Occurrences in an Unsorted Array | Accolite Factset Google Oracle | array |
Medium | Maximum Sum Increasing Subsequence | Adobe Amazon Apple Atlassian Bloomberg ByteDance Citrix CodeNation Coupang eBay Facebook Google IBM Microsoft Nagarro Oracle Uber Yahoo | array Dynamic Programming |
Medium | Implement Two Stacks in an Array | 24*7 Innovation Labs Accolite Google Microsoft Samsung Snapdeal | array Stack |
Medium | Number of Smaller Elements on Right Side | Adobe Amazon Apple Bloomberg Google Microsoft Oracle Uber | array Sorting |
Easy | Increasing Subsequence of Length three with Maximum Product | Amazon Apple Cisco Citadel Facebook Intuit Uber | array |
Medium | Elements Appear more than N/K times in Array | Adobe Amazon Apple Bloomberg Facebook Google Microsoft Zenefits | array Hashing |
Medium | Find the Peak Element from an Array | Amazon Apple Bloomberg ByteDance DE Shaw Facebook Google Microsoft Quora Uber Walmart Labs | array |
Easy | Rearrange Positive and Negative Numbers Alternatively in Array | Amazon Apple Bloomberg Capital One Cisco Facebook Google Morgan Stanley Oracle VMware | array |
Easy | Find the Maximum Repeating Number in Array | Adobe Amazon Apple Bloomberg Citadel eBay Facebook Goldman Sachs Google Intuit Microsoft Nutanix PayPal Salesforce VMware Wish Yahoo | array |
Medium | Tug of War | Accolite Amazon | array Backtracking |
Medium | First Circular Tour to Visit all the Petrol Bunks | Amazon Factset Microsoft Morgan Stanley Zoho | array |
Medium | Count Possible Triangles | Amazon LinkedIn Wipro | array |
Medium | Maximum Circular Subarray Sum | Amazon Facebook LinkedIn Two Sigma Uber | array |
Medium | Four Elements that Sum to Given | Adobe Amazon Apple Bloomberg Goldman Sachs Google Microsoft Yahoo | array Hashing Sorting |
Medium | Maximum Length of Chain Pairs | Amazon Bloomberg Uber | array Dynamic Programming |
Easy | Find Pair with Given Difference | Amazon Bloomberg Citrix Expedia Goldman Sachs Microsoft Nvidia Oracle Salesforce Twilio Twitter Visa VMware | array Sorting |
Medium | Partition Problem | Accolite Adobe Amazon Apple Bloomberg ByteDance eBay Facebook Goldman Sachs Google Microsoft VMware Yahoo | array Dynamic Programming |
Medium | The Celebrity Problem | Amazon Apple Fab Facebook Flipkart Google LinkedIn Microsoft Nvidia Palantir Technologies Pinterest Snapchat Uber UHG Optum VMware Zoho | array Matrix Stack |
Medium | Find a Sorted Subsequence of size 3 | Amazon Bloomberg Facebook Factset Google Oracle Uber Yahoo | array |
Medium | Subarray with Given Sum | Adobe Amazon American Express Apple Bloomberg ByteDance Coupang eBay Facebook Goldman Sachs Google LinkedIn Microsoft Oracle Quera Twilio Uber Wish Yahoo Yandex | array Hashing |
Medium | Maximum Element in an Array which is Increasing and then Decreasing | Adobe Amazon Goldman Sachs Microsoft Paytm | array |
Easy | Count Minimum Steps to Get the given Array | Amazon Fanatics Oracle | array |
Easy | Find the Lost Element From a Duplicated Array | Accolite Adobe Amazon Apple Bloomberg Capital One Cisco eBay Facebook Goldman Sachs Google IBM JP Morgan Microsoft Nvidia Oracle PayPal ServiceNow Yandex | array Hashing |
Easy | Rearrange given Array in Maximum Minimum Form | Amazon Apple Bloomberg Capital One Cisco Facebook Google Morgan Stanley Oracle VMware | array |
Medium | Subarray and Subsequence | Amazon Apple Facebook Google Microsoft | array |
Medium | Merge Two Sorted Arrays | Adobe Amazon Apple Bloomberg ByteDance Cisco eBay Facebook Goldman Sachs Google IBM LinkedIn lyft Microsoft Oracle Uber VMware Walmart Labs Wish Yahoo Yandex | array |
Medium | Count of Triplets With Sum Less than Given Value | Adobe Amazon Apple Bloomberg ByteDance Cisco Citadel Citrix DoorDash eBay Facebook Goldman Sachs Google Hulu IBM Infosys Mathworks Microsoft Oracle PayPal Qualtrics Samsung ServiceNow Splunk Square Tencent Tesla Uber Visa VMware Walmart Labs Yahoo Zoho | array |
Easy | Reorder Array Using Given Indexes | Google | array |
Easy | Next Greater Element in an Array | Amazon Apple Bloomberg CouponDunia Facebook Google Microsoft Oracle PayU Samsung Snapdeal Twitter Zoho | array Stack |
Easy | Merging Two Sorted Arrays | Adobe Amazon Apple Bloomberg ByteDance Cisco eBay Facebook Goldman Sachs Google IBM LinkedIn lyft Microsoft Oracle Uber VMware Walmart Labs Wish Yahoo Yandex | array |
Easy | Reorder an Array According to the Given Indexes | Google | array |
Easy | Find a Fixed Point in a Given Array | Amazon Factset Hike Uber | array |
Easy | Find Element Using Binary Search in Sorted Array | Amazon Apple Bloomberg Facebook Google Microsoft PayPal | array |
Medium | Find Triplet in Array With a Given Sum | Accolite Adobe Amazon Apple Bloomberg ByteDance Cisco Citadel Citrix DoorDash eBay Facebook Goldman Sachs Google Hulu IBM Infosys Mathworks Microsoft Morgan Stanley Oracle PayPal Qualtrics Samsung ServiceNow Splunk Square Tencent Tesla Uber Visa VMware Walmart Labs Yahoo Zoho | array |
Easy | Check if the Elements of an Array are Consecutive | Google Uber | array |
Easy | Find Duplicates in an Array in Most Efficient Way | Amazon Apple Bloomberg Facebook Google lyft Microsoft Paytm Pocket Gems Qualcomm Zoho | array |
Easy | Sort 0s 1s and 2s in an Array | Adobe Amazon Hike MakeMyTrip MAQ Microsoft Morgan Stanley Ola Cabs Paytm Qualcomm SAP Labs Snapdeal Walmart Labs Yatra | array Sorting |
Easy | Find Leaders in an Array | Amazon Goldman Sachs PayU | array |
Hard | |