E

Expedia

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

Showing 49 of 49 questions

1
MediumFind the Smallest Divisor Given a Thresholdβœ“ Our Solution
100
ArrayBinary Search
2
MediumValid Triangle Numberβœ“ Our Solution
98
ArrayTwo PointersBinary SearchGreedy+1
3
MediumThe kth Factor of nβœ“ Our Solution
98
MathNumber Theory
4
MediumMinimum Swaps to Group All 1's Together
98
ArraySliding Window
5
MediumDivide Players Into Teams of Equal Skillβœ“ Our Solution
95
ArrayHash TableTwo PointersSorting
6
MediumBreak a Palindromeβœ“ Our Solution
95
StringGreedy
7
HardMinimum One Bit Operations to Make Integers Zeroβœ“ Our Solution
95
Dynamic ProgrammingBit ManipulationMemoization
8
EasyMost Visited Sector in a Circular Trackβœ“ Our Solution
95
ArraySimulation
9
MediumNumber of Good Binary Strings
95
Dynamic Programming
10
MediumRearrange Words in a Sentenceβœ“ Our Solution
95
StringSorting
11
MediumString Compressionβœ“ Our Solution
95
Two PointersString
12
HardMinimum Replacements to Sort the Arrayβœ“ Our Solution
95
ArrayMathGreedy
13
MediumUnique Substrings With Equal Digit Frequency
95
Hash TableStringRolling HashCounting+1
14
EasyValid Wordβœ“ Our Solution
95
String
15
MediumThe Earliest Moment When Everyone Become Friends
95
ArrayUnion FindSorting
16
EasyValid Parenthesesβœ“ Our Solution
86
StringStack
17
MediumRemove Duplicate Lettersβœ“ Our Solution
82
StringStackGreedyMonotonic Stack
18
MediumFind the City With the Smallest Number of Neighbors at a Threshold Distanceβœ“ Our Solution
71
Dynamic ProgrammingGraphShortest Path
19
HardTrapping Rain Waterβœ“ Our Solution
71
ArrayTwo PointersDynamic ProgrammingStack+1
20
MediumGroup Anagramsβœ“ Our Solution
71
ArrayHash TableStringSorting
21
MediumLongest Substring Without Repeating Charactersβœ“ Our Solution
71
Hash TableStringSliding Window
22
MediumCapacity To Ship Packages Within D Daysβœ“ Our Solution
71
ArrayBinary Search
23
MediumSet Matrix Zeroesβœ“ Our Solution
71
ArrayHash TableMatrix
24
EasyBest Time to Buy and Sell Stockβœ“ Our Solution
71
ArrayDynamic Programming
25
MediumMinimum Number of Swaps to Make the String Balancedβœ“ Our Solution
71
Two PointersStringStackGreedy
26
MediumHouse Robberβœ“ Our Solution
64
ArrayDynamic Programming
27
MediumJump Game IIβœ“ Our Solution
64
ArrayDynamic ProgrammingGreedy
28
MediumMax Consecutive Ones IIIβœ“ Our Solution
64
ArrayBinary SearchSliding WindowPrefix Sum
29
MediumNumber of Islandsβœ“ Our Solution
64
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
30
EasyRoman to Integerβœ“ Our Solution
64
Hash TableMathString
31
EasyMinimum Number of Chairs in a Waiting Roomβœ“ Our Solution
53
StringSimulation
32
EasyMerge Sorted Arrayβœ“ Our Solution
53
ArrayTwo PointersSorting
33
HardNumber of Visible People in a Queueβœ“ Our Solution
53
ArrayStackMonotonic Stack
34
MediumLongest Increasing Subsequenceβœ“ Our Solution
53
ArrayBinary SearchDynamic Programming
35
EasyReformat Dateβœ“ Our Solution
53
String
36
53
ArrayHash Table
37
MediumKeys and Roomsβœ“ Our Solution
53
Depth-First SearchBreadth-First SearchGraph
38
EasyFind the Index of the First Occurrence in a Stringβœ“ Our Solution
53
Two PointersStringString Matching
39
MediumAdd Two Numbersβœ“ Our Solution
53
Linked ListMathRecursion
40
EasyReverse Linked Listβœ“ Our Solution
53
Linked ListRecursion
41
MediumLRU Cacheβœ“ Our Solution
53
Hash TableLinked ListDesignDoubly-Linked List
42
MediumMerge Intervalsβœ“ Our Solution
53
ArraySorting
43
MediumSubarray Sums Divisible by Kβœ“ Our Solution
53
ArrayHash TablePrefix Sum
44
MediumLeast Number of Unique Integers after K Removalsβœ“ Our Solution
53
ArrayHash TableGreedySorting+1
45
MediumPermutation in Stringβœ“ Our Solution
53
Hash TableTwo PointersStringSliding Window
46
EasyClimbing Stairsβœ“ Our Solution
53
MathDynamic ProgrammingMemoization
47
EasyCount Number of Pairs With Absolute Difference Kβœ“ Our Solution
53
ArrayHash TableCounting
48
MediumRotting Orangesβœ“ Our Solution
53
ArrayBreadth-First SearchMatrix
49
EasyDegree of an Arrayβœ“ Our Solution
53
ArrayHash Table