LeetCode The Hard Way

Capgemini

33 problems

ProblemDifficultyFrequency Topics
1. Two SumEasy100%
ArrayHash Table
3498. Reverse Degree of a StringEasy89.2%
StringSimulation
Number of Unique Subjects Taught by Each TeacherEasy84%
Database
283. Move ZeroesEasy73.2%
ArrayTwo Pointers
Remove Duplicates from Sorted ArrayEasy68.1%
ArrayTwo Pointers
14. Longest Common PrefixEasy68.1%
ArrayStringTrie
242. Valid AnagramEasy68.1%
Hash TableStringSorting
3. Longest Substring Without Repeating CharactersMedium68.1%
Hash TableStringSliding Window
217. Contains DuplicateEasy68.1%
ArrayHash TableSorting
121. Best Time to Buy and Sell StockEasy61.5%
ArrayDynamic Programming
Rotate ArrayMedium61.5%
ArrayMathTwo Pointers
4. Median of Two Sorted ArraysHard61.5%
ArrayBinary SearchDivide and Conquer
560. Subarray Sum Equals KMedium61.5%
ArrayHash TablePrefix Sum
34. Find First and Last Position of Element in Sorted ArrayMedium61.5%
ArrayBinary Search
21. Merge Two Sorted ListsEasy61.5%
Linked ListRecursion
28. Find the Index of the First Occurrence in a StringEasy61.5%
Two PointersStringString MatchingZ AlgorithmKnuth–Morris–Pratt AlgorithmBoyer–Moore String-Search Algorithm
4SumMedium61.5%
ArrayTwo PointersSorting
2. Add Two NumbersMedium52.2%
Linked ListMathRecursion
9. Palindrome NumberEasy52.2%
Math
42. Trapping Rain WaterHard52.2%
ArrayTwo PointersDynamic ProgrammingStackMonotonic Stack
75. Sort ColorsMedium52.2%
ArrayTwo PointersSortingQuicksortBubble Sort
7. Reverse IntegerMedium52.2%
Math
11. Container With Most WaterMedium52.2%
ArrayTwo PointersGreedy
13. Roman to IntegerEasy52.2%
Hash TableMathString
Second Highest SalaryMedium52.2%
Database
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee