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