B

ByteDance

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

Showing 64 of 64 questions

1
MediumLRU Cache✓ Our Solution
100
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
2
MediumSmallest Subsequence of Distinct Characters✓ Our Solution
90
StringStackGreedyMonotonic Stack
LeetCode ↗62% acc.
3
MediumRemove Duplicate Letters✓ Our Solution
87
StringStackGreedyMonotonic Stack
LeetCode ↗51% acc.
4
MediumFirst Day Where You Have Been in All the Rooms✓ Our Solution
87
ArrayDynamic Programming
LeetCode ↗40% acc.
5
MediumNumber of Islands✓ Our Solution
85
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
6
MediumCourse Schedule✓ Our Solution
79
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗49% acc.
7
MediumLongest Substring Without Repeating Characters✓ Our Solution
75
Hash TableStringSliding Window
LeetCode ↗37% acc.
8
MediumCombination Sum✓ Our Solution
75
ArrayBacktracking
LeetCode ↗75% acc.
9
MediumBasic Calculator II✓ Our Solution
71
MathStringStack
LeetCode ↗46% acc.
10
MediumKth Largest Element in an Array✓ Our Solution
71
ArrayDivide and ConquerSortingHeap (Priority Queue)+1
LeetCode ↗68% acc.
11
HardRegular Expression Matching✓ Our Solution
71
StringDynamic ProgrammingRecursion
LeetCode ↗29% acc.
12
EasyTwo Sum✓ Our Solution
65
ArrayHash Table
LeetCode ↗56% acc.
13
HardShortest Distance from All Buildings
65
ArrayBreadth-First SearchMatrix
LeetCode ↗44% acc.
14
MediumHouse Robber II✓ Our Solution
65
ArrayDynamic Programming
LeetCode ↗44% acc.
15
MediumHouse Robber✓ Our Solution
65
ArrayDynamic Programming
LeetCode ↗52% acc.
16
MediumLongest Consecutive Sequence✓ Our Solution
65
ArrayHash TableUnion Find
LeetCode ↗47% acc.
17
MediumMerge Intervals✓ Our Solution
65
ArraySorting
LeetCode ↗49% acc.
18
HardTrapping Rain Water✓ Our Solution
65
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
19
MediumSearch in Rotated Sorted Array✓ Our Solution
65
ArrayBinary Search
LeetCode ↗43% acc.
20
MediumLongest Common Subsequence✓ Our Solution
58
StringDynamic Programming
LeetCode ↗58% acc.
21
MediumRotting Oranges✓ Our Solution
58
ArrayBreadth-First SearchMatrix
LeetCode ↗57% acc.
22
EasyBest Time to Buy and Sell Stock✓ Our Solution
58
ArrayDynamic Programming
LeetCode ↗55% acc.
23
MediumTop K Frequent Elements✓ Our Solution
58
ArrayHash TableDivide and ConquerSorting+4
LeetCode ↗65% acc.
24
MediumAdd Two Numbers✓ Our Solution
58
Linked ListMathRecursion
LeetCode ↗46% acc.
25
MediumMaximal Square✓ Our Solution
58
ArrayDynamic ProgrammingMatrix
LeetCode ↗49% acc.
26
MediumCombination Sum II✓ Our Solution
58
ArrayBacktracking
LeetCode ↗58% acc.
27
HardBasic Calculator✓ Our Solution
58
MathStringStackRecursion
LeetCode ↗46% acc.
28
MediumInsert Delete GetRandom O(1)✓ Our Solution
58
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
29
MediumSubarray Sum Equals K✓ Our Solution
58
ArrayHash TablePrefix Sum
LeetCode ↗45% acc.
30
MediumSum Game✓ Our Solution
58
MathStringGreedyGame Theory
LeetCode ↗48% acc.
31
MediumNumber of Good Leaf Nodes Pairs✓ Our Solution
58
TreeDepth-First SearchBinary Tree
LeetCode ↗72% acc.
32
MediumSort List✓ Our Solution
58
Linked ListTwo PointersDivide and ConquerSorting+1
LeetCode ↗62% acc.
33
MediumDelete Operation for Two Strings✓ Our Solution
58
StringDynamic Programming
LeetCode ↗64% acc.
34
MediumOpen the Lock✓ Our Solution
49
ArrayHash TableStringBreadth-First Search
LeetCode ↗61% acc.
35
MediumContainer With Most Water✓ Our Solution
49
ArrayTwo PointersGreedy
LeetCode ↗58% acc.
36
MediumBinary Tree Zigzag Level Order Traversal✓ Our Solution
49
TreeBreadth-First SearchBinary Tree
LeetCode ↗62% acc.
37
HardTrapping Rain Water II✓ Our Solution
49
ArrayBreadth-First SearchHeap (Priority Queue)Matrix
LeetCode ↗59% acc.
38
MediumPow(x, n)✓ Our Solution
49
MathRecursion
LeetCode ↗37% acc.
39
MediumNext Permutation✓ Our Solution
49
ArrayTwo Pointers
LeetCode ↗43% acc.
40
MediumCompare Version Numbers✓ Our Solution
49
Two PointersString
LeetCode ↗42% acc.
41
MediumDesign Memory Allocator✓ Our Solution
49
ArrayHash TableDesignSimulation
LeetCode ↗48% acc.
42
MediumSearch a 2D Matrix II✓ Our Solution
49
ArrayBinary SearchDivide and ConquerMatrix
LeetCode ↗55% acc.
43
EasyMerge Sorted Array✓ Our Solution
49
ArrayTwo PointersSorting
LeetCode ↗53% acc.
44
MediumPeak Index in a Mountain Array✓ Our Solution
49
ArrayBinary Search
LeetCode ↗68% acc.
45
MediumSubsets✓ Our Solution
49
ArrayBacktrackingBit Manipulation
LeetCode ↗81% acc.
46
MediumLongest Repeating Character Replacement✓ Our Solution
49
Hash TableStringSliding Window
LeetCode ↗57% acc.
47
HardMerge k Sorted Lists✓ Our Solution
49
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
48
MediumUnique Paths✓ Our Solution
49
MathDynamic ProgrammingCombinatorics
LeetCode ↗66% acc.
49
HardMinimum Window Substring✓ Our Solution
49
Hash TableStringSliding Window
LeetCode ↗45% acc.
50
HardSum of Distances in Tree✓ Our Solution
49
Dynamic ProgrammingTreeDepth-First SearchGraph
LeetCode ↗65% acc.
51
MediumLongest Palindromic Substring✓ Our Solution
49
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
52
EasyReverse Linked List✓ Our Solution
49
Linked ListRecursion
LeetCode ↗79% acc.
53
MediumMinimum Area Rectangle✓ Our Solution
49
ArrayHash TableMathGeometry+1
LeetCode ↗55% acc.
54
EasyAdd to Array-Form of Integer✓ Our Solution
49
ArrayMath
LeetCode ↗45% acc.
55
MediumCourse Schedule II✓ Our Solution
49
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗53% acc.
56
MediumH-Index✓ Our Solution
49
ArraySortingCounting Sort
LeetCode ↗40% acc.
57
MediumDecode String✓ Our Solution
49
StringStackRecursion
LeetCode ↗61% acc.
58
MediumFind All Good Indices✓ Our Solution
49
ArrayDynamic ProgrammingPrefix Sum
LeetCode ↗40% acc.
59
EasyDegree of an Array✓ Our Solution
49
ArrayHash Table
LeetCode ↗57% acc.
60
EasyClimbing Stairs✓ Our Solution
49
MathDynamic ProgrammingMemoization
LeetCode ↗54% acc.
61
EasyCount Binary Substrings✓ Our Solution
49
Two PointersString
LeetCode ↗66% acc.
62
MediumMaximum Value at a Given Index in a Bounded Array✓ Our Solution
49
MathBinary SearchGreedy
LeetCode ↗39% acc.
63
MediumPartition to K Equal Sum Subsets✓ Our Solution
49
ArrayDynamic ProgrammingBacktrackingBit Manipulation+2
LeetCode ↗38% acc.
64
MediumRemove Zero Sum Consecutive Nodes from Linked List✓ Our Solution
49
Hash TableLinked List
LeetCode ↗53% acc.