Goldman Sachs vs Twitter Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Twitter lists 53. They share 12 problems — 5% of Goldman Sachs's bank and 23% of Twitter's. Focus on the overlap first, then drill into 249 Goldman Sachs-only and 41 Twitter-only questions.

Read the full Goldman Sachs vs Twitter preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Twitter

53 questions

Easy 8Medium 33Hard 12

Preparation Strategy

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

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 Twitter-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
Twitter
8
Medium
Goldman Sachs
165
Twitter
33
Hard
Goldman Sachs
48
Twitter
12

Top Shared Topics

12 Shared Questions

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

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

Unique to Goldman Sachs (249)

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

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 Twitter (41)

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

ProblemDifficulty
Regular Expression MatchingHard
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Word Break IIHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
Happy NumberEasy
Lowest Common Ancestor of a Binary Search TreeMedium
Flatten 2D VectorMedium
Alien DictionaryHard

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Twitter share?

Goldman Sachs and Twitter share 12 LeetCode interview questions. 249 problems appear only in Goldman Sachs's list and 41 appear only in Twitter's list.

What topics overlap most between Goldman Sachs and Twitter?

The most common shared topics between Goldman Sachs and Twitter are Array (5 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 Twitter?

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

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

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

Explore More