31 problems · 2 Easy, 17 Medium, 12 Hard · Ranked #64 of 458
Difficulty breakdown
2 Easy
6% · avg 23%
17 Medium
55% · avg 59%
12 Hard
39% · avg 18%
Top topics
array
58.1%
math
29%2.3x
hash-table
29%
string
25.8%
design
22.6%3.9x
dynamic-programming
22.6%
Interview profile
Based on 31 reported problems, Rubrik interviews are significantly harder than average - 39% Hard vs 18% across all companies. The majority (55%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.
Compared to the industry average, Rubrik puts unusual emphasis on combinatorics (9.7% of problems, 17x the industry average), enumeration (9.7% of problems, 11.8x the industry average), segment-tree (6.5% of problems, 10.6x the industry average). If you're short on time, these are the categories to double down on.
The most common topics are array (58.1%), math (29%), hash-table (29%), string (25.8%). Problems below are sorted by frequency, the ones at the top are asked most often.
All 31 problems
Problem
Difficulty
Frequency
Topics
Maximum Points After Enemy Battles
You are given an integer array enemyEnergies denoting the energy values of various enemies.
Alice and Bob are playing a turn-based game on a field, with two lanes of flowers between them. There are x flowers in the first lane between Alice and Bob, and...
Given a 2D integer array circles where circles[i] = [xi, yi, ri] represents the center (xi, yi) and radius ri of the ith circle drawn on a grid, return the numb...
Maximize Subarray Sum After Removing All Occurrences Of One Element
You are given an integer array nums. You can perform at most one operation: choose any integer x such that nums remains non-empty after removing all occurrences...
You are given an array of positive integers nums and a positive integer k. You are also given a 2D array queries, where queries[i] = [indexi, valuei, starti, xi...
You are given three integers m, n, and k. There is a rectangular grid of size m × n containing k identical pieces. Return the sum of Manhattan distances between...
You are given an array of CPU tasks, each labeled with a letter from A to Z, and a number n. Each CPU interval can be idle or allow the completion of one task....
You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see...
You are given a rows x cols matrix grid representing a field of cherries where grid[i][j] represents the number of cherries that you can collect from the (i, j)...
Alice and Bob are playing a turn-based game on a field, with two lanes of flowers between them. There are x flowers in the first lane between Alice and Bob, and...
Given a 2D integer array circles where circles[i] = [xi, yi, ri] represents the center (xi, yi) and radius ri of the ith circle drawn on a grid, return the numb...
You are given an integer array nums. You can perform at most one operation: choose any integer x such that nums remains non-empty after removing all occurrences...
You are given an array of positive integers nums and a positive integer k. You are also given a 2D array queries, where queries[i] = [indexi, valuei, starti, xi...
You are given three integers m, n, and k. There is a rectangular grid of size m × n containing k identical pieces. Return the sum of Manhattan distances between...
You are given an array of CPU tasks, each labeled with a letter from A to Z, and a number n. Each CPU interval can be idle or allow the completion of one task....
You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see...
You are given a rows x cols matrix grid representing a field of cherries where grid[i][j] represents the number of cherries that you can collect from the (i, j)...
There are two kinds of threads: oxygen and hydrogen. Your goal is to group these threads to form water molecules.
MediumSometimes
concurrency
How often are these problems asked?
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Rubrik interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Preparing for your Rubrik coding interview
Rubrik interviews focus heavily on array, math, hash-table problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.
Beyond solving problems, practice explaining your approach. Rubrik interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.
What coding problems does Rubrik ask in interviews?add
Rubrik has been reported to ask 31 distinct coding problems. The most common topics are array, math, hash-table. 2 are Easy difficulty, 17 are Medium, and 12 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.
How hard are Rubrik coding interviews?add
Based on 31 reported problems, Rubrik interviews are significantly harder than average - 39% Hard vs 18% across all companies. 55% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.
How should I prepare for a Rubrik coding interview?add
Start with the highest-frequency problems listed on this page. Focus on the core topics: array, math, hash-table. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.
Simulate a real Rubrik coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.