Roblox Array Questions

40 array problems asked at Roblox interviews

Easy (3)Medium (27)Hard (10)

Questions

TitleDifficulty
Candy CrushMedium
Number of Ways to Wear Different Hats to Each OtherHard
Text JustificationHard
Maximize Distance to Closest PersonMedium
Task SchedulerMedium
Design Hit CounterMedium
Count Number of Nice SubarraysMedium
Group the People Given the Group Size They Belong ToMedium
Rotate ImageMedium
Magnetic Force Between Two BallsMedium
Subdomain Visit CountMedium
Minimum Operations to Write the Letter Y on a GridMedium
Minimum Absolute Difference Between Elements With ConstraintMedium
Number of Black BlocksMedium
Find the Length of the Longest Common PrefixMedium
Block Placement QueriesHard
Subarrays with K Different IntegersHard
Number of Adjacent Elements With the Same ColorMedium
Rotating the BoxMedium
Brightest Position on StreetMedium
Two SumEasy
Merge IntervalsMedium
Number of Flowers in Full BloomHard
Largest Rectangle in HistogramHard
Spiral MatrixMedium
Trapping Rain WaterHard
Design Browser HistoryMedium
Longest Common PrefixEasy
Count the Number of Good SubarraysMedium
Length of Longest V-Shaped Diagonal SegmentHard
Employee Free TimeHard
Rotting OrangesMedium
Longest Consecutive SequenceMedium
Image SmootherEasy
Insert Delete GetRandom O(1)Medium
Restore the Array From Adjacent PairsMedium
Count Nice Pairs in an ArrayMedium
Random Pick with WeightMedium
Sliding Window MaximumHard
Design Memory AllocatorMedium

Showing 40 questions