Google vs X Interview Questions
Google lists 2,305 LeetCode interview questions while X lists 51. They share 45 problems — 2% of Google's bank and 88% of X's. Focus on the overlap first, then drill into 2,260 Google-only and 6 X-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 45 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Google and X.
Step 2 — Company-specific depth: Add Google-specific problems like Two Sum, Add Two Numbers, Median of Two Sorted Arrays and X-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
45 Shared Questions
High-priority problems to practice for both Google and X.
Showing top 30 of 45 shared problems.
Unique to Google (2,260)
Problems in Google's list that do not appear at X.
| 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 X (6)
Problems in X's list that do not appear at Google.
| Problem | Difficulty |
|---|---|
| Finding the Users Active Minutes | Medium |
| Count Student Number in Departments | Medium |
| Rectangles Area | Medium |
| Design Authentication Manager | Medium |
| Minimum Elements to Add to Form a Given Sum | Medium |
| Largest Plus Sign | Medium |
Frequently Asked Questions
How many LeetCode questions do Google and X share?
Google and X share 45 LeetCode interview questions. 2260 problems appear only in Google's list and 6 appear only in X's list.
What topics overlap most between Google and X?
The most common shared topics between Google and X are Array (13 shared questions), String (9 shared questions), Hash Table (8 shared questions), Design (6 shared questions), Math (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Google or X?
Google has 601 Easy, 1205 Medium, and 499 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Google and X?
Start with the 45 shared problems since they cover what both companies ask most often. Then add 20 Google-specific and 6 X-specific questions to round out your prep.