Google vs Oracle Interview Questions

Google lists 2,305 LeetCode interview questions while Oracle lists 314. They share 286 problems — 12% of Google's bank and 91% of Oracle's. Focus on the overlap first, then drill into 2,019 Google-only and 28 Oracle-only questions.

Read the full Google vs Oracle preparation guide →

Overview

Google

2,305 questions

Easy 601Medium 1205Hard 499
Oracle

314 questions

Easy 61Medium 194Hard 59

Preparation Strategy

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

Step 2 — Company-specific depth: Add Google-specific problems like Create Hello World Function, Recyclable and Low Fat Products, Add Two Integers and Oracle-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Google skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Google
601
Oracle
61
Medium
Google
1205
Oracle
194
Hard
Google
499
Oracle
59

Top Shared Topics

286 Shared Questions

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

ProblemDifficulty
Two SumEasy
Add Two NumbersMedium
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
Longest Common PrefixEasy
Palindrome NumberEasy
Merge Sorted ArrayEasy
Longest Substring Without Repeating CharactersMedium
Best Time to Buy and Sell StockEasy
3SumMedium
Merge Strings AlternatelyEasy
Longest Palindromic SubstringMedium
Longest Consecutive SequenceMedium
Container With Most WaterMedium
Valid ParenthesesEasy
Majority ElementEasy
Roman to IntegerEasy
Merge IntervalsMedium
Number of IslandsMedium
Maximum SubarrayMedium
Reverse IntegerMedium
Remove Duplicates from Sorted ArrayEasy
Subarray Sum Equals KMedium
Climbing StairsEasy
Merge Two Sorted ListsEasy
Next PermutationMedium
Generate ParenthesesMedium
Spiral MatrixMedium
Meeting Rooms IIMedium
Reverse Linked ListEasy

Showing top 30 of 286 shared problems.

Unique to Google (2,019)

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

ProblemDifficulty
Create Hello World FunctionEasy
Recyclable and Low Fat ProductsEasy
Add Two IntegersEasy
Remove ElementEasy
Pascal's TriangleEasy
4SumMedium
Single NumberEasy
Concatenation of ArrayEasy
Find the Index of the First Occurrence in a StringEasy
Search Insert PositionEasy
Plus OneEasy
Viewers Turned StreamersHard

Unique to Oracle (28)

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

ProblemDifficulty
Count Pairs Of Similar StringsEasy
Maximize Value of Function in a Ball Passing GameHard
Design Authentication ManagerMedium
Lucky Numbers in a MatrixEasy
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
Maximum Profit From Trading StocksMedium

Frequently Asked Questions

How many LeetCode questions do Google and Oracle share?

Google and Oracle share 286 LeetCode interview questions. 2019 problems appear only in Google's list and 28 appear only in Oracle's list.

What topics overlap most between Google and Oracle?

The most common shared topics between Google and Oracle are Array (18 shared questions), Two Pointers (9 shared questions), String (7 shared questions), Hash Table (6 shared questions), Dynamic Programming (6 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Google or Oracle?

Google has 601 Easy, 1205 Medium, and 499 Hard questions. Oracle has 61 Easy, 194 Medium, and 59 Hard questions. Google has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Google and Oracle?

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

Explore More