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

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Walmart Labs

144 questions

Easy 22Medium 96Hard 26

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

Easy
Goldman Sachs
48
Walmart Labs
22
Medium
Goldman Sachs
165
Walmart Labs
96
Hard
Goldman Sachs
48
Walmart Labs
26

Top Shared Topics

71 Shared Questions

High-priority problems to practice for both Goldman Sachs and Walmart Labs.

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
LRU CacheMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
Find the Winner of the Circular GameMedium
Merge IntervalsMedium
Group AnagramsMedium
Decode WaysMedium
Number of IslandsMedium
Search in Rotated Sorted ArrayMedium
Best Time to Buy and Sell StockEasy
Find Minimum in Rotated Sorted ArrayMedium
Best Time to Buy and Sell Stock IIMedium
Two SumEasy
Maximum SubarrayMedium
Top K Frequent ElementsMedium
Kth Largest Element in an ArrayMedium
Remove All Adjacent Duplicates in String IIMedium
Product of Array Except SelfMedium
Sliding Window MaximumHard
Palindromic SubstringsMedium
Coin ChangeMedium
Jump GameMedium
3SumMedium
Subarray Sum Equals KMedium
Longest Palindromic SubstringMedium
Daily TemperaturesMedium
Valid ParenthesesEasy

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.

ProblemDifficulty
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
String CompressionMedium
Robot Bounded In CircleMedium
Better Compression of StringMedium
Knight Probability in ChessboardMedium
Pairs of Songs With Total Durations Divisible by 60Medium
Robot Return to OriginEasy
Valid Arrangement of PairsHard
Design HashMapEasy
Minimum Moves to Capture The QueenMedium

Unique to Walmart Labs (73)

Problems in Walmart Labs's list that do not appear at Goldman Sachs.

ProblemDifficulty
Divide Intervals Into Minimum Number of GroupsMedium
Middle of the Linked ListEasy
Maximum Number of Tasks You Can AssignHard
The Winner UniversityEasy
Count Good Triplets in an ArrayHard
XOR Operation in an ArrayEasy
Number of Ways to Separate NumbersHard
Minimum Operations to Make Array Equal IIMedium
Count Elements With Maximum FrequencyEasy
Circular Permutation in Binary RepresentationMedium
Minimum Number of Operations to Make Arrays SimilarHard
Maximum Length Substring With Two OccurrencesEasy

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.

Explore More