A

Agoda

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

Showing 40 of 40 questions

1
100
ArrayTwo PointersSorting
2
EasyFind the Child Who Has the Ball After K Secondsβœ“ Our Solution
96
MathSimulation
3
EasyBest Time to Buy and Sell Stockβœ“ Our Solution
96
ArrayDynamic Programming
4
MediumCapacity To Ship Packages Within D Daysβœ“ Our Solution
93
ArrayBinary Search
5
MediumLongest Substring Without Repeating Charactersβœ“ Our Solution
90
Hash TableStringSliding Window
6
MediumUnique Paths IIβœ“ Our Solution
83
ArrayDynamic ProgrammingMatrix
7
EasyMinimum Absolute Differenceβœ“ Our Solution
83
ArraySorting
8
MediumDaily Temperaturesβœ“ Our Solution
83
ArrayStackMonotonic Stack
9
MediumHouse Robberβœ“ Our Solution
73
ArrayDynamic Programming
10
HardMinimum Window Substringβœ“ Our Solution
66
Hash TableStringSliding Window
11
MediumCoin Changeβœ“ Our Solution
66
ArrayDynamic ProgrammingBreadth-First Search
12
MediumTriangleβœ“ Our Solution
66
ArrayDynamic Programming
13
EasyBackspace String Compareβœ“ Our Solution
66
Two PointersStringStackSimulation
14
MediumBrick Wallβœ“ Our Solution
66
ArrayHash Table
15
EasyFind Pivot Indexβœ“ Our Solution
66
ArrayPrefix Sum
16
MediumInteger to Romanβœ“ Our Solution
66
Hash TableMathString
17
56
ArrayHash Table
18
MediumInsert Delete GetRandom O(1)βœ“ Our Solution
56
ArrayHash TableMathDesign+1
19
MediumSubarray Product Less Than Kβœ“ Our Solution
56
ArrayBinary SearchSliding WindowPrefix Sum
20
EasyMerge Sorted Arrayβœ“ Our Solution
56
ArrayTwo PointersSorting
21
MediumMerge Intervalsβœ“ Our Solution
56
ArraySorting
22
MediumBest Time to Buy and Sell Stock IIβœ“ Our Solution
56
ArrayDynamic ProgrammingGreedy
23
EasySquares of a Sorted Arrayβœ“ Our Solution
56
ArrayTwo PointersSorting
24
MediumFind the Smallest Divisor Given a Thresholdβœ“ Our Solution
56
ArrayBinary Search
25
EasyNext Greater Element Iβœ“ Our Solution
56
ArrayHash TableStackMonotonic Stack
26
MediumReverse Substrings Between Each Pair of Parenthesesβœ“ Our Solution
56
StringStack
27
MediumPermutation in Stringβœ“ Our Solution
56
Hash TableTwo PointersStringSliding Window
28
MediumLongest Palindromic Substringβœ“ Our Solution
56
Two PointersStringDynamic Programming
29
MediumDecode Stringβœ“ Our Solution
56
StringStackRecursion
30
MediumLexicographically Smallest String After Substring Operationβœ“ Our Solution
56
StringGreedy
31
MediumJump Game IIβœ“ Our Solution
56
ArrayDynamic ProgrammingGreedy
32
EasyMove Zeroesβœ“ Our Solution
56
ArrayTwo Pointers
33
EasySort Array by Increasing Frequencyβœ“ Our Solution
56
ArrayHash TableSorting
34
EasyCan Place Flowersβœ“ Our Solution
56
ArrayGreedy
35
HardFind Median from Data Streamβœ“ Our Solution
56
Two PointersDesignSortingHeap (Priority Queue)+1
36
MediumKth Smallest Element in a BSTβœ“ Our Solution
56
TreeDepth-First SearchBinary Search TreeBinary Tree
37
56
ArrayMath
38
MediumGroup Anagramsβœ“ Our Solution
56
ArrayHash TableStringSorting
39
EasyValid Parenthesesβœ“ Our Solution
56
StringStack
40
MediumEliminate Maximum Number of Monstersβœ“ Our Solution
56
ArrayGreedySorting