Amazon vs Oracle Interview Questions
Amazon lists 1,968 LeetCode interview questions while Oracle lists 314. They share 285 problems — 14% of Amazon's bank and 91% of Oracle's. Focus on the overlap first, then drill into 1,683 Amazon-only and 29 Oracle-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 285 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Amazon and Oracle.
Step 2 — Company-specific depth: Add Amazon-specific problems like Analyze User Website Visit Pattern, Unique Paths, Pascal's Triangle and Oracle-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Oracle skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
285 Shared Questions
High-priority problems to practice for both Amazon and Oracle.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| LRU Cache | Medium |
| Trapping Rain Water | Hard |
| Number of Islands | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Best Time to Buy and Sell Stock | Easy |
| Group Anagrams | Medium |
| Add Two Numbers | Medium |
| Reorganize String | Medium |
| 3Sum | Medium |
| Longest Palindromic Substring | Medium |
| Merge Intervals | Medium |
| Container With Most Water | Medium |
| Median of Two Sorted Arrays | Hard |
| Koko Eating Bananas | Medium |
| Valid Parentheses | Easy |
| Course Schedule | Medium |
| Merge k Sorted Lists | Hard |
| Longest Common Prefix | Easy |
| Rotting Oranges | Medium |
| Subarray Sum Equals K | Medium |
| Merge Sorted Array | Easy |
| Search in Rotated Sorted Array | Medium |
| Top K Frequent Elements | Medium |
| Maximum Subarray | Medium |
| Longest Consecutive Sequence | Medium |
| Copy List with Random Pointer | Medium |
| Lowest Common Ancestor of a Binary Tree | Medium |
| Generate Parentheses | Medium |
| Palindrome Number | Easy |
Showing top 30 of 285 shared problems.
Unique to Amazon (1,683)
Problems in Amazon's list that do not appear at Oracle.
| Problem | Difficulty |
|---|---|
| Analyze User Website Visit Pattern | Medium |
| Unique Paths | Medium |
| Pascal's Triangle | Easy |
| Create Hello World Function | Easy |
| Recyclable and Low Fat Products | Easy |
| Longest Repeating Character Replacement | Medium |
| Fruit Into Baskets | Medium |
| Best Time to Buy and Sell Stock II | Medium |
| 4Sum | Medium |
| Identify the Largest Outlier in an Array | Medium |
| Single Number | Easy |
| Search Insert Position | Easy |
Unique to Oracle (29)
Problems in Oracle's list that do not appear at Amazon.
Frequently Asked Questions
How many LeetCode questions do Amazon and Oracle share?
Amazon and Oracle share 285 LeetCode interview questions. 1683 problems appear only in Amazon's list and 29 appear only in Oracle's list.
What topics overlap most between Amazon and Oracle?
The most common shared topics between Amazon and Oracle are Array (18 shared questions), Hash Table (9 shared questions), String (7 shared questions), Sorting (6 shared questions), Two Pointers (5 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Amazon or Oracle?
Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. Oracle has 61 Easy, 194 Medium, and 59 Hard questions. Oracle has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Amazon and Oracle?
Start with the 285 shared problems since they cover what both companies ask most often. Then add 20 Amazon-specific and 20 Oracle-specific questions to round out your prep.