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.

Read the full Amazon vs Oracle preparation guide →

Overview

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
Oracle

314 questions

Easy 61Medium 194Hard 59

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

Easy
Amazon
527
Oracle
61
Medium
Amazon
1074
Oracle
194
Hard
Amazon
367
Oracle
59

Top Shared Topics

285 Shared Questions

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

ProblemDifficulty
Two SumEasy
LRU CacheMedium
Trapping Rain WaterHard
Number of IslandsMedium
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
Group AnagramsMedium
Add Two NumbersMedium
Reorganize StringMedium
3SumMedium
Longest Palindromic SubstringMedium
Merge IntervalsMedium
Container With Most WaterMedium
Median of Two Sorted ArraysHard
Koko Eating BananasMedium
Valid ParenthesesEasy
Course ScheduleMedium
Merge k Sorted ListsHard
Longest Common PrefixEasy
Rotting OrangesMedium
Subarray Sum Equals KMedium
Merge Sorted ArrayEasy
Search in Rotated Sorted ArrayMedium
Top K Frequent ElementsMedium
Maximum SubarrayMedium
Longest Consecutive SequenceMedium
Copy List with Random PointerMedium
Lowest Common Ancestor of a Binary TreeMedium
Generate ParenthesesMedium
Palindrome NumberEasy

Showing top 30 of 285 shared problems.

Unique to Amazon (1,683)

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

ProblemDifficulty
Analyze User Website Visit PatternMedium
Unique PathsMedium
Pascal's TriangleEasy
Create Hello World FunctionEasy
Recyclable and Low Fat ProductsEasy
Longest Repeating Character ReplacementMedium
Fruit Into BasketsMedium
Best Time to Buy and Sell Stock IIMedium
4SumMedium
Identify the Largest Outlier in an ArrayMedium
Single NumberEasy
Search Insert PositionEasy

Unique to Oracle (29)

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

ProblemDifficulty
Minimum One Bit Operations to Make Integers ZeroHard
Count Pairs Of Similar StringsEasy
Maximize Value of Function in a Ball Passing GameHard
Design Authentication ManagerMedium
Count the Number of Houses at a Certain Distance IMedium
Minimize Length of Array Using OperationsMedium
Count the Number of Houses at a Certain Distance IIHard
Count Distinct Numbers on BoardEasy
Count Ways to Group Overlapping RangesMedium
Word Squares IIMedium
Count the Number of Infection SequencesHard
Pour WaterMedium

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.

Explore More