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.
Overview
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
Top Shared Topics
20 Shared Questions
High-priority problems to practice for both Oracle and Twitter.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Valid Parentheses | Easy |
| Merge k Sorted Lists | Hard |
| Merge Intervals | Medium |
| Reverse Linked List | Easy |
| Trapping Rain Water | Hard |
| Rotting Oranges | Medium |
| 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 (294)
Problems in Oracle's list that do not appear at Twitter.
| 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 Twitter (33)
Problems in Twitter's list that do not appear at Oracle.
| Problem | Difficulty |
|---|---|
| Permutation Sequence | Hard |
| Pascal's Triangle | Easy |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| One Edit Distance | Medium |
| The Skyline Problem | Hard |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
| Flatten 2D Vector | Medium |
| Alien Dictionary | Hard |
| Best Meeting Point | Hard |
| Design Skiplist | Hard |
| Number of Connected Components in an Undirected Graph | Medium |
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.