ByteDance
A strict one-round-at-a-time funnel: a resume deep dive opens every round, then LeetCode-medium coding with your own test cases, system design, and a hiring-manager round. Teams differ sharply in bar and format.
Typical loop
- 1Recruiter call, sometimes skipped
- 2Round one: project deep dive, then one or two coding problems
- 3Round two: more coding, or system design
- 4Round three: hiring manager, behavioral plus another problem
- 5Team match with HR
Questions
Callback's practice questions and the LeetCode questions ByteDance has been asking, filtered together.
Practice questions
Implement Function.prototype.bind
Frontend · A closure over thisArg and the leading arguments; the original runs later, with the call's own arguments appended.
Build a Comment Tree From Flat Records
Frontend · Turn a flat list of comments with parent ids into nested roots with children, in two passes with a map, without depending on input order or mutating the input.
Asked on LeetCode
107 questions · all time
- LRU CachemediumHash TableLinked ListDesignDoubly-Linked Listfrequency 100.0
- Remove Duplicate LettersmediumStringStackGreedyMonotonic Stackfrequency 85.1
- Smallest Subsequence of Distinct CharactersmediumStringStackGreedyMonotonic Stackfrequency 82.6
- First Day Where You Have Been in All the RoomsmediumArrayDynamic Programmingfrequency 79.9
- Number of IslandsmediumArrayDepth-First SearchBreadth-First SearchUnion-Find+1frequency 79.9
- Course SchedulemediumDepth-First SearchBreadth-First SearchGraph TheoryTopological Sort+1frequency 76.8
- Basic Calculator IImediumMathStringStackfrequency 69.0
- Combination SummediumArrayBacktrackingfrequency 69.0
- Maximal SquaremediumArrayDynamic ProgrammingMatrixfrequency 69.0
- Merge IntervalsmediumArraySortingQuicksortfrequency 69.0
- Shortest BridgemediumArrayDepth-First SearchBreadth-First SearchMatrixfrequency 69.0
- House RobbermediumArrayDynamic Programmingfrequency 63.8
- Regular Expression MatchinghardStringDynamic ProgrammingRecursionfrequency 63.8
- Top K Frequent ElementsmediumArrayHash TableDivide and ConquerSorting+4frequency 63.8
- Two SumeasyArrayHash Tablefrequency 63.8
- Word LadderhardHash TableStringBreadth-First SearchBidirectional Searchfrequency 63.8
- Accounts MergemediumArrayHash TableStringDepth-First Search+3frequency 57.1
- Add Two NumbersmediumLinked ListMathRecursionfrequency 57.1
- Basic CalculatorhardMathStringStackRecursionfrequency 57.1
- Best Time to Buy and Sell StockeasyArrayDynamic Programmingfrequency 57.1
- Decode StringmediumStringStackRecursionfrequency 57.1
- Design Memory AllocatormediumArrayHash TableDesignSimulationfrequency 57.1
- Longest Common SubsequencemediumStringDynamic ProgrammingLongest Common Subsequencefrequency 57.1
- Longest Increasing SubsequencemediumArrayBinary SearchDynamic ProgrammingLongest Increasing Subsequencefrequency 57.1
- Maximum SubarraymediumArrayDivide and ConquerDynamic Programmingfrequency 57.1
- Maximum Width of Binary TreemediumTreeDepth-First SearchBreadth-First SearchBinary Treefrequency 57.1
- Multiply StringsmediumMathStringSimulationfrequency 57.1
- Restore IP AddressesmediumStringBacktrackingfrequency 57.1
- Rotting OrangesmediumArrayBreadth-First SearchMatrixfrequency 57.1
- Search in Rotated Sorted ArraymediumArrayBinary Searchfrequency 57.1
- 3Sum ClosestmediumArrayTwo PointersSortingfrequency 47.8
- Binary Tree Right Side ViewmediumTreeDepth-First SearchBreadth-First SearchBinary Treefrequency 47.8
- Binary Tree Zigzag Level Order TraversalmediumTreeBreadth-First SearchBinary Treefrequency 47.8
- Climbing StairseasyMathDynamic ProgrammingMemoizationfrequency 47.8
- Clone GraphmediumHash TableDepth-First SearchBreadth-First SearchGraph Theoryfrequency 47.8
- Combination Sum IImediumArrayBacktrackingfrequency 47.8
- Delete Node in a BSTmediumTreeBinary Search TreeBinary Treefrequency 47.8
- Find Peak ElementmediumArrayBinary Searchfrequency 47.8
- Find the Length of the Longest Common PrefixmediumArrayHash TableStringTriefrequency 47.8
- Insert Delete GetRandom O(1)mediumArrayHash TableMathDesign+1frequency 47.8
- Jump GamemediumArrayDynamic ProgrammingGreedyfrequency 47.8
- Kth Largest Element in an ArraymediumArrayDivide and ConquerSortingHeap (Priority Queue)+1frequency 47.8
- Linked List Cycle IImediumHash TableLinked ListTwo PointersFloyd's Cycle Finding Algorithmfrequency 47.8
- Longest Palindromic SubstringmediumTwo PointersStringDynamic ProgrammingManacherfrequency 47.8
- Longest Repeating Character ReplacementmediumHash TableStringSliding Windowfrequency 47.8
- Merge k Sorted ListshardLinked ListDivide and ConquerHeap (Priority Queue)Merge Sort+1frequency 47.8
- Minimum Area RectanglemediumArrayHash TableMathGeometry+1frequency 47.8
- Minimum Swaps to Group All 1's Together IImediumArraySliding Windowfrequency 47.8
- Number of Good Leaf Nodes PairsmediumTreeDepth-First SearchBinary TreeDP on Treesfrequency 47.8
- Product of the Last K NumbersmediumArrayMathDesignData Stream+1frequency 47.8