Google vs Twitter Interview Questions
Google lists 2,305 LeetCode interview questions while Twitter lists 53. They share 47 problems — 2% of Google's bank and 89% of Twitter's. Focus on the overlap first, then drill into 2,258 Google-only and 6 Twitter-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 47 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Google and Twitter.
Step 2 — Company-specific depth: Add Google-specific problems like Two Sum, Add Two Numbers, Median of Two Sorted Arrays 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
Top Shared Topics
47 Shared Questions
High-priority problems to practice for both Google and Twitter.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Valid Parentheses | Easy |
| Merge Intervals | Medium |
| Reverse Linked List | Easy |
| Pascal's Triangle | Easy |
| LRU Cache | Medium |
| Happy Number | Easy |
| Regular Expression Matching | Hard |
| Rotting Oranges | Medium |
| Merge k Sorted Lists | Hard |
| Insert Delete GetRandom O(1) | Medium |
| Wildcard Matching | Hard |
| Random Pick with Weight | Medium |
| Integer to Roman | Medium |
| Trapping Rain Water II | Hard |
| Implement Trie (Prefix Tree) | Medium |
| Permutation Sequence | Hard |
| Alien Dictionary | Hard |
| Multiply Strings | Medium |
| The Skyline Problem | Hard |
| Word Break II | Hard |
| Flatten Nested List Iterator | Medium |
| Max Points on a Line | Hard |
| Invalid Tweets | Easy |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
| Kth Smallest Element in a Sorted Matrix | Medium |
| Number of Connected Components in an Undirected Graph | Medium |
| Remove All Occurrences of a Substring | Medium |
| Design Twitter | Medium |
| Flatten 2D Vector | Medium |
Showing top 30 of 47 shared problems.
Unique to Google (2,258)
Problems in Google's list that do not appear at Twitter.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Add Two Numbers | Medium |
| Median of Two Sorted Arrays | Hard |
| Longest Common Prefix | Easy |
| Palindrome Number | Easy |
| Merge Sorted Array | Easy |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| 3Sum | Medium |
| Create Hello World Function | Easy |
| Merge Strings Alternately | Easy |
| Longest Palindromic Substring | Medium |
Unique to Twitter (6)
Problems in Twitter's list that do not appear at Google.
| Problem | Difficulty |
|---|---|
| Count Student Number in Departments | Medium |
| Rectangles Area | Medium |
| Design Authentication Manager | Medium |
| Minimum Elements to Add to Form a Given Sum | Medium |
| Finding the Users Active Minutes | Medium |
| Largest Plus Sign | Medium |
Frequently Asked Questions
How many LeetCode questions do Google and Twitter share?
Google and Twitter share 47 LeetCode interview questions. 2258 problems appear only in Google's list and 6 appear only in Twitter's list.
What topics overlap most between Google and Twitter?
The most common shared topics between Google and Twitter are Array (13 shared questions), String (9 shared questions), Hash Table (8 shared questions), Math (7 shared questions), Design (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Google or Twitter?
Google has 601 Easy, 1205 Medium, and 499 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 Google and Twitter?
Start with the 47 shared problems since they cover what both companies ask most often. Then add 20 Google-specific and 6 Twitter-specific questions to round out your prep.