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

Oracle

314 questions

Easy 61Medium 194Hard 59
X

51 questions

Easy 8Medium 31Hard 12

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

Easy
Oracle
61
X
8
Medium
Oracle
194
X
31
Hard
Oracle
59
X
12

Top Shared Topics

19 Shared Questions

High-priority problems to practice for both Oracle and X.

ProblemDifficulty
LRU CacheMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Merge IntervalsMedium
Reverse Linked ListEasy
Trapping Rain WaterHard
Design Authentication ManagerMedium
Implement Trie (Prefix Tree)Medium
Insert Delete GetRandom O(1)Medium
Word Break IIHard
Integer to RomanMedium
Kth Smallest Element in a Sorted MatrixMedium
Regular Expression MatchingHard
Multiply StringsMedium
Minimum Number of Steps to Make Two Strings AnagramMedium
Trapping Rain Water IIHard
Wildcard MatchingHard
Validate IP AddressMedium
Happy NumberEasy

Unique to Oracle (295)

Problems in Oracle's list that do not appear at X.

ProblemDifficulty
Longest Substring Without Repeating CharactersMedium
Number of IslandsMedium
Two SumEasy
Group AnagramsMedium
Top K Frequent ElementsMedium
Sliding Window MaximumHard
Meeting Rooms IIMedium
Longest Palindromic SubstringMedium
Spiral MatrixMedium
Minimum One Bit Operations to Make Integers ZeroHard
LFU CacheHard
Search in Rotated Sorted ArrayMedium

Unique to X (32)

Problems in X's list that do not appear at Oracle.

ProblemDifficulty
Tweet Counts Per FrequencyMedium
Flatten Nested List IteratorMedium
Design TwitterMedium
Binary GapEasy
Alien DictionaryHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
Finding the Users Active MinutesMedium
One Edit DistanceMedium
Invalid TweetsEasy
Best Meeting PointHard
Minimum Genetic MutationMedium

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.

Explore More