G

Geico

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

Showing 20 of 20 questions

1
MediumMaximum Number of Potholes That Can Be Fixed
100
StringGreedySorting
2
MediumLargest Palindromic Numberβœ“ Our Solution
100
Hash TableStringGreedyCounting
3
MediumNumber of Steps to Reduce a Number in Binary Representation to Oneβœ“ Our Solution
89
StringBit ManipulationSimulation
4
MediumInteger to Romanβœ“ Our Solution
89
Hash TableMathString
5
MediumValid Sudokuβœ“ Our Solution
82
ArrayHash TableMatrix
6
MediumCoin Changeβœ“ Our Solution
82
ArrayDynamic ProgrammingBreadth-First Search
7
MediumBest Time to Buy and Sell Stock with Cooldownβœ“ Our Solution
82
ArrayDynamic Programming
8
HardFirst Missing Positiveβœ“ Our Solution
76
ArrayHash Table
9
MediumNumber of Spaces Cleaning Robot Cleaned
76
ArrayMatrixSimulation
10
MediumPath with Maximum Goldβœ“ Our Solution
70
ArrayBacktrackingMatrix
11
MediumLongest Happy Stringβœ“ Our Solution
70
StringGreedyHeap (Priority Queue)
12
MediumBoundary of Binary Tree
70
TreeDepth-First SearchBinary Tree
13
MediumMinimum Number of Food Buckets to Feed the Hamstersβœ“ Our Solution
70
StringDynamic ProgrammingGreedy
14
HardCount of Smaller Numbers After Selfβœ“ Our Solution
60
ArrayBinary SearchDivide and ConquerBinary Indexed Tree+3
15
MediumDecode Stringβœ“ Our Solution
60
StringStackRecursion
16
EasyRoman to Integerβœ“ Our Solution
60
Hash TableMathString
17
MediumMinimum Moves to Spread Stones Over Gridβœ“ Our Solution
60
ArrayDynamic ProgrammingBreadth-First SearchMatrix
18
MediumBest Time to Buy and Sell Stock IIβœ“ Our Solution
60
ArrayDynamic ProgrammingGreedy
19
MediumCinema Seat Allocationβœ“ Our Solution
60
ArrayHash TableGreedyBit Manipulation
20
EasyRemove All Adjacent Duplicates In Stringβœ“ Our Solution
60
StringStack