LeetCode The Hard Way

Bloomberg

1239 problems

ProblemDifficultyFrequency Topics
3737. Count Subarrays With Majority Element IMedium8.3%
ArrayHash TableDivide and ConquerSegment TreeMerge SortCountingPrefix Sum
1793. Maximum Score of a Good SubarrayHard8.3%
ArrayTwo PointersBinary SearchStackMonotonic StackCartesian Tree
1967. Number of Strings That Appear as Substrings in WordEasy8.3%
ArrayString
2306. Naming a CompanyHard8.3%
ArrayHash TableStringBit ManipulationEnumeration
1846. Maximum Element After Decreasing and RearrangingMedium8.3%
ArrayGreedySorting
Base 7Easy8.3%
MathString
2466. Count Ways To Build Good StringsMedium8.3%
Dynamic Programming
2812. Find the Safest Path in a GridMedium8.3%
ArrayBinary SearchBreadth-First SearchUnion-FindHeap (Priority Queue)Matrix
2350. Shortest Impossible Sequence of RollsHard8.3%
ArrayHash TableGreedy
3016. Minimum Number of Pushes to Type Word IIMedium8.3%
Hash TableStringGreedySortingCounting
3620. Network Recovery PathwaysHard8.3%
ArrayBinary SearchDynamic ProgrammingGraph TheoryTopological SortHeap (Priority Queue)Shortest Path
2456. Most Popular Video CreatorMedium8.3%
ArrayHash TableStringSortingHeap (Priority Queue)
3756. Concatenate Non-Zero Digits and Multiply by Sum IIMedium8.3%
MathStringPrefix Sum
3534. Path Existence Queries in a Graph IIHard8.3%
ArrayTwo PointersBinary SearchDynamic ProgrammingGreedyBit ManipulationGraph TheorySorting
1483. Kth Ancestor of a Tree NodeHard8.3%
Binary SearchDynamic ProgrammingBit ManipulationTreeDepth-First SearchBreadth-First SearchDesignBinary Lifting
1343. Number of Sub-arrays of Size K and Average Greater than or Equal to ThresholdMedium8.3%
ArraySliding Window
3312. Sorted GCD Pair QueriesHard8.3%
ArrayHash TableMathBinary SearchCombinatoricsCountingNumber TheoryPrefix SumEuclidean AlgorithmGreatest Common Divisor
834. Sum of Distances in TreeHard8.3%
Dynamic ProgrammingTreeDepth-First SearchGraph TheoryDP on Trees
Maximum Binary TreeMedium8.3%
ArrayDivide and ConquerStackTreeMonotonic StackBinary TreeCartesian Tree
3499. Maximize Active Section with Trade IMedium8.3%
StringEnumeration
3501. Maximize Active Section with Trade IIHard8.3%
ArrayStringBinary SearchSegment Tree
872. Leaf-Similar TreesEasy8.3%
TreeDepth-First SearchBinary Tree
3514. Number of Unique XOR Triplets IIMedium8.3%
ArrayMathBit ManipulationEnumeration
2602. Minimum Operations to Make All Array Elements EqualMedium8.3%
ArrayBinary SearchSortingPrefix Sum
778. Swim in Rising WaterHard8.3%
ArrayBinary SearchDepth-First SearchBreadth-First SearchUnion-FindMinimaxHeap (Priority Queue)MatrixDijkstra's Algorithm
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee