R

Rubrik

36 questions tracked30 with solutions
πŸ”
Frequency scoreSorted highest β†’ lowest frequencyβœ“ Our Solution = we have a detailed walkthrough

Showing 36 of 36 questions

1
MediumMaximum Points After Enemy Battlesβœ“ Our Solution
100
ArrayGreedy
2
HardStamping the Gridβœ“ Our Solution
68
ArrayGreedyMatrixPrefix Sum
3
MediumAlice and Bob Playing Flower Gameβœ“ Our Solution
63
Math
4
MediumLRU Cacheβœ“ Our Solution
63
Hash TableLinked ListDesignDoubly-Linked List
5
MediumCount Lattice Points Inside a Circleβœ“ Our Solution
63
ArrayHash TableMathGeometry+1
6
MediumCandy Crush
63
ArrayTwo PointersMatrixSimulation
7
MediumRandom Pick with Weightβœ“ Our Solution
63
ArrayMathBinary SearchPrefix Sum+1
8
HardDistribute Candies Among Children III
61
MathCombinatorics
9
MediumDistribute Candies Among Children IIβœ“ Our Solution
61
MathCombinatoricsEnumeration
10
EasyDistribute Candies Among Children Iβœ“ Our Solution
61
MathCombinatoricsEnumeration
11
MediumFind X Value of Array Iβœ“ Our Solution
61
ArrayMathDynamic Programming
12
MediumFind Longest Special Substring That Occurs Thrice IIβœ“ Our Solution
61
Hash TableStringBinary SearchSliding Window+1
13
HardFind the Sum of Subsequence Powersβœ“ Our Solution
61
ArrayDynamic ProgrammingSorting
14
EasyExistence of a Substring in a String and Its Reverseβœ“ Our Solution
61
Hash TableString
15
HardMaximize Subarray Sum After Removing All Occurrences of One Elementβœ“ Our Solution
61
ArrayDynamic ProgrammingSegment Tree
16
HardFind X Value of Array II
61
ArrayMathSegment Tree
17
HardManhattan Distances of All Arrangements of Piecesβœ“ Our Solution
61
MathCombinatorics
18
MediumInsert Delete GetRandom O(1)βœ“ Our Solution
52
ArrayHash TableMathDesign+1
19
MediumSnapshot Arrayβœ“ Our Solution
49
ArrayHash TableBinary SearchDesign
20
HardScramble Stringβœ“ Our Solution
49
StringDynamic Programming
21
MediumNext Permutationβœ“ Our Solution
49
ArrayTwo Pointers
22
MediumWeb Crawler Multithreaded
49
Depth-First SearchBreadth-First SearchConcurrency
23
MediumDesign Add and Search Words Data Structureβœ“ Our Solution
46
StringDepth-First SearchDesignTrie
24
HardDesign a Text Editorβœ“ Our Solution
41
Linked ListStringStackDesign+2
25
MediumWeb Crawler
41
StringDepth-First SearchBreadth-First SearchInteractive
26
MediumTask Schedulerβœ“ Our Solution
41
ArrayHash TableGreedySorting+2
27
MediumEdit Distanceβœ“ Our Solution
41
StringDynamic Programming
28
HardSliding Window Maximumβœ“ Our Solution
41
ArrayQueueSliding WindowHeap (Priority Queue)+1
29
MediumBuilding H2Oβœ“ Our Solution
34
Concurrency
30
34
ArrayTwo PointersSorting
31
HardPrefix and Suffix Searchβœ“ Our Solution
34
ArrayHash TableStringDesign+1
32
HardRemove Invalid Parenthesesβœ“ Our Solution
34
StringBacktrackingBreadth-First Search
33
HardCherry Pickup IIβœ“ Our Solution
34
ArrayDynamic ProgrammingMatrix
34
HardMinimum Number of Refueling Stopsβœ“ Our Solution
34
ArrayDynamic ProgrammingGreedyHeap (Priority Queue)
35
MediumDesign Bounded Blocking Queue
34
Concurrency
36
MediumDesign Memory Allocatorβœ“ Our Solution
34
ArrayHash TableDesignSimulation