Oracle vs TikTok Interview Questions

Oracle lists 314 LeetCode interview questions while TikTok lists 351. They share 168 problems — 54% of Oracle's bank and 48% of TikTok's. Focus on the overlap first, then drill into 146 Oracle-only and 183 TikTok-only questions.

Read the full Oracle vs TikTok preparation guide →

Overview

Oracle

314 questions

Easy 61Medium 194Hard 59
TikTok

351 questions

Easy 34Medium 245Hard 72

Preparation Strategy

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

Step 2 — Company-specific depth: Add Oracle-specific problems like Minimum One Bit Operations to Make Integers Zero, Min Stack, Minimum Absolute Difference and TikTok-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Oracle
61
TikTok
34
Medium
Oracle
194
TikTok
245
Hard
Oracle
59
TikTok
72

Top Shared Topics

168 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Longest Substring Without Repeating CharactersMedium
Number of IslandsMedium
Two SumEasy
Group AnagramsMedium
Top K Frequent ElementsMedium
Sliding Window MaximumHard
Valid ParenthesesEasy
Merge k Sorted ListsHard
Merge IntervalsMedium
Meeting Rooms IIMedium
Longest Palindromic SubstringMedium
Spiral MatrixMedium
LFU CacheHard
Search in Rotated Sorted ArrayMedium
Asteroid CollisionMedium
Remove All Adjacent Duplicates in String IIMedium
Container With Most WaterMedium
3SumMedium
Reverse Linked ListEasy
Trapping Rain WaterHard
Longest Consecutive SequenceMedium
Rotting OrangesMedium
Maximum SubarrayMedium
Roman to IntegerEasy
Count Pairs Of Similar StringsEasy
Koko Eating BananasMedium
Best Time to Buy and Sell StockEasy
Binary Tree Right Side ViewMedium
Lowest Common Ancestor of a Binary TreeMedium

Showing top 30 of 168 shared problems.

Unique to Oracle (146)

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

ProblemDifficulty
Minimum One Bit Operations to Make Integers ZeroHard
Min StackMedium
Minimum Absolute DifferenceEasy
Valid AnagramEasy
Find Valid Pair of Adjacent Digits in StringEasy
Maximize Value of Function in a Ball Passing GameHard
Design Authentication ManagerMedium
All Ancestors of a Node in a Directed Acyclic GraphMedium
Lucky Numbers in a MatrixEasy
Count Ways To Build Good StringsMedium
Count the Number of Houses at a Certain Distance IMedium
Minimize Length of Array Using OperationsMedium

Unique to TikTok (183)

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

ProblemDifficulty
Subarray With Elements Greater Than Varying ThresholdHard
Minimum Swaps to Group All 1's TogetherMedium
Making A Large IslandHard
Maximum Value at a Given Index in a Bounded ArrayMedium
Maximum SwapMedium
Longest Happy StringMedium
Snapshot ArrayMedium
Longest Increasing Path in a MatrixHard
Valid Parenthesis StringMedium
Count the Hidden SequencesMedium
Construct Binary Tree from Preorder and Inorder TraversalMedium
Closest Prime Numbers in RangeMedium

Frequently Asked Questions

How many LeetCode questions do Oracle and TikTok share?

Oracle and TikTok share 168 LeetCode interview questions. 146 problems appear only in Oracle's list and 183 appear only in TikTok's list.

What topics overlap most between Oracle and TikTok?

The most common shared topics between Oracle and TikTok are Array (19 shared questions), Hash Table (9 shared questions), String (7 shared questions), Sorting (5 shared questions), Two Pointers (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Oracle or TikTok?

Oracle has 61 Easy, 194 Medium, and 59 Hard questions. TikTok has 34 Easy, 245 Medium, and 72 Hard questions. TikTok has a higher proportion of Hard problems in its interview set.

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

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

Explore More