Amazon vs Rubrik Interview Questions

Amazon lists 1,968 LeetCode interview questions while Rubrik lists 35. They share 22 problems — 1% of Amazon's bank and 63% of Rubrik's. Focus on the overlap first, then drill into 1,946 Amazon-only and 13 Rubrik-only questions.

Overview

Amazon

1,968 questions

Easy 527Medium 1074Hard 367
Rubrik

35 questions

Easy 2Medium 22Hard 11

Preparation Strategy

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

Step 2 — Company-specific depth: Add Amazon-specific problems like Two Sum, Trapping Rain Water, Number of Islands and Rubrik-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Amazon
527
Rubrik
2
Medium
Amazon
1074
Rubrik
22
Hard
Amazon
367
Rubrik
11

Top Shared Topics

22 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Next PermutationMedium
Task SchedulerMedium
Insert Delete GetRandom O(1)Medium
4SumMedium
Random Pick with WeightMedium
Design Circular QueueMedium
Distribute Candies Among Children IIMedium
Design Memory AllocatorMedium
Count Zero Request ServersMedium
Minimum Number of Moves to Make PalindromeHard
Snapshot ArrayMedium
Distribute Candies Among Children IEasy
Distribute Candies Among Children IIIHard
Scramble StringHard
Special Binary StringHard
Cherry Pickup IIHard
Remove Invalid ParenthesesHard
Task Scheduler IIMedium
Web CrawlerMedium
Manhattan Distances of All Arrangements of PiecesHard
Alice and Bob Playing Flower GameMedium

Unique to Amazon (1,946)

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

ProblemDifficulty
Two SumEasy
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

Unique to Rubrik (13)

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

ProblemDifficulty
Maximum Points After Enemy BattlesMedium
Maximize Subarray Sum After Removing All Occurrences of One ElementHard
Count Lattice Points Inside a CircleMedium
Stamping the GridHard
Candy CrushMedium
Find Longest Special Substring That Occurs Thrice IIMedium
Find X Value of Array IIHard
Find X Value of Array IMedium
Find the Sum of Subsequence PowersHard
Existence of a Substring in a String and Its ReverseEasy
Web Crawler MultithreadedMedium
Paint FenceMedium

Frequently Asked Questions

How many LeetCode questions do Amazon and Rubrik share?

Amazon and Rubrik share 22 LeetCode interview questions. 1946 problems appear only in Amazon's list and 13 appear only in Rubrik's list.

What topics overlap most between Amazon and Rubrik?

The most common shared topics between Amazon and Rubrik are Array (11 shared questions), Hash Table (7 shared questions), Math (7 shared questions), Design (5 shared questions), String (5 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Amazon or Rubrik?

Amazon has 527 Easy, 1074 Medium, and 367 Hard questions. Rubrik has 2 Easy, 22 Medium, and 11 Hard questions. Rubrik has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Amazon and Rubrik?

Start with the 22 shared problems since they cover what both companies ask most often. Then add 20 Amazon-specific and 13 Rubrik-specific questions to round out your prep.

Explore More