Goldman Sachs vs Walmart Labs Interview Questions
Goldman Sachs lists 261 LeetCode interview questions while Walmart Labs lists 144. They share 71 problems — 27% of Goldman Sachs's bank and 49% of Walmart Labs's. Focus on the overlap first, then drill into 190 Goldman Sachs-only and 73 Walmart Labs-only questions.
Read the full Goldman Sachs vs Walmart Labs preparation guide →
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 71 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Goldman Sachs and Walmart Labs.
Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Fraction to Recurring Decimal, High Five, Minimum Path Sum and Walmart Labs-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Goldman Sachs skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
71 Shared Questions
High-priority problems to practice for both Goldman Sachs and Walmart Labs.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Median of Two Sorted Arrays | Hard |
| First Unique Character in a String | Easy |
| LRU Cache | Medium |
| Container With Most Water | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Find the Winner of the Circular Game | Medium |
| Merge Intervals | Medium |
| Group Anagrams | Medium |
| Decode Ways | Medium |
| Number of Islands | Medium |
| Search in Rotated Sorted Array | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Find Minimum in Rotated Sorted Array | Medium |
| Best Time to Buy and Sell Stock II | Medium |
| Two Sum | Easy |
| Maximum Subarray | Medium |
| Top K Frequent Elements | Medium |
| Kth Largest Element in an Array | Medium |
| Remove All Adjacent Duplicates in String II | Medium |
| Product of Array Except Self | Medium |
| Sliding Window Maximum | Hard |
| Palindromic Substrings | Medium |
| Coin Change | Medium |
| Jump Game | Medium |
| 3Sum | Medium |
| Subarray Sum Equals K | Medium |
| Longest Palindromic Substring | Medium |
| Daily Temperatures | Medium |
| Valid Parentheses | Easy |
Showing top 30 of 71 shared problems.
Unique to Goldman Sachs (190)
Problems in Goldman Sachs's list that do not appear at Walmart Labs.
| Problem | Difficulty |
|---|---|
| Fraction to Recurring Decimal | Medium |
| High Five | Easy |
| Minimum Path Sum | Medium |
| String Compression | Medium |
| Robot Bounded In Circle | Medium |
| Better Compression of String | Medium |
| Knight Probability in Chessboard | Medium |
| Pairs of Songs With Total Durations Divisible by 60 | Medium |
| Robot Return to Origin | Easy |
| Valid Arrangement of Pairs | Hard |
| Design HashMap | Easy |
| Minimum Moves to Capture The Queen | Medium |
Unique to Walmart Labs (73)
Problems in Walmart Labs's list that do not appear at Goldman Sachs.
Frequently Asked Questions
How many LeetCode questions do Goldman Sachs and Walmart Labs share?
Goldman Sachs and Walmart Labs share 71 LeetCode interview questions. 190 problems appear only in Goldman Sachs's list and 73 appear only in Walmart Labs's list.
What topics overlap most between Goldman Sachs and Walmart Labs?
The most common shared topics between Goldman Sachs and Walmart Labs are Array (22 shared questions), Dynamic Programming (9 shared questions), String (8 shared questions), Hash Table (7 shared questions), Two Pointers (5 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Goldman Sachs or Walmart Labs?
Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Walmart Labs has 22 Easy, 96 Medium, and 26 Hard questions. Goldman Sachs has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Goldman Sachs and Walmart Labs?
Start with the 71 shared problems since they cover what both companies ask most often. Then add 20 Goldman Sachs-specific and 20 Walmart Labs-specific questions to round out your prep.