Goldman Sachs vs X Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while X lists 51. They share 11 problems — 4% of Goldman Sachs's bank and 22% of X's. Focus on the overlap first, then drill into 250 Goldman Sachs-only and 40 X-only questions.

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
X

51 questions

Easy 8Medium 31Hard 12

Preparation Strategy

Step 1 — Shared core: Solve the 11 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Goldman Sachs and X.

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Median of Two Sorted Arrays, First Unique Character in a String, Fraction to Recurring Decimal and X-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Goldman Sachs
48
X
8
Medium
Goldman Sachs
165
X
31
Hard
Goldman Sachs
48
X
12

Top Shared Topics

11 Shared Questions

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

ProblemDifficulty
Trapping Rain WaterHard
LRU CacheMedium
Merge IntervalsMedium
Pascal's TriangleEasy
Valid ParenthesesEasy
The Skyline ProblemHard
Reverse Linked ListEasy
Merge k Sorted ListsHard
Integer to RomanMedium
Remove All Occurrences of a SubstringMedium
Implement Trie (Prefix Tree)Medium

Unique to Goldman Sachs (250)

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

ProblemDifficulty
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Group AnagramsMedium
Decode WaysMedium

Unique to X (40)

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

ProblemDifficulty
Tweet Counts Per FrequencyMedium
Flatten Nested List IteratorMedium
Insert Delete GetRandom O(1)Medium
Design TwitterMedium
Binary GapEasy
Regular Expression MatchingHard
Word Break IIHard
Alien DictionaryHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
Trapping Rain Water IIHard
Finding the Users Active MinutesMedium

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and X share?

Goldman Sachs and X share 11 LeetCode interview questions. 250 problems appear only in Goldman Sachs's list and 40 appear only in X's list.

What topics overlap most between Goldman Sachs and X?

The most common shared topics between Goldman Sachs and X are Array (4 shared questions), String (4 shared questions), Stack (3 shared questions), Hash Table (3 shared questions), Linked List (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Goldman Sachs or X?

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Goldman Sachs and X?

Start with the 11 shared problems since they cover what both companies ask most often. Then add 20 Goldman Sachs-specific and 20 X-specific questions to round out your prep.

Explore More