Oracle vs Samsung Interview Questions

Oracle lists 314 LeetCode interview questions while Samsung lists 65. They share 36 problems — 11% of Oracle's bank and 55% of Samsung's. Focus on the overlap first, then drill into 278 Oracle-only and 29 Samsung-only questions.

Read the full Oracle vs Samsung preparation guide →

Overview

Oracle

314 questions

Easy 61Medium 194Hard 59
Samsung

65 questions

Easy 12Medium 36Hard 17

Preparation Strategy

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

Step 2 — Company-specific depth: Add Oracle-specific problems like Longest Substring Without Repeating Characters, Group Anagrams, Top K Frequent Elements and Samsung-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Oracle
61
Samsung
12
Medium
Oracle
194
Samsung
36
Hard
Oracle
59
Samsung
17

Top Shared Topics

36 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Number of IslandsMedium
Two SumEasy
Valid ParenthesesEasy
Merge k Sorted ListsHard
Merge IntervalsMedium
Longest Palindromic SubstringMedium
Search in Rotated Sorted ArrayMedium
3SumMedium
Trapping Rain WaterHard
Rotting OrangesMedium
Maximum SubarrayMedium
Best Time to Buy and Sell StockEasy
Generate ParenthesesMedium
Longest Common PrefixEasy
Sort ColorsMedium
Median of Two Sorted ArraysHard
Coin ChangeMedium
Vertical Order Traversal of a Binary TreeHard
Word LadderHard
Move ZeroesEasy
Longest Increasing SubsequenceMedium
Word SearchMedium
Next PermutationMedium
Rotate ImageMedium
PermutationsMedium
Divide Two IntegersMedium
Subarray Product Less Than KMedium
Merge Sorted ArrayEasy
Jump Game IIMedium

Showing top 30 of 36 shared problems.

Unique to Oracle (278)

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

ProblemDifficulty
Longest Substring Without Repeating CharactersMedium
Group AnagramsMedium
Top K Frequent ElementsMedium
Sliding Window MaximumHard
Meeting Rooms IIMedium
Spiral MatrixMedium
Minimum One Bit Operations to Make Integers ZeroHard
LFU CacheHard
Asteroid CollisionMedium
Remove All Adjacent Duplicates in String IIMedium
Container With Most WaterMedium
Reverse Linked ListEasy

Unique to Samsung (29)

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

ProblemDifficulty
Burst BalloonsHard
Partition Array Into Two Arrays to Minimize Sum DifferenceHard
Minimum Cost of a Path With Special RoadsMedium
Minimize Deviation in ArrayHard
Number of Paths with Max ScoreHard
Count Prefix and Suffix Pairs IIHard
Mark Elements on Array by Performing QueriesMedium
Substring with Concatenation of All WordsHard
Guess Number Higher or LowerEasy
Maximum Product of Two Elements in an ArrayEasy
Faulty KeyboardEasy
Number of Nodes in the Sub-Tree With the Same LabelMedium

Frequently Asked Questions

How many LeetCode questions do Oracle and Samsung share?

Oracle and Samsung share 36 LeetCode interview questions. 278 problems appear only in Oracle's list and 29 appear only in Samsung's list.

What topics overlap most between Oracle and Samsung?

The most common shared topics between Oracle and Samsung are Array (22 shared questions), Dynamic Programming (8 shared questions), Two Pointers (7 shared questions), String (6 shared questions), Breadth-First Search (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Oracle or Samsung?

Oracle has 61 Easy, 194 Medium, and 59 Hard questions. Samsung has 12 Easy, 36 Medium, and 17 Hard questions. Samsung has a higher proportion of Hard problems in its interview set.

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

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

Explore More