grindmapcompany-wise LeetCode
All companies

Roblox LeetCode Questions

56 questions all-time · 8 easy · 35 medium · 13 hard
# Problem Difficulty Frequency Acceptance
1Candy Crush
Array, Two Pointers, Matrix, Simulation
Medium
100
0.8%
2Reorganize String
Hash Table, String, Greedy, Sorting, Heap (Priority Queue), Counting
Medium
95
0.6%
3Number of Ways to Wear Different Hats to Each Other
Array, Dynamic Programming, Bit Manipulation, Bitmask
Hard
93
0.5%
4Text Justification
Array, String, Simulation
Hard
89
0.5%
5Task Scheduler
Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting
Medium
86
0.6%
6Maximize Distance to Closest Person
Array
Medium
86
0.5%
7Course Schedule II
Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort
Medium
83
0.6%
8Design Hit Counter
Array, Binary Search, Design, Queue, Data Stream
Medium
77
0.7%
9Count Number of Nice Subarrays
Array, Hash Table, Math, Sliding Window, Prefix Sum
Medium
73
0.8%
10Group the People Given the Group Size They Belong To
Array, Hash Table, Greedy
Medium
73
0.9%
11Integer to English Words
Math, String, Recursion
Hard
73
0.4%
12Design Search Autocomplete System
String, Depth-First Search, Design, Trie, Sorting, Heap (Priority Queue), Data Stream
Hard
73
0.5%
13Rotate Image
Array, Math, Matrix
Medium
71
0.8%
14Magnetic Force Between Two Balls
Array, Binary Search, Sorting
Medium
71
0.7%
15Subdomain Visit Count
Array, Hash Table, String, Counting
Medium
71
0.8%
16Convert Binary Number in a Linked List to Integer
Linked List, Math
Easy
71
0.8%
17Students and Examinations
Database
Easy
71
0.6%
18Maximum Number of Occurrences of a Substring
Hash Table, String, Sliding Window
Medium
71
0.5%
19Number of Trusted Contacts of a Customer
Database
Medium
71
0.7%
20Minimum Operations to Write the Letter Y on a Grid
Array, Hash Table, Matrix, Counting
Medium
67
0.6%
21Valid Parentheses
String, Stack
Easy
64
0.4%
22Implement Trie (Prefix Tree)
Hash Table, String, Design, Trie
Medium
64
0.7%
23Minimum Absolute Difference Between Elements With Constraint
Array, Binary Search, Ordered Set
Medium
64
0.4%
24Number of Black Blocks
Array, Hash Table, Enumeration
Medium
64
0.4%
25Logger Rate Limiter
Hash Table, Design, Data Stream
Easy
64
0.8%
26Find the Length of the Longest Common Prefix
Array, Hash Table, String, Trie
Medium
61
0.6%
27Course Schedule
Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort
Medium
61
0.5%
28Brightest Position on Street
Array, Sorting, Prefix Sum, Ordered Set
Medium
57
0.6%
29Block Placement Queries
Array, Binary Search, Binary Indexed Tree, Segment Tree, Ordered Set
Hard
57
0.4%
30Subarrays with K Different Integers
Array, Hash Table, Sliding Window, Counting
Hard
57
0.7%
31Number of Adjacent Elements With the Same Color
Array
Medium
57
0.6%
32Rotating the Box
Array, Two Pointers, Matrix
Medium
57
0.8%
33Merge Intervals
Array, Sorting
Medium
52
0.5%
34Number of Flowers in Full Bloom
Array, Hash Table, Binary Search, Sorting, Prefix Sum, Ordered Set
Hard
52
0.6%
35Largest Rectangle in Histogram
Array, Stack, Monotonic Stack
Hard
52
0.5%
36Spiral Matrix
Array, Matrix, Simulation
Medium
52
0.6%
37Two Sum
Array, Hash Table
Easy
52
0.6%
38Trapping Rain Water
Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack
Hard
52
0.7%
39Number of Recent Calls
Design, Queue, Data Stream
Easy
52
0.8%
40Longest Common Prefix
Array, String, Trie
Easy
46
0.5%
41Design Browser History
Array, Linked List, Stack, Design, Doubly-Linked List, Data Stream
Medium
46
0.8%
42Count the Number of Good Subarrays
Array, Hash Table, Sliding Window
Medium
46
0.7%
43Length of Longest V-Shaped Diagonal Segment
Array, Dynamic Programming, Memoization, Matrix
Hard
46
0.6%
44Minimum Number of Frogs Croaking
String, Counting
Medium
38
0.5%
45Employee Free Time
Array, Sweep Line, Sorting, Heap (Priority Queue)
Hard
38
0.7%
46Rotting Oranges
Array, Breadth-First Search, Matrix
Medium
38
0.6%
47Longest Substring Without Repeating Characters
Hash Table, String, Sliding Window
Medium
38
0.4%
48Image Smoother
Array, Matrix
Easy
38
0.7%
49Longest Consecutive Sequence
Array, Hash Table, Union-Find
Medium
38
0.5%
50Basic Calculator IV
Hash Table, Math, String, Stack, Recursion
Hard
38
0.5%
51Restore the Array From Adjacent Pairs
Array, Hash Table, Depth-First Search
Medium
38
0.8%
52Count Nice Pairs in an Array
Array, Hash Table, Math, Counting
Medium
38
0.5%
53Insert Delete GetRandom O(1)
Array, Hash Table, Math, Design, Randomized
Medium
38
0.6%
54Random Pick with Weight
Array, Math, Binary Search, Prefix Sum, Randomized
Medium
38
0.5%
55Design Memory Allocator
Array, Hash Table, Design, Simulation
Medium
38
0.5%
56Sliding Window Maximum
Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue
Hard
38
0.5%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.