JPMorgan vs X Interview Questions
JPMorgan lists 78 LeetCode interview questions while X lists 51. They share 8 problems — 10% of JPMorgan's bank and 16% of X's. Focus on the overlap first, then drill into 70 JPMorgan-only and 43 X-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 8 overlapping problems first. These are the highest-yield questions for candidates interviewing at both JPMorgan and X.
Step 2 — Company-specific depth: Add JPMorgan-specific problems like Group Anagrams, Count Binary Substrings, Two Sum 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
8 Shared Questions
High-priority problems to practice for both JPMorgan and X.
| Problem | Difficulty |
|---|---|
| Minimum Number of Steps to Make Two Strings Anagram | Medium |
| Valid Parentheses | Easy |
| Merge Intervals | Medium |
| Minimum Cost to Connect Sticks | Medium |
| Happy Number | Easy |
| LRU Cache | Medium |
| Reverse Linked List | Easy |
| Trapping Rain Water | Hard |
Unique to JPMorgan (70)
Problems in JPMorgan's list that do not appear at X.
Unique to X (43)
Problems in X's list that do not appear at JPMorgan.
| Problem | Difficulty |
|---|---|
| Tweet Counts Per Frequency | Medium |
| Flatten Nested List Iterator | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Design Twitter | Medium |
| Binary Gap | Easy |
| Regular Expression Matching | Hard |
| Integer to Roman | Medium |
| Word Break II | Hard |
| Alien Dictionary | Hard |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
Frequently Asked Questions
How many LeetCode questions do JPMorgan and X share?
JPMorgan and X share 8 LeetCode interview questions. 70 problems appear only in JPMorgan's list and 43 appear only in X's list.
What topics overlap most between JPMorgan and X?
The most common shared topics between JPMorgan and X are Hash Table (3 shared questions), String (2 shared questions), Stack (2 shared questions), Array (2 shared questions), Two Pointers (2 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: JPMorgan or X?
JPMorgan has 25 Easy, 45 Medium, and 8 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 JPMorgan and X?
Start with the 8 shared problems since they cover what both companies ask most often. Then add 20 JPMorgan-specific and 20 X-specific questions to round out your prep.