Goldman Sachs vs Rubrik Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Rubrik lists 35. They share 6 problems — 2% of Goldman Sachs's bank and 17% of Rubrik's. Focus on the overlap first, then drill into 255 Goldman Sachs-only and 29 Rubrik-only questions.

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Rubrik

35 questions

Easy 2Medium 22Hard 11

Preparation Strategy

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

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Trapping Rain Water, Median of Two Sorted Arrays, First Unique Character in a String 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
Goldman Sachs
48
Rubrik
2
Medium
Goldman Sachs
165
Rubrik
22
Hard
Goldman Sachs
48
Rubrik
11

Top Shared Topics

6 Shared Questions

High-priority problems to practice for both Goldman Sachs and Rubrik.

ProblemDifficulty
LRU CacheMedium
Task SchedulerMedium
Next PermutationMedium
Minimum Number of Moves to Make PalindromeHard
Design Circular QueueMedium
Snapshot ArrayMedium

Unique to Goldman Sachs (255)

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

ProblemDifficulty
Trapping Rain WaterHard
Median of Two Sorted ArraysHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
Container With Most WaterMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Merge IntervalsMedium
Robot Bounded In CircleMedium

Unique to Rubrik (29)

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

ProblemDifficulty
Maximum Points After Enemy BattlesMedium
Maximize Subarray Sum After Removing All Occurrences of One ElementHard
Manhattan Distances of All Arrangements of PiecesHard
Count Lattice Points Inside a CircleMedium
Stamping the GridHard
Alice and Bob Playing Flower GameMedium
Candy CrushMedium
Find Longest Special Substring That Occurs Thrice IIMedium
Find X Value of Array IIHard
Find X Value of Array IMedium
Distribute Candies Among Children IIMedium
Random Pick with WeightMedium

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Rubrik share?

Goldman Sachs and Rubrik share 6 LeetCode interview questions. 255 problems appear only in Goldman Sachs's list and 29 appear only in Rubrik's list.

What topics overlap most between Goldman Sachs and Rubrik?

The most common shared topics between Goldman Sachs and Rubrik are Array (4 shared questions), Hash Table (3 shared questions), Design (3 shared questions), Linked List (2 shared questions), Greedy (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Goldman Sachs or Rubrik?

Goldman Sachs has 48 Easy, 165 Medium, and 48 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 Goldman Sachs and Rubrik?

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

Explore More