Oracle vs Yahoo Interview Questions

Oracle lists 314 LeetCode interview questions while Yahoo lists 34. They share 24 problems — 8% of Oracle's bank and 71% of Yahoo's. Focus on the overlap first, then drill into 290 Oracle-only and 10 Yahoo-only questions.

Read the full Oracle vs Yahoo preparation guide →

Overview

Oracle

314 questions

Easy 61Medium 194Hard 59
Yahoo

34 questions

Easy 11Medium 20Hard 3

Preparation Strategy

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

Step 2 — Company-specific depth: Add Oracle-specific problems like Longest Substring Without Repeating Characters, Number of Islands, Group Anagrams and Yahoo-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
Oracle
61
Yahoo
11
Medium
Oracle
194
Yahoo
20
Hard
Oracle
59
Yahoo
3

Top Shared Topics

24 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Two SumEasy
Top K Frequent ElementsMedium
Valid ParenthesesEasy
Meeting Rooms IIMedium
Spiral MatrixMedium
Search in Rotated Sorted ArrayMedium
Reverse Linked ListEasy
Roman to IntegerEasy
Decode StringMedium
Longest Common PrefixEasy
Median of Two Sorted ArraysHard
Restore IP AddressesMedium
Subarray Sum Equals KMedium
Validate Binary Search TreeMedium
Word SearchMedium
Palindrome NumberEasy
Linked List CycleEasy
Word BreakMedium
Contains DuplicateEasy
Find Peak ElementMedium
Serialize and Deserialize Binary TreeHard
Maximum Depth of Binary TreeEasy
Combination SumMedium

Unique to Oracle (290)

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

ProblemDifficulty
Longest Substring Without Repeating CharactersMedium
Number of IslandsMedium
Group AnagramsMedium
Sliding Window MaximumHard
Merge k Sorted ListsHard
Merge IntervalsMedium
Longest Palindromic SubstringMedium
Minimum One Bit Operations to Make Integers ZeroHard
LFU CacheHard
Asteroid CollisionMedium
Remove All Adjacent Duplicates in String IIMedium
Container With Most WaterMedium

Unique to Yahoo (10)

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

ProblemDifficulty
Largest Palindrome ProductHard
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium
Binary Number with Alternating BitsEasy
Peeking IteratorMedium
Longest Repeating Character ReplacementMedium
Shortest Path in Binary MatrixMedium
Evaluate DivisionMedium
Flatten Nested List IteratorMedium

Frequently Asked Questions

How many LeetCode questions do Oracle and Yahoo share?

Oracle and Yahoo share 24 LeetCode interview questions. 290 problems appear only in Oracle's list and 10 appear only in Yahoo's list.

What topics overlap most between Oracle and Yahoo?

The most common shared topics between Oracle and Yahoo are Array (13 shared questions), Hash Table (8 shared questions), String (8 shared questions), Depth-First Search (4 shared questions), Linked List (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Oracle or Yahoo?

Oracle has 61 Easy, 194 Medium, and 59 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Oracle has a higher proportion of Hard problems in its interview set.

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

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

Explore More