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.
Overview
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
Top Shared Topics
127 Shared Questions
High-priority problems to practice for both Goldman Sachs and TikTok.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Median of Two Sorted Arrays | Hard |
| Minimum Path Sum | Medium |
| LRU Cache | Medium |
| Container With Most Water | Medium |
| Longest Substring Without Repeating Characters | Medium |
| String Compression | Medium |
| Merge Intervals | Medium |
| Robot Bounded In Circle | 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 |
| Pairs of Songs With Total Durations Divisible by 60 | Medium |
| Design HashMap | Easy |
| Maximum Subarray | Medium |
| Top K Frequent Elements | Medium |
| Kth Largest Element in an Array | Medium |
| Remove All Adjacent Duplicates in String II | Medium |
| Sliding Window Maximum | Hard |
| Coin Change | Medium |
| Jump Game | Medium |
| 3Sum | Medium |
| Sqrt(x) | Easy |
| N-Queens | Hard |
| Subarray Sum Equals K | Medium |
Showing top 30 of 127 shared problems.
Unique to Goldman Sachs (134)
Problems in Goldman Sachs's list that do not appear at TikTok.
Unique to TikTok (224)
Problems in TikTok's list that do not appear at Goldman Sachs.
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.