CO

Capital One

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

Showing 47 of 47 questions

1
MediumSimple Bank Systemβœ“ Our Solution
100
ArrayHash TableDesignSimulation
2
MediumSpiral Matrixβœ“ Our Solution
93
ArrayMatrixSimulation
3
HardBlock Placement Queriesβœ“ Our Solution
92
ArrayBinary SearchBinary Indexed TreeSegment Tree
4
HardText Justificationβœ“ Our Solution
83
ArrayStringSimulation
5
MediumMinimum Operations to Write the Letter Y on a Gridβœ“ Our Solution
82
ArrayHash TableMatrixCounting
6
MediumCandy Crush
75
ArrayTwo PointersMatrixSimulation
7
MediumCount Alternating Subarraysβœ“ Our Solution
75
ArrayMath
8
MediumRotate Imageβœ“ Our Solution
73
ArrayMathMatrix
9
MediumFour Divisorsβœ“ Our Solution
73
ArrayMath
10
MediumSimplify Pathβœ“ Our Solution
71
StringStack
11
EasyCount Operations to Obtain Zeroβœ“ Our Solution
71
MathSimulation
12
MediumLongest Continuous Subarray With Absolute Diff Less Than or Equal to Limitβœ“ Our Solution
69
ArrayQueueSliding WindowHeap (Priority Queue)+2
13
HardSplit Message Based on Limitβœ“ Our Solution
69
StringBinary SearchEnumeration
14
MediumRotating the Boxβœ“ Our Solution
66
ArrayTwo PointersMatrix
15
MediumNumber of Black Blocksβœ“ Our Solution
63
ArrayHash TableEnumeration
16
EasyBest Time to Buy and Sell Stockβœ“ Our Solution
59
ArrayDynamic Programming
17
HardNumber of Flowers in Full Bloomβœ“ Our Solution
59
ArrayHash TableBinary SearchSorting+2
18
MediumFind the Length of the Longest Common Prefixβœ“ Our Solution
59
ArrayHash TableStringTrie
19
HardCount Prefix and Suffix Pairs IIβœ“ Our Solution
59
ArrayStringTrieRolling Hash+2
20
HardRemove Boxesβœ“ Our Solution
59
ArrayDynamic ProgrammingMemoization
21
HardLargest Rectangle in Histogramβœ“ Our Solution
59
ArrayStackMonotonic Stack
22
MediumCoin Changeβœ“ Our Solution
55
ArrayDynamic ProgrammingBreadth-First Search
23
MediumDesign File System
55
Hash TableStringDesignTrie
24
MediumWord Searchβœ“ Our Solution
55
ArrayStringBacktrackingDepth-First Search+1
25
MediumNumber of Subarrays That Match a Pattern Iβœ“ Our Solution
55
ArrayRolling HashString MatchingHash Function
26
EasyPalindrome Numberβœ“ Our Solution
55
Math
27
EasyAdd Stringsβœ“ Our Solution
49
MathStringSimulation
28
MediumMerge Intervalsβœ“ Our Solution
49
ArraySorting
29
MediumNumber of Islandsβœ“ Our Solution
49
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
30
MediumAdd Two Numbersβœ“ Our Solution
49
Linked ListMathRecursion
31
EasyBinary Tree Pathsβœ“ Our Solution
49
StringBacktrackingTreeDepth-First Search+1
32
MediumNon-overlapping Intervalsβœ“ Our Solution
49
ArrayDynamic ProgrammingGreedySorting
33
HardWord Search IIβœ“ Our Solution
49
ArrayStringBacktrackingTrie+1
34
MediumMeeting Rooms II
41
ArrayTwo PointersGreedySorting+2
35
MediumRotate Arrayβœ“ Our Solution
41
ArrayMathTwo Pointers
36
MediumMinimum Absolute Difference Between Elements With Constraintβœ“ Our Solution
41
ArrayBinary SearchOrdered Set
37
HardReverse Nodes in k-Groupβœ“ Our Solution
41
Linked ListRecursion
38
MediumK-diff Pairs in an Arrayβœ“ Our Solution
41
ArrayHash TableTwo PointersBinary Search+1
39
MediumNumber of Adjacent Elements With the Same Colorβœ“ Our Solution
41
Array
40
MediumBest Time to Buy and Sell Stock IIβœ“ Our Solution
41
ArrayDynamic ProgrammingGreedy
41
EasyCount Prefix and Suffix Pairs Iβœ“ Our Solution
41
ArrayStringTrieRolling Hash+2
42
EasyValid Parenthesesβœ“ Our Solution
41
StringStack
43
EasyMerge Two Sorted Listsβœ“ Our Solution
41
Linked ListRecursion
44
MediumGet Biggest Three Rhombus Sums in a Gridβœ“ Our Solution
41
ArrayMathSortingHeap (Priority Queue)+2
45
EasyRoman to Integerβœ“ Our Solution
41
Hash TableMathString
46
HardFind Servers That Handled Most Number of Requestsβœ“ Our Solution
41
ArrayGreedyHeap (Priority Queue)Ordered Set
47
MediumLRU Cacheβœ“ Our Solution
41
Hash TableLinked ListDesignDoubly-Linked List