eBay vs Goldman Sachs Interview Questions
eBay lists 62 LeetCode interview questions while Goldman Sachs lists 261. They share 34 problems — 55% of eBay's bank and 13% of Goldman Sachs's. Focus on the overlap first, then drill into 28 eBay-only and 227 Goldman Sachs-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 34 overlapping problems first. These are the highest-yield questions for candidates interviewing at both eBay and Goldman Sachs.
Step 2 — Company-specific depth: Add eBay-specific problems like Alternating Digit Sum, Binary Gap, Minimize Maximum Pair Sum in Array and Goldman Sachs-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: eBay skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
34 Shared Questions
High-priority problems to practice for both eBay and Goldman Sachs.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Remove One Element to Make the Array Strictly Increasing | Easy |
| Partition Equal Subset Sum | Medium |
| Two Sum | Easy |
| Spiral Matrix | Medium |
| Top K Frequent Elements | Medium |
| Open the Lock | Medium |
| Number of Islands | Medium |
| Binary Tree Cameras | Hard |
| Word Ladder | Hard |
| Pow(x, n) | Medium |
| Set Matrix Zeroes | Medium |
| Merge Intervals | Medium |
| Valid Parentheses | Easy |
| Longest Palindromic Substring | Medium |
| Group Anagrams | Medium |
| 3Sum | Medium |
| Rotting Oranges | Medium |
| Kth Largest Element in an Array | Medium |
| Sort Colors | Medium |
| Word Search | Medium |
| Maximal Square | Medium |
| Jump Game II | Medium |
| Reorganize String | Medium |
| Generate Parentheses | Medium |
| Find Peak Element | Medium |
| Merge k Sorted Lists | Hard |
| Best Time to Buy and Sell Stock II | Medium |
| Top K Frequent Words | Medium |
| Longest Substring Without Repeating Characters | Medium |
Showing top 30 of 34 shared problems.
Unique to eBay (28)
Problems in eBay's list that do not appear at Goldman Sachs.
| Problem | Difficulty |
|---|---|
| Alternating Digit Sum | Easy |
| Binary Gap | Easy |
| Minimize Maximum Pair Sum in Array | Medium |
| Minimum Window Subsequence | Hard |
| Design Skiplist | Hard |
| Subtree of Another Tree | Easy |
| Reverse Pairs | Hard |
| Valid Palindrome II | Easy |
| Course Schedule | Medium |
| Matchsticks to Square | Medium |
| Time Based Key-Value Store | Medium |
| Sort Array By Parity | Easy |
Unique to Goldman Sachs (227)
Problems in Goldman Sachs's list that do not appear at eBay.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Median of Two Sorted Arrays | Hard |
| First Unique Character in a String | Easy |
| Fraction to Recurring Decimal | Medium |
| High Five | Easy |
| Minimum Path Sum | Medium |
| Container With Most Water | Medium |
| String Compression | Medium |
| Find the Winner of the Circular Game | Medium |
| Robot Bounded In Circle | Medium |
| Decode Ways | Medium |
| Search in Rotated Sorted Array | Medium |
Frequently Asked Questions
How many LeetCode questions do eBay and Goldman Sachs share?
eBay and Goldman Sachs share 34 LeetCode interview questions. 28 problems appear only in eBay's list and 227 appear only in Goldman Sachs's list.
What topics overlap most between eBay and Goldman Sachs?
The most common shared topics between eBay and Goldman Sachs are Array (20 shared questions), Hash Table (10 shared questions), String (10 shared questions), Sorting (8 shared questions), Dynamic Programming (7 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: eBay or Goldman Sachs?
eBay has 10 Easy, 39 Medium, and 13 Hard questions. Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. eBay has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both eBay and Goldman Sachs?
Start with the 34 shared problems since they cover what both companies ask most often. Then add 20 eBay-specific and 20 Goldman Sachs-specific questions to round out your prep.