Oracle vs X Interview Questions
Oracle lists 314 LeetCode interview questions while X lists 51. They share 19 problems — 6% of Oracle's bank and 37% of X's. Focus on the overlap first, then drill into 295 Oracle-only and 32 X-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 19 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Oracle and X.
Step 2 — Company-specific depth: Add Oracle-specific problems like Longest Substring Without Repeating Characters, Number of Islands, 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
19 Shared Questions
High-priority problems to practice for both Oracle and X.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Valid Parentheses | Easy |
| Merge k Sorted Lists | Hard |
| Merge Intervals | Medium |
| Reverse Linked List | Easy |
| Trapping Rain Water | Hard |
| Design Authentication Manager | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Word Break II | Hard |
| Integer to Roman | Medium |
| Kth Smallest Element in a Sorted Matrix | Medium |
| Regular Expression Matching | Hard |
| Multiply Strings | Medium |
| Minimum Number of Steps to Make Two Strings Anagram | Medium |
| Trapping Rain Water II | Hard |
| Wildcard Matching | Hard |
| Validate IP Address | Medium |
| Happy Number | Easy |
Unique to Oracle (295)
Problems in Oracle's list that do not appear at X.
| Problem | Difficulty |
|---|---|
| Longest Substring Without Repeating Characters | Medium |
| Number of Islands | Medium |
| Two Sum | Easy |
| Group Anagrams | Medium |
| Top K Frequent Elements | Medium |
| Sliding Window Maximum | Hard |
| Meeting Rooms II | Medium |
| Longest Palindromic Substring | Medium |
| Spiral Matrix | Medium |
| Minimum One Bit Operations to Make Integers Zero | Hard |
| LFU Cache | Hard |
| Search in Rotated Sorted Array | Medium |
Unique to X (32)
Problems in X's list that do not appear at Oracle.
| Problem | Difficulty |
|---|---|
| Tweet Counts Per Frequency | Medium |
| Flatten Nested List Iterator | Medium |
| Design Twitter | Medium |
| Binary Gap | Easy |
| Alien Dictionary | Hard |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| Finding the Users Active Minutes | Medium |
| One Edit Distance | Medium |
| Invalid Tweets | Easy |
| Best Meeting Point | Hard |
| Minimum Genetic Mutation | Medium |
Frequently Asked Questions
How many LeetCode questions do Oracle and X share?
Oracle and X share 19 LeetCode interview questions. 295 problems appear only in Oracle's list and 32 appear only in X's list.
What topics overlap most between Oracle and X?
The most common shared topics between Oracle and X are String (9 shared questions), Hash Table (8 shared questions), Array (6 shared questions), Linked List (4 shared questions), Design (4 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Oracle or X?
Oracle has 61 Easy, 194 Medium, and 59 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 Oracle and X?
Start with the 19 shared problems since they cover what both companies ask most often. Then add 20 Oracle-specific and 20 X-specific questions to round out your prep.