# Roblox Coding Interview Questions

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

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

56 DSA problems tagged as asked in Roblox coding interviews and online assessments. Below are all 56: 8 easy, 36 medium and 12 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

## Roblox DSA problems, easiest first

1. [Convert Binary Number in a Linked List to Integer](https://www.internhack.in/learn/dsa/problem/convert-binary-number-in-a-linked-list-to-integer) (Easy)
2. [Image Smoother](https://www.internhack.in/learn/dsa/problem/image-smoother) (Easy)
3. [Logger Rate Limiter](https://www.internhack.in/learn/dsa/problem/logger-rate-limiter) (Easy)
4. [Longest Common Prefix](https://www.internhack.in/learn/dsa/problem/longest-common-prefix) (Easy)
5. [Number of Recent Calls](https://www.internhack.in/learn/dsa/problem/number-of-recent-calls) (Easy)
6. [Students and Examinations](https://www.internhack.in/learn/dsa/problem/students-and-examinations) (Easy)
7. [Two Sum](https://www.internhack.in/learn/dsa/problem/two-sum) (Easy)
8. [Valid Parentheses](https://www.internhack.in/learn/dsa/problem/valid-parentheses) (Easy)
9. [Accounts Merge](https://www.internhack.in/learn/dsa/problem/accounts-merge) (Medium)
10. [Brightest Position on Street](https://www.internhack.in/learn/dsa/problem/brightest-position-on-street) (Medium)
11. [Candy Crush](https://www.internhack.in/learn/dsa/problem/candy-crush) (Medium)
12. [Count Nice Pairs in an Array](https://www.internhack.in/learn/dsa/problem/count-nice-pairs-in-an-array) (Medium)
13. [Count Number of Nice Subarrays](https://www.internhack.in/learn/dsa/problem/count-number-of-nice-subarrays) (Medium)
14. [Count the Number of Good Subarrays](https://www.internhack.in/learn/dsa/problem/count-the-number-of-good-subarrays) (Medium)
15. [Course Schedule](https://www.internhack.in/learn/dsa/problem/course-schedule) (Medium)
16. [Course Schedule II](https://www.internhack.in/learn/dsa/problem/course-schedule-ii) (Medium)
17. [Design Browser History](https://www.internhack.in/learn/dsa/problem/design-browser-history) (Medium)
18. [Design Hit Counter](https://www.internhack.in/learn/dsa/problem/design-hit-counter) (Medium)
19. [Design Memory Allocator](https://www.internhack.in/learn/dsa/problem/design-memory-allocator) (Medium)
20. [Find the Length of the Longest Common Prefix](https://www.internhack.in/learn/dsa/problem/find-the-length-of-the-longest-common-prefix) (Medium)
21. [Group the People Given the Group Size They Belong To](https://www.internhack.in/learn/dsa/problem/group-the-people-given-the-group-size-they-belong-to) (Medium)
22. [Implement Trie (Prefix Tree)](https://www.internhack.in/learn/dsa/problem/implement-trie-prefix-tree) (Medium)
23. [Insert Delete GetRandom O(1)](https://www.internhack.in/learn/dsa/problem/insert-delete-getrandom-o1) (Medium)
24. [Longest Consecutive Sequence](https://www.internhack.in/learn/dsa/problem/longest-consecutive-sequence) (Medium)
25. [Longest Substring Without Repeating Characters](https://www.internhack.in/learn/dsa/problem/longest-substring-without-repeating-characters) (Medium)
26. [Magnetic Force Between Two Balls](https://www.internhack.in/learn/dsa/problem/magnetic-force-between-two-balls) (Medium)
27. [Maximize Distance to Closest Person](https://www.internhack.in/learn/dsa/problem/maximize-distance-to-closest-person) (Medium)
28. [Maximum Number of Occurrences of a Substring](https://www.internhack.in/learn/dsa/problem/maximum-number-of-occurrences-of-a-substring) (Medium)
29. [Merge Intervals](https://www.internhack.in/learn/dsa/problem/merge-intervals) (Medium)
30. [Minimum Absolute Difference Between Elements With Constraint](https://www.internhack.in/learn/dsa/problem/minimum-absolute-difference-between-elements-with-constraint) (Medium)
31. [Minimum Number of Frogs Croaking](https://www.internhack.in/learn/dsa/problem/minimum-number-of-frogs-croaking) (Medium)
32. [Minimum Operations to Write the Letter Y on a Grid](https://www.internhack.in/learn/dsa/problem/minimum-operations-to-write-the-letter-y-on-a-grid) (Medium)
33. [Number of Adjacent Elements With the Same Color](https://www.internhack.in/learn/dsa/problem/number-of-adjacent-elements-with-the-same-color) (Medium)
34. [Number of Black Blocks](https://www.internhack.in/learn/dsa/problem/number-of-black-blocks) (Medium)
35. [Number of Trusted Contacts of a Customer](https://www.internhack.in/learn/dsa/problem/number-of-trusted-contacts-of-a-customer) (Medium)
36. [Random Pick with Weight](https://www.internhack.in/learn/dsa/problem/random-pick-with-weight) (Medium)
37. [Reorganize String](https://www.internhack.in/learn/dsa/problem/reorganize-string) (Medium)
38. [Restore the Array From Adjacent Pairs](https://www.internhack.in/learn/dsa/problem/restore-the-array-from-adjacent-pairs) (Medium)
39. [Rotate Image](https://www.internhack.in/learn/dsa/problem/rotate-image) (Medium)
40. [Rotating the Box](https://www.internhack.in/learn/dsa/problem/rotating-the-box) (Medium)
41. [Rotting Oranges](https://www.internhack.in/learn/dsa/problem/rotting-oranges) (Medium)
42. [Spiral Matrix](https://www.internhack.in/learn/dsa/problem/spiral-matrix) (Medium)
43. [Subdomain Visit Count](https://www.internhack.in/learn/dsa/problem/subdomain-visit-count) (Medium)
44. [Task Scheduler](https://www.internhack.in/learn/dsa/problem/task-scheduler) (Medium)
45. [Basic Calculator IV](https://www.internhack.in/learn/dsa/problem/basic-calculator-iv) (Hard)
46. [Block Placement Queries](https://www.internhack.in/learn/dsa/problem/block-placement-queries) (Hard)
47. [Design Search Autocomplete System](https://www.internhack.in/learn/dsa/problem/design-search-autocomplete-system) (Hard)
48. [Employee Free Time](https://www.internhack.in/learn/dsa/problem/employee-free-time) (Hard)
49. [Integer to English Words](https://www.internhack.in/learn/dsa/problem/integer-to-english-words) (Hard)
50. [Largest Rectangle in Histogram](https://www.internhack.in/learn/dsa/problem/largest-rectangle-in-histogram) (Hard)
51. [Length of Longest V-Shaped Diagonal Segment](https://www.internhack.in/learn/dsa/problem/length-of-longest-v-shaped-diagonal-segment) (Hard)
52. [Number of Flowers in Full Bloom](https://www.internhack.in/learn/dsa/problem/number-of-flowers-in-full-bloom) (Hard)
53. [Number of Ways to Wear Different Hats to Each Other](https://www.internhack.in/learn/dsa/problem/number-of-ways-to-wear-different-hats-to-each-other) (Hard)
54. [Subarrays with K Different Integers](https://www.internhack.in/learn/dsa/problem/subarrays-with-k-different-integers) (Hard)
55. [Text Justification](https://www.internhack.in/learn/dsa/problem/text-justification) (Hard)
56. [Trapping Rain Water](https://www.internhack.in/learn/dsa/problem/trapping-rain-water) (Hard)

## Prepare for the rest of the Roblox 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)
