Goldman Sachs vs TikTok Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while TikTok lists 351. They share 127 problems — 49% of Goldman Sachs's bank and 36% of TikTok's. Focus on the overlap first, then drill into 134 Goldman Sachs-only and 224 TikTok-only questions.

Read the full Goldman Sachs vs TikTok preparation guide →

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
TikTok

351 questions

Easy 34Medium 245Hard 72

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like First Unique Character in a String, Fraction to Recurring Decimal, High Five and TikTok-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Goldman Sachs
48
TikTok
34
Medium
Goldman Sachs
165
TikTok
245
Hard
Goldman Sachs
48
TikTok
72

Top Shared Topics

127 Shared Questions

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

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Minimum Path SumMedium
LRU CacheMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Merge IntervalsMedium
Robot Bounded In CircleMedium
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
Pairs of Songs With Total Durations Divisible by 60Medium
Design HashMapEasy
Maximum SubarrayMedium
Top K Frequent ElementsMedium
Kth Largest Element in an ArrayMedium
Remove All Adjacent Duplicates in String IIMedium
Sliding Window MaximumHard
Coin ChangeMedium
Jump GameMedium
3SumMedium
Sqrt(x)Easy
N-QueensHard
Subarray Sum Equals KMedium

Showing top 30 of 127 shared problems.

Unique to Goldman Sachs (134)

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

ProblemDifficulty
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Find the Winner of the Circular GameMedium
Better Compression of StringMedium
Knight Probability in ChessboardMedium
Robot Return to OriginEasy
Valid Arrangement of PairsHard
Minimum Moves to Capture The QueenMedium
Corporate Flight BookingsMedium
Minimum Length of String After Deleting Similar EndsMedium
Find the Minimum Amount of Time to Brew PotionsMedium

Unique to TikTok (224)

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

ProblemDifficulty
Number of Distinct IslandsMedium
Meeting Rooms IIMedium
Course ScheduleMedium
Subarray With Elements Greater Than Varying ThresholdHard
Minimum Swaps to Group All 1's TogetherMedium
Making A Large IslandHard
Maximum Value at a Given Index in a Bounded ArrayMedium
Maximum SwapMedium
Longest Happy StringMedium
Basic Calculator IIIHard
Insert Delete GetRandom O(1)Medium
Longest Increasing Path in a MatrixHard

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and TikTok share?

Goldman Sachs and TikTok share 127 LeetCode interview questions. 134 problems appear only in Goldman Sachs's list and 224 appear only in TikTok's list.

What topics overlap most between Goldman Sachs and TikTok?

The most common shared topics between Goldman Sachs and TikTok are Array (23 shared questions), Dynamic Programming (8 shared questions), Hash Table (8 shared questions), String (6 shared questions), Sorting (5 shared questions). Mastering these areas prepares you for both companies.

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

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. TikTok has 34 Easy, 245 Medium, and 72 Hard questions. TikTok has a higher proportion of Hard problems in its interview set.

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

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

Explore More