# Rubrik Coding Interview Questions

> 37 DSA problems asked in Rubrik coding interviews and online assessments, sorted easiest first with hints. Free practice for placements on InternHack.

Canonical: https://www.internhack.in/learn/dsa/companies/rubrik
Last updated: 2026-11-28

37 DSA problems tagged as asked in Rubrik coding interviews and online assessments. Below are all 37: 2 easy, 22 medium and 13 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Rubrik DSA problems, easiest first

1. [Distribute Candies Among Children I](https://www.internhack.in/learn/dsa/problem/distribute-candies-among-children-i) (Easy)
2. [Existence of a Substring in a String and Its Reverse](https://www.internhack.in/learn/dsa/problem/existence-of-a-substring-in-a-string-and-its-reverse) (Easy)
3. [4Sum](https://www.internhack.in/learn/dsa/problem/4sum) (Medium)
4. [Alice and Bob Playing Flower Game](https://www.internhack.in/learn/dsa/problem/alice-and-bob-playing-flower-game) (Medium)
5. [Candy Crush](https://www.internhack.in/learn/dsa/problem/candy-crush) (Medium)
6. [Count Lattice Points Inside a Circle](https://www.internhack.in/learn/dsa/problem/count-lattice-points-inside-a-circle) (Medium)
7. [Design Add and Search Words Data Structure](https://www.internhack.in/learn/dsa/problem/design-add-and-search-words-data-structure) (Medium)
8. [Design Bounded Blocking Queue](https://www.internhack.in/learn/dsa/problem/design-bounded-blocking-queue) (Medium)
9. [Design Circular Queue](https://www.internhack.in/learn/dsa/problem/design-circular-queue) (Medium)
10. [Design Memory Allocator](https://www.internhack.in/learn/dsa/problem/design-memory-allocator) (Medium)
11. [Distribute Candies Among Children II](https://www.internhack.in/learn/dsa/problem/distribute-candies-among-children-ii) (Medium)
12. [Edit Distance](https://www.internhack.in/learn/dsa/problem/edit-distance) (Medium)
13. [Find Longest Special Substring That Occurs Thrice II](https://www.internhack.in/learn/dsa/problem/find-longest-special-substring-that-occurs-thrice-ii) (Medium)
14. [Find X Value of Array I](https://www.internhack.in/learn/dsa/problem/find-x-value-of-array-i) (Medium)
15. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
16. [LRU Cache](https://www.internhack.in/learn/dsa/problem/lru-cache) (Medium)
17. [Maximum Points After Enemy Battles](https://www.internhack.in/learn/dsa/problem/maximum-points-after-enemy-battles) (Medium)
18. [Next Permutation](https://www.internhack.in/learn/dsa/problem/next-permutation) (Medium)
19. [Random Pick with Weight](https://www.internhack.in/learn/dsa/problem/random-pick-with-weight) (Medium)
20. [Snapshot Array](https://www.internhack.in/learn/dsa/problem/snapshot-array) (Medium)
21. [Task Scheduler](https://www.internhack.in/learn/dsa/problem/task-scheduler) (Medium)
22. [Task Scheduler II](https://www.internhack.in/learn/dsa/problem/task-scheduler-ii) (Medium)
23. [Web Crawler](https://www.internhack.in/learn/dsa/problem/web-crawler) (Medium)
24. [Web Crawler Multithreaded](https://www.internhack.in/learn/dsa/problem/web-crawler-multithreaded) (Medium)
25. [Cherry Pickup II](https://www.internhack.in/learn/dsa/problem/cherry-pickup-ii) (Hard)
26. [Design a Text Editor](https://www.internhack.in/learn/dsa/problem/design-a-text-editor) (Hard)
27. [Distribute Candies Among Children III](https://www.internhack.in/learn/dsa/problem/distribute-candies-among-children-iii) (Hard)
28. [Find the Sum of Subsequence Powers](https://www.internhack.in/learn/dsa/problem/find-the-sum-of-subsequence-powers) (Hard)
29. [Find X Value of Array II](https://www.internhack.in/learn/dsa/problem/find-x-value-of-array-ii) (Hard)
30. [Manhattan Distances of All Arrangements of Pieces](https://www.internhack.in/learn/dsa/problem/manhattan-distances-of-all-arrangements-of-pieces) (Hard)
31. [Maximize Subarray Sum After Removing All Occurrences of One Element](https://www.internhack.in/learn/dsa/problem/maximize-subarray-sum-after-removing-all-occurrences-of-one-element) (Hard)
32. [Minimum Number of Moves to Make Palindrome](https://www.internhack.in/learn/dsa/problem/minimum-number-of-moves-to-make-palindrome) (Hard)
33. [Prefix and Suffix Search](https://www.internhack.in/learn/dsa/problem/prefix-and-suffix-search) (Hard)
34. [Remove Invalid Parentheses](https://www.internhack.in/learn/dsa/problem/remove-invalid-parentheses) (Hard)
35. [Scramble String](https://www.internhack.in/learn/dsa/problem/scramble-string) (Hard)
36. [Special Binary String](https://www.internhack.in/learn/dsa/problem/special-binary-string) (Hard)
37. [Stamping the Grid](https://www.internhack.in/learn/dsa/problem/stamping-the-grid) (Hard)

## Prepare for the rest of the Rubrik process

- [Aptitude questions by company](https://www.internhack.in/learn/aptitude/companies)
- [Technical interview questions](https://www.internhack.in/learn/interview)
- [Free ATS resume check](https://www.internhack.in/ats-score/try), no signup

## Other companies

- [Google](https://www.internhack.in/learn/dsa/companies/google) (2217)
- [Amazon](https://www.internhack.in/learn/dsa/companies/amazon) (1938)
- [Meta](https://www.internhack.in/learn/dsa/companies/meta) (1387)
- [Microsoft](https://www.internhack.in/learn/dsa/companies/microsoft) (1352)
- [Bloomberg](https://www.internhack.in/learn/dsa/companies/bloomberg) (1173)
- [Tiktok](https://www.internhack.in/learn/dsa/companies/tiktok) (383)
- [Uber](https://www.internhack.in/learn/dsa/companies/uber) (381)
- [Apple](https://www.internhack.in/learn/dsa/companies/apple) (356)
- [Oracle](https://www.internhack.in/learn/dsa/companies/oracle) (340)
- [Goldman Sachs](https://www.internhack.in/learn/dsa/companies/goldman-sachs) (270)
- [Adobe](https://www.internhack.in/learn/dsa/companies/adobe) (227)
- [TCS](https://www.internhack.in/learn/dsa/companies/tcs) (217)
- [Salesforce](https://www.internhack.in/learn/dsa/companies/salesforce) (189)
- [Linkedin](https://www.internhack.in/learn/dsa/companies/linkedin) (180)
- [Zoho](https://www.internhack.in/learn/dsa/companies/zoho) (179)
- [IBM](https://www.internhack.in/learn/dsa/companies/ibm) (170)
- [Infosys](https://www.internhack.in/learn/dsa/companies/infosys) (158)
- [Walmart Labs](https://www.internhack.in/learn/dsa/companies/walmart-labs) (152)
- [Accenture](https://www.internhack.in/learn/dsa/companies/accenture) (144)
- [Nvidia](https://www.internhack.in/learn/dsa/companies/nvidia) (137)
- [Yandex](https://www.internhack.in/learn/dsa/companies/yandex) (134)
- [DE Shaw](https://www.internhack.in/learn/dsa/companies/de-shaw) (124)
- [Visa](https://www.internhack.in/learn/dsa/companies/visa) (124)
- [Flipkart](https://www.internhack.in/learn/dsa/companies/flipkart) (117)

## Related

- [Home](https://www.internhack.in/)
- [Learn](https://www.internhack.in/learn)
- [DSA by company](https://www.internhack.in/learn/dsa/companies)
