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.

Read the full Google vs Twitter preparation guide →

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
Twitter

53 questions

Easy 8Medium 33Hard 12

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

Easy
Google
601
Twitter
8
Medium
Google
1205
Twitter
33
Hard
Google
499
Twitter
12

Top Shared Topics

47 Shared Questions

High-priority problems to practice for both Google and Twitter.

ProblemDifficulty
Trapping Rain WaterHard
Valid ParenthesesEasy
Merge IntervalsMedium
Reverse Linked ListEasy
Pascal's TriangleEasy
LRU CacheMedium
Happy NumberEasy
Regular Expression MatchingHard
Rotting OrangesMedium
Merge k Sorted ListsHard
Insert Delete GetRandom O(1)Medium
Wildcard MatchingHard
Random Pick with WeightMedium
Integer to RomanMedium
Trapping Rain Water IIHard
Implement Trie (Prefix Tree)Medium
Permutation SequenceHard
Alien DictionaryHard
Multiply StringsMedium
The Skyline ProblemHard
Word Break IIHard
Flatten Nested List IteratorMedium
Max Points on a LineHard
Invalid TweetsEasy
Lowest Common Ancestor of a Binary Search TreeMedium
Kth Smallest Element in a Sorted MatrixMedium
Number of Connected Components in an Undirected GraphMedium
Remove All Occurrences of a SubstringMedium
Design TwitterMedium
Flatten 2D VectorMedium

Showing top 30 of 47 shared problems.

Unique to Google (2,258)

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

ProblemDifficulty
Two SumEasy
Add Two NumbersMedium
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
3SumMedium
Create Hello World FunctionEasy
Merge Strings AlternatelyEasy
Longest Palindromic SubstringMedium

Unique to Twitter (6)

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

ProblemDifficulty
Count Student Number in DepartmentsMedium
Rectangles AreaMedium
Design Authentication ManagerMedium
Minimum Elements to Add to Form a Given SumMedium
Finding the Users Active MinutesMedium
Largest Plus SignMedium

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.

Explore More