← Back to Roblox

Array

87 questions

1Candy CrushMedium
ArrayTwo PointersMatrix
Solve →
2Candy CrushMedium
ArrayTwo PointersMatrix
Solve →
3Candy CrushMedium
ArrayTwo PointersMatrix
Solve →
4Number of Ways to Wear Different Hats to Each OtherHard
ArrayDynamic ProgrammingBit Manipulation
Solve →
5Design Hit CounterMedium
ArrayBinary SearchDesign
Solve →
6Two SumEasy
ArrayHash Table
Solve →
7Maximize Distance to Closest PersonMedium
Array
Solve →
8Candy CrushMedium
ArrayTwo PointersMatrix
Solve →
9Number of Ways to Wear Different Hats to Each OtherHard
ArrayDynamic ProgrammingBit Manipulation
Solve →
10Text JustificationHard
ArrayStringSimulation
Solve →
11Task SchedulerMedium
ArrayHash TableGreedy
Solve →
12Maximize Distance to Closest PersonMedium
Array
Solve →
13Design Hit CounterMedium
ArrayBinary SearchDesign
Solve →
14Rotate ImageMedium
ArrayMathMatrix
Solve →
15Minimum Operations to Write the Letter Y on a GridMedium
ArrayHash TableMatrix
Solve →
16Minimum Absolute Difference Between Elements With ConstraintMedium
ArrayBinary SearchOrdered Set
Solve →
17Number of Black BlocksMedium
ArrayHash TableEnumeration
Solve →
18Find the Length of the Longest Common PrefixMedium
ArrayHash TableString
Solve →
19Block Placement QueriesHard
ArrayBinary SearchBinary Indexed Tree
Solve →
20Subarrays with K Different IntegersHard
ArrayHash TableSliding Window
Solve →
21Number of Adjacent Elements With the Same ColorMedium
Array
Solve →
22Rotating the BoxMedium
ArrayTwo PointersMatrix
Solve →
23Brightest Position on StreetMedium
ArraySortingPrefix Sum
Solve →
24Merge IntervalsMedium
ArraySorting
Solve →
25Number of Flowers in Full BloomHard
ArrayHash TableBinary Search
Solve →
26Largest Rectangle in HistogramHard
ArrayStackMonotonic Stack
Solve →
27Spiral MatrixMedium
ArrayMatrixSimulation
Solve →
28Trapping Rain WaterHard
ArrayTwo PointersDynamic Programming
Solve →
29Design Browser HistoryMedium
ArrayLinked ListStack
Solve →
30Count Number of Nice SubarraysMedium
ArrayHash TableMath
Solve →
31Group the People Given the Group Size They Belong ToMedium
ArrayHash TableGreedy
Solve →
32Longest Common PrefixEasy
ArrayStringTrie
Solve →
33Count the Number of Good SubarraysMedium
ArrayHash TableSliding Window
Solve →
34Length of Longest V-Shaped Diagonal SegmentHard
ArrayDynamic ProgrammingMemoization
Solve →
35Two SumEasy
ArrayHash Table
Solve →
36Magnetic Force Between Two BallsMedium
ArrayBinary SearchSorting
Solve →
37Subdomain Visit CountMedium
ArrayHash TableString
Solve →
38Employee Free TimeHard
ArraySweep LineSorting
Solve →
39Rotting OrangesMedium
ArrayBreadth-First SearchMatrix
Solve →
40Longest Consecutive SequenceMedium
ArrayHash TableUnion-Find
Solve →
41Image SmootherEasy
ArrayMatrix
Solve →
42Insert Delete GetRandom O(1)Medium
ArrayHash TableMath
Solve →
43Restore the Array From Adjacent PairsMedium
ArrayHash TableDepth-First Search
Solve →
44Count Nice Pairs in an ArrayMedium
ArrayHash TableMath
Solve →
45Random Pick with WeightMedium
ArrayMathBinary Search
Solve →
46Sliding Window MaximumHard
ArrayQueueSliding Window
Solve →
47Design Memory AllocatorMedium
ArrayHash TableDesign
Solve →
48Candy CrushMedium
ArrayTwo PointersMatrix
Solve →
49Number of Ways to Wear Different Hats to Each OtherHard
ArrayDynamic ProgrammingBit Manipulation
Solve →
50Text JustificationHard
ArrayStringSimulation
Solve →
51Task SchedulerMedium
ArrayHash TableGreedy
Solve →
52Maximize Distance to Closest PersonMedium
Array
Solve →
53Design Hit CounterMedium
ArrayBinary SearchDesign
Solve →
54Count Number of Nice SubarraysMedium
ArrayHash TableMath
Solve →
55Group the People Given the Group Size They Belong ToMedium
ArrayHash TableGreedy
Solve →
56Rotate ImageMedium
ArrayMathMatrix
Solve →
57Magnetic Force Between Two BallsMedium
ArrayBinary SearchSorting
Solve →
58Subdomain Visit CountMedium
ArrayHash TableString
Solve →
59Minimum Operations to Write the Letter Y on a GridMedium
ArrayHash TableMatrix
Solve →
60Minimum Absolute Difference Between Elements With ConstraintMedium
ArrayBinary SearchOrdered Set
Solve →
61Number of Black BlocksMedium
ArrayHash TableEnumeration
Solve →
62Find the Length of the Longest Common PrefixMedium
ArrayHash TableString
Solve →
63Brightest Position on StreetMedium
ArraySortingPrefix Sum
Solve →
64Block Placement QueriesHard
ArrayBinary SearchBinary Indexed Tree
Solve →
65Subarrays with K Different IntegersHard
ArrayHash TableSliding Window
Solve →
66Number of Adjacent Elements With the Same ColorMedium
Array
Solve →
67Rotating the BoxMedium
ArrayTwo PointersMatrix
Solve →
68Merge IntervalsMedium
ArraySorting
Solve →
69Number of Flowers in Full BloomHard
ArrayHash TableBinary Search
Solve →
70Largest Rectangle in HistogramHard
ArrayStackMonotonic Stack
Solve →
71Spiral MatrixMedium
ArrayMatrixSimulation
Solve →
72Two SumEasy
ArrayHash Table
Solve →
73Trapping Rain WaterHard
ArrayTwo PointersDynamic Programming
Solve →
74Longest Common PrefixEasy
ArrayStringTrie
Solve →
75Design Browser HistoryMedium
ArrayLinked ListStack
Solve →
76Count the Number of Good SubarraysMedium
ArrayHash TableSliding Window
Solve →
77Length of Longest V-Shaped Diagonal SegmentHard
ArrayDynamic ProgrammingMemoization
Solve →
78Employee Free TimeHard
ArraySweep LineSorting
Solve →
79Rotting OrangesMedium
ArrayBreadth-First SearchMatrix
Solve →
80Image SmootherEasy
ArrayMatrix
Solve →
81Longest Consecutive SequenceMedium
ArrayHash TableUnion-Find
Solve →
82Restore the Array From Adjacent PairsMedium
ArrayHash TableDepth-First Search
Solve →
83Count Nice Pairs in an ArrayMedium
ArrayHash TableMath
Solve →
84Insert Delete GetRandom O(1)Medium
ArrayHash TableMath
Solve →
85Random Pick with WeightMedium
ArrayMathBinary Search
Solve →
86Design Memory AllocatorMedium
ArrayHash TableDesign
Solve →
87Sliding Window MaximumHard
ArrayQueueSliding Window
Solve →