Oracle vs Twitter Interview Questions

Oracle lists 314 LeetCode interview questions while Twitter lists 53. They share 20 problems — 6% of Oracle's bank and 38% of Twitter's. Focus on the overlap first, then drill into 294 Oracle-only and 33 Twitter-only questions.

Read the full Oracle vs Twitter preparation guide →

Overview

Oracle

314 questions

Easy 61Medium 194Hard 59
Twitter

53 questions

Easy 8Medium 33Hard 12

Preparation Strategy

Step 1 — Shared core: Solve the 20 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Oracle and Twitter.

Step 2 — Company-specific depth: Add Oracle-specific problems like Longest Substring Without Repeating Characters, Number of Islands, Two Sum 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
Oracle
61
Twitter
8
Medium
Oracle
194
Twitter
33
Hard
Oracle
59
Twitter
12

Top Shared Topics

20 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Merge IntervalsMedium
Reverse Linked ListEasy
Trapping Rain WaterHard
Rotting OrangesMedium
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 (294)

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

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 Twitter (33)

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

ProblemDifficulty
Permutation SequenceHard
Pascal's TriangleEasy
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
The Skyline ProblemHard
Lowest Common Ancestor of a Binary Search TreeMedium
Flatten 2D VectorMedium
Alien DictionaryHard
Best Meeting PointHard
Design SkiplistHard
Number of Connected Components in an Undirected GraphMedium

Frequently Asked Questions

How many LeetCode questions do Oracle and Twitter share?

Oracle and Twitter share 20 LeetCode interview questions. 294 problems appear only in Oracle's list and 33 appear only in Twitter's list.

What topics overlap most between Oracle and Twitter?

The most common shared topics between Oracle and Twitter are String (9 shared questions), Hash Table (8 shared questions), Array (7 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 Twitter?

Oracle has 61 Easy, 194 Medium, and 59 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 Oracle and Twitter?

Start with the 20 shared problems since they cover what both companies ask most often. Then add 20 Oracle-specific and 20 Twitter-specific questions to round out your prep.

Explore More