Y

Yandex

100 questions tracked94 with solutions
🔍
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough

Showing 100 of 100 questions

1
MediumLongest Subarray of 1's After Deleting One Element✓ Our Solution
100
ArrayDynamic ProgrammingSliding Window
LeetCode ↗69% acc.
2
EasySummary Ranges✓ Our Solution
95
Array
LeetCode ↗53% acc.
3
MediumString Compression✓ Our Solution
89
Two PointersString
LeetCode ↗58% acc.
4
MediumFind K Closest Elements✓ Our Solution
88
ArrayTwo PointersBinary SearchSliding Window+2
LeetCode ↗49% acc.
5
EasyIsomorphic Strings✓ Our Solution
84
Hash TableString
LeetCode ↗47% acc.
6
MediumSubarray Sum Equals K✓ Our Solution
82
ArrayHash TablePrefix Sum
LeetCode ↗45% acc.
7
MediumPermutation in String✓ Our Solution
82
Hash TableTwo PointersStringSliding Window
LeetCode ↗47% acc.
8
MediumInsert Delete GetRandom O(1)✓ Our Solution
81
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
9
EasyValid Palindrome✓ Our Solution
81
Two PointersString
LeetCode ↗51% acc.
10
EasyMove Zeroes✓ Our Solution
81
ArrayTwo Pointers
LeetCode ↗63% acc.
11
MediumLine Reflection
80
ArrayHash TableMath
LeetCode ↗36% acc.
12
MediumLongest Substring Without Repeating Characters✓ Our Solution
80
Hash TableStringSliding Window
LeetCode ↗37% acc.
13
MediumMerge Intervals✓ Our Solution
78
ArraySorting
LeetCode ↗49% acc.
14
MediumGroup Anagrams✓ Our Solution
77
ArrayHash TableStringSorting
LeetCode ↗71% acc.
15
EasyTwo Sum✓ Our Solution
75
ArrayHash Table
LeetCode ↗56% acc.
16
MediumNumber of Islands✓ Our Solution
74
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
17
EasyValid Parentheses✓ Our Solution
73
StringStack
LeetCode ↗42% acc.
18
MediumOne Edit Distance
73
Two PointersString
LeetCode ↗34% acc.
19
EasyValid Palindrome II✓ Our Solution
72
Two PointersStringGreedy
LeetCode ↗43% acc.
20
MediumInterval List Intersections✓ Our Solution
70
ArrayTwo PointersLine Sweep
LeetCode ↗73% acc.
21
HardTrapping Rain Water✓ Our Solution
67
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
22
MediumFind All Anagrams in a String✓ Our Solution
65
Hash TableStringSliding Window
LeetCode ↗52% acc.
23
MediumMin Stack✓ Our Solution
65
StackDesign
LeetCode ↗56% acc.
24
MediumLongest Palindromic Substring✓ Our Solution
65
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
25
EasyMerge Sorted Array✓ Our Solution
64
ArrayTwo PointersSorting
LeetCode ↗53% acc.
26
MediumDesign an ATM Machine✓ Our Solution
62
ArrayGreedyDesign
LeetCode ↗42% acc.
27
MediumGenerate Parentheses✓ Our Solution
62
StringDynamic ProgrammingBacktracking
LeetCode ↗77% acc.
28
MediumDesign Hit Counter
60
ArrayBinary SearchDesignQueue+1
LeetCode ↗69% acc.
29
MediumLRU Cache✓ Our Solution
58
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
30
MediumEvaluate Reverse Polish Notation✓ Our Solution
58
ArrayMathStack
LeetCode ↗55% acc.
31
EasyIs Subsequence✓ Our Solution
58
Two PointersStringDynamic Programming
LeetCode ↗48% acc.
32
MediumValidate Binary Search Tree✓ Our Solution
57
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗34% acc.
33
EasyMerge Two Sorted Lists✓ Our Solution
57
Linked ListRecursion
LeetCode ↗67% acc.
34
MediumLongest Substring with At Most K Distinct Characters
57
Hash TableStringSliding Window
LeetCode ↗49% acc.
35
HardMinimum Window Substring✓ Our Solution
55
Hash TableStringSliding Window
LeetCode ↗45% acc.
36
MediumBinary Tree Right Side View✓ Our Solution
55
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗67% acc.
37
EasyBest Time to Buy and Sell Stock✓ Our Solution
55
ArrayDynamic Programming
LeetCode ↗55% acc.
38
EasyDestination City✓ Our Solution
55
ArrayHash TableString
LeetCode ↗79% acc.
39
HardReconstruct Itinerary✓ Our Solution
53
Depth-First SearchGraphEulerian Circuit
LeetCode ↗44% acc.
40
MediumLowest Common Ancestor of a Binary Tree✓ Our Solution
53
TreeDepth-First SearchBinary Tree
LeetCode ↗67% acc.
41
MediumMax Consecutive Ones III✓ Our Solution
53
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗66% acc.
42
MediumSimplify Path✓ Our Solution
53
StringStack
LeetCode ↗48% acc.
43
HardMerge k Sorted Lists✓ Our Solution
53
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
44
MediumFind Duplicate Subtrees✓ Our Solution
53
Hash TableTreeDepth-First SearchBinary Tree
LeetCode ↗60% acc.
45
HardMedian of Two Sorted Arrays✓ Our Solution
51
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
46
EasyIntersection of Two Arrays II✓ Our Solution
51
ArrayHash TableTwo PointersBinary Search+1
LeetCode ↗59% acc.
47
HardBinary Tree Maximum Path Sum✓ Our Solution
51
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗41% acc.
48
MediumSearch in Rotated Sorted Array✓ Our Solution
51
ArrayBinary Search
LeetCode ↗43% acc.
49
EasySymmetric Tree✓ Our Solution
51
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗59% acc.
50
MediumContainer With Most Water✓ Our Solution
46
ArrayTwo PointersGreedy
LeetCode ↗58% acc.
51
MediumMax Consecutive Ones II
44
ArrayDynamic ProgrammingSliding Window
LeetCode ↗52% acc.
52
EasyMax Consecutive Ones✓ Our Solution
44
Array
LeetCode ↗62% acc.
53
MediumProduct of Array Except Self✓ Our Solution
44
ArrayPrefix Sum
LeetCode ↗68% acc.
54
MediumAdd Two Numbers✓ Our Solution
44
Linked ListMathRecursion
LeetCode ↗46% acc.
55
EasySingle Number✓ Our Solution
44
ArrayBit Manipulation
LeetCode ↗76% acc.
56
44
ArrayGreedy
LeetCode ↗47% acc.
57
EasyRemove Element✓ Our Solution
44
ArrayTwo Pointers
LeetCode ↗60% acc.
58
MediumLongest Increasing Subsequence✓ Our Solution
40
ArrayBinary SearchDynamic Programming
LeetCode ↗58% acc.
59
MediumLongest Repeating Character Replacement✓ Our Solution
40
Hash TableStringSliding Window
LeetCode ↗57% acc.
60
MediumLongest Substring with At Least K Repeating Characters✓ Our Solution
40
Hash TableStringDivide and ConquerSliding Window
LeetCode ↗45% acc.
61
EasyIntersection of Two Arrays✓ Our Solution
40
ArrayHash TableTwo PointersBinary Search+1
LeetCode ↗76% acc.
62
MediumPerfect Squares✓ Our Solution
40
MathDynamic ProgrammingBreadth-First Search
LeetCode ↗56% acc.
63
MediumFind Minimum in Rotated Sorted Array✓ Our Solution
40
ArrayBinary Search
LeetCode ↗53% acc.
64
EasyValid Anagram✓ Our Solution
40
Hash TableStringSorting
LeetCode ↗67% acc.
65
MediumLowest Common Ancestor of a Binary Search Tree✓ Our Solution
40
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗68% acc.
66
MediumContinuous Subarray Sum✓ Our Solution
40
ArrayHash TableMathPrefix Sum
LeetCode ↗31% acc.
67
MediumMeeting Rooms II
36
ArrayTwo PointersGreedySorting+2
LeetCode ↗52% acc.
68
MediumBinary Tree Zigzag Level Order Traversal✓ Our Solution
36
TreeBreadth-First SearchBinary Tree
LeetCode ↗62% acc.
69
MediumKth Largest Element in an Array✓ Our Solution
36
ArrayDivide and ConquerSortingHeap (Priority Queue)+1
LeetCode ↗68% acc.
70
EasyBalanced Binary Tree✓ Our Solution
36
TreeDepth-First SearchBinary Tree
LeetCode ↗55% acc.
71
EasyPalindrome Number✓ Our Solution
36
Math
LeetCode ↗59% acc.
72
MediumBest Time to Buy and Sell Stock II✓ Our Solution
36
ArrayDynamic ProgrammingGreedy
LeetCode ↗70% acc.
73
MediumReverse Integer✓ Our Solution
36
Math
LeetCode ↗30% acc.
74
MediumTwo Sum II - Input Array Is Sorted✓ Our Solution
36
ArrayTwo PointersBinary Search
LeetCode ↗63% acc.
75
EasyFirst Unique Character in a String✓ Our Solution
36
Hash TableStringQueueCounting
LeetCode ↗64% acc.
76
EasyCan Place Flowers✓ Our Solution
31
ArrayGreedy
LeetCode ↗29% acc.
77
EasyReverse Words in a String III✓ Our Solution
31
Two PointersString
LeetCode ↗84% acc.
78
MediumTop K Frequent Words✓ Our Solution
31
ArrayHash TableStringTrie+4
LeetCode ↗59% acc.
79
MediumFlatten Nested List Iterator✓ Our Solution
31
StackTreeDepth-First SearchDesign+2
LeetCode ↗65% acc.
80
MediumSort the Matrix Diagonally✓ Our Solution
31
ArraySortingMatrix
LeetCode ↗83% acc.
81
EasyContains Duplicate✓ Our Solution
31
ArrayHash TableSorting
LeetCode ↗63% acc.
82
EasyReverse Linked List✓ Our Solution
31
Linked ListRecursion
LeetCode ↗79% acc.
83
MediumTop K Frequent Elements✓ Our Solution
31
ArrayHash TableDivide and ConquerSorting+4
LeetCode ↗65% acc.
84
MediumRemove Duplicates from Sorted Array II✓ Our Solution
31
ArrayTwo Pointers
LeetCode ↗63% acc.
85
EasyFind the Difference of Two Arrays✓ Our Solution
23
ArrayHash Table
LeetCode ↗81% acc.
86
MediumSearch a 2D Matrix✓ Our Solution
23
ArrayBinary SearchMatrix
LeetCode ↗52% acc.
87
23
ArrayTwo PointersSorting
LeetCode ↗37% acc.
88
EasyFind the Index of the First Occurrence in a String✓ Our Solution
23
Two PointersStringString Matching
LeetCode ↗45% acc.
89
EasyRobot Return to Origin✓ Our Solution
23
StringSimulation
LeetCode ↗76% acc.
90
MediumRotate Image✓ Our Solution
23
ArrayMathMatrix
LeetCode ↗78% acc.
91
EasyClimbing Stairs✓ Our Solution
23
MathDynamic ProgrammingMemoization
LeetCode ↗54% acc.
92
EasyPath Crossing✓ Our Solution
23
Hash TableString
LeetCode ↗63% acc.
93
MediumLongest Consecutive Sequence✓ Our Solution
23
ArrayHash TableUnion Find
LeetCode ↗47% acc.
94
EasyMaximum Depth of Binary Tree✓ Our Solution
23
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗77% acc.
95
EasyMajority Element✓ Our Solution
23
ArrayHash TableDivide and ConquerSorting+1
LeetCode ↗66% acc.
96
HardContains Duplicate III✓ Our Solution
23
ArraySliding WindowSortingBucket Sort+1
LeetCode ↗24% acc.
97
EasyPalindrome Linked List✓ Our Solution
23
Linked ListTwo PointersStackRecursion
LeetCode ↗56% acc.
98
MediumNon-overlapping Intervals✓ Our Solution
23
ArrayDynamic ProgrammingGreedySorting
LeetCode ↗56% acc.
99
HardPalindrome Pairs✓ Our Solution
23
ArrayHash TableStringTrie
LeetCode ↗36% acc.
100
MediumMinimum Size Subarray Sum✓ Our Solution
23
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗49% acc.