Ebay logo EB
Verified Company Vault

Ebay DSA Interview Questions

58 curated coding interview questions directly asked in Ebay technical rounds, sorted by frequency with recency and difficulty diagnostics.

58 Total Questions
10 (17%) Easy Problems
38 (66%) Medium Problems
10 (17%) Hard Problems
🔥 Most Tested Topics:
Arrays (18)Strings (15)Core DSA (12)Heap (5)Trees (5)
📂 Sourced Datasets:
Last 3 monthsLast 6 monthsAll questionsOlder than 6 months
Showing 58 of 58 displayed
IDProblemDifficultyTopicPatternAcceptanceFrequencyRecency
493Reverse PairsHardCore DSAImplementation / Reasoning34.2%100.0%3m
347Top K Frequent ElementsMediumHeapPriority Queue66.4%100.0%6m
1Two SumEasyArraysSorting / Prefix / Scan; Two Pointers57.5%100.0%6m
2544Alternating Digit SumEasyArraysSorting / Prefix / Scan69.1%100.0%all
1909Remove One Element to Make the Array Strictly IncreasingEasyArraysSorting / Prefix / Scan29.8%100.0%all
146LRU CacheMediumDesignData Structure Design47.4%87.5%3m
1743Restore the Array From Adjacent PairsMediumArraysSorting / Prefix / Scan75.0%87.5%6m
968Binary Tree CamerasHardTreesDFS / BFS47.9%87.5%6m
416Partition Equal Subset SumMediumArrays; Dynamic ProgrammingSorting / Prefix / Scan; State Transition49.5%87.5%all
572Subtree of Another TreeEasyTreesDFS / BFS51.6%87.5%all
727Minimum Window SubsequenceHardArraysSorting / Prefix / Scan; Sliding Window43.8%87.5%all
868Binary GapEasyCore DSAImplementation / Reasoning74.3%87.5%all
1206Design SkiplistHardLinked List; DesignTwo Pointers; Data Structure Design59.7%87.5%all
1877Minimize Maximum Pair Sum in ArrayMediumArraysSorting / Prefix / Scan83.3%87.5%all
54Spiral MatrixMediumArraysSorting / Prefix / Scan56.8%87.5%all
37Sudoku SolverHardBacktrackingBacktracking65.5%75.0%6m
3Longest Substring Without Repeating CharactersMediumStrings; TreesHashing / Sliding Window; DFS / BFS; Sliding Window39.1%75.0%6m
45Jump Game IIMediumGreedyGreedy42.9%75.0%6m
153SumMediumArraysSorting / Prefix / Scan39.1%75.0%6m
56Merge IntervalsMediumArraysSorting / Prefix / Scan51.8%75.0%6m
5Longest Palindromic SubstringMediumStrings; TreesHashing / Sliding Window; DFS / BFS37.8%75.0%all
20Valid ParenthesesEasyStringsHashing / Sliding Window44.2%75.0%all
127Word LadderHardStringsHashing / Sliding Window45.6%75.0%all
200Number of IslandsMediumGraphsBFS / DFS / Topological Sort64.4%75.0%all
752Open the LockMediumCore DSAImplementation / Reasoning61.3%75.0%all
207Course ScheduleMediumGraphsBFS / DFS / Topological Sort51.4%75.0%all
473Matchsticks to SquareMediumCore DSAImplementation / Reasoning41.9%75.0%all
981Time Based Key-Value StoreMediumCore DSAImplementation / Reasoning49.9%75.0%all
50Pow(x, n)MediumCore DSAImplementation / Reasoning38.7%75.0%all
73Set Matrix ZeroesMediumArraysSorting / Prefix / Scan62.9%75.0%all
905Sort Array By ParityEasyArraysSorting / Prefix / Scan76.5%75.0%all
49Group AnagramsMediumStringsHashing / Sliding Window72.6%62.5%all
215Kth Largest Element in an ArrayMediumArrays; HeapSorting / Prefix / Scan; Priority Queue68.9%62.5%all
332Reconstruct ItineraryHardCore DSAImplementation / Reasoning44.6%62.5%all
472Concatenated WordsHardStringsHashing / Sliding Window49.8%62.5%all
680Valid Palindrome IIEasyStringsHashing / Sliding Window44.3%62.5%all
994Rotting OrangesMediumCore DSAImplementation / Reasoning58.7%62.5%all
75Sort ColorsMediumArraysSorting / Prefix / Scan69.6%62.5%all
97Interleaving StringMediumStringsHashing / Sliding Window44.0%62.5%all
23Merge k Sorted ListsHardArrays; Linked List; HeapSorting / Prefix / Scan; Two Pointers; Priority Queue59.6%50.0%all
122Best Time to Buy and Sell Stock IIMediumCore DSAImplementation / Reasoning71.1%50.0%all
767Reorganize StringMediumStringsHashing / Sliding Window57.1%50.0%all
1381Design a Stack With Increment OperationMediumStack / Queue; DesignMonotonic Stack / Simulation; Data Structure Design79.9%50.0%all
1438Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMediumArraysSorting / Prefix / Scan57.7%50.0%all
22Generate ParenthesesMediumStringsHashing / Sliding Window78.7%50.0%all
1926Nearest Exit from Entrance in MazeMediumCore DSAImplementation / Reasoning48.6%50.0%all
162Find Peak ElementMediumBinary SearchBinary Search47.0%50.0%all
581Shortest Unsorted Continuous SubarrayMediumArraysSorting / Prefix / Scan38.2%50.0%all
459Repeated Substring PatternEasyStrings; TreesHashing / Sliding Window; DFS / BFS48.2%50.0%all
286Walls and GatesMediumCore DSAImplementation / Reasoning64.0%50.0%all
692Top K Frequent WordsMediumStrings; HeapHashing / Sliding Window; Priority Queue60.2%50.0%all
221Maximal SquareMediumCore DSAImplementation / Reasoning50.3%50.0%all
234Palindrome Linked ListEasyStrings; Linked ListHashing / Sliding Window; Two Pointers58.0%50.0%all
133Clone GraphMediumGraphsBFS / DFS / Topological Sort65.3%50.0%all
79Word SearchMediumStrings; Binary SearchHashing / Sliding Window; Binary Search47.4%50.0%all
238Product of Array Except SelfMediumArraysSorting / Prefix / Scan68.9%50.0%all
394Decode StringMediumStrings; Dynamic Programming; Stack / QueueHashing / Sliding Window; State Transition; Monotonic Stack / Simulation62.6%50.0%all
295Find Median from Data StreamHardHeapPriority Queue54.5%50.0%all