Interview Prep/Companies/American Express
AE

American Express

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

Showing 23 of 23 questions

1
MediumMinimum Deletions to Make Character Frequencies Uniqueβœ“ Our Solution
100
Hash TableStringGreedySorting
2
HardMaximum Equal Frequencyβœ“ Our Solution
98
ArrayHash Table
3
EasyPercentage of Letter in Stringβœ“ Our Solution
96
String
4
MediumMinimum Number of Operations to Make Array XOR Equal to Kβœ“ Our Solution
96
ArrayBit Manipulation
5
MediumEqual Sum Arrays With Minimum Number of Operationsβœ“ Our Solution
96
ArrayHash TableGreedyCounting
6
HardFind a Value of a Mysterious Function Closest to Targetβœ“ Our Solution
96
ArrayBinary SearchBit ManipulationSegment Tree
7
MediumMaximum XOR After Operationsβœ“ Our Solution
96
ArrayMathBit Manipulation
8
HardDivide an Array Into Subarrays With Minimum Cost IIβœ“ Our Solution
96
ArrayHash TableSliding WindowHeap (Priority Queue)
9
EasyDivide an Array Into Subarrays With Minimum Cost Iβœ“ Our Solution
96
ArraySortingEnumeration
10
MediumMaximize the Topmost Element After K Movesβœ“ Our Solution
96
ArrayGreedy
11
MediumUgly Number IIIβœ“ Our Solution
96
MathBinary SearchCombinatoricsNumber Theory
12
83
ArrayHash Table
13
73
ArrayTwo PointersSorting
14
EasyValid Anagramβœ“ Our Solution
73
Hash TableStringSorting
15
MediumMinimum Fuel Cost to Report to the Capitalβœ“ Our Solution
66
TreeDepth-First SearchBreadth-First SearchGraph
16
EasyAdd Digitsβœ“ Our Solution
66
MathSimulationNumber Theory
17
EasyValid Palindromeβœ“ Our Solution
66
Two PointersString
18
MediumRotate Arrayβœ“ Our Solution
66
ArrayMathTwo Pointers
19
EasyBest Time to Buy and Sell Stockβœ“ Our Solution
66
ArrayDynamic Programming
20
MediumReconstruct a 2-Row Binary Matrixβœ“ Our Solution
56
ArrayGreedyMatrix
21
HardTrapping Rain Waterβœ“ Our Solution
56
ArrayTwo PointersDynamic ProgrammingStack+1
22
MediumLongest Substring Without Repeating Charactersβœ“ Our Solution
56
Hash TableStringSliding Window
23
MediumPermutationsβœ“ Our Solution
56
ArrayBacktracking