ByteDance-Logo
ByteDance
Previous Year Questions
K-th Smallest in Lexicographical Order
Hard
Optimal Account Balancing
Hard
Trapping Rain Water
Hard
Reverse Pairs
Hard
Android Unlock Patterns
Medium
Reverse Nodes in k-Group
Hard
LRU Cache
Medium
Trapping Rain Water II
Hard
Number of Atoms
Hard
Frog Jump
Hard
Swap Adjacent in LR String
Medium
Implement Rand10() Using Rand7()
Medium
Smallest String With Swaps
Medium
Greatest Sum Divisible by Three
Medium
Dinner Plate Stacks
Hard
Campus Bikes
Medium
Next Permutation
Medium
Maximum Swap
Medium
Reorder List
Medium
Search in Rotated Sorted Array
Medium
Next Closest Time
Medium
Add Two Numbers II
Medium
Find the Smallest Divisor Given a Threshold
Medium
Maximum Profit in Job Scheduling
Hard
Max Area of Island
Medium
Shortest Distance from All Buildings
Hard
N-Queens
Hard
Serialize and Deserialize BST
Medium
Remove Duplicate Letters
Hard
Search a 2D Matrix II
Medium
Longest Increasing Path in a Matrix
Hard
Kth Largest Element in an Array
Medium
Binary Tree Right Side View
Medium
Score of Parentheses
Medium
Course Schedule
Medium
Longest Substring Without Repeating Characters
Medium
Longest Substring with At Least K Repeating Characters
Medium
Generalized Abbreviation
Medium
Expression Add Operators
Hard
Reverse Linked List
Easy
Merge k Sorted Lists
Hard
Spiral Matrix
Medium
Lowest Common Ancestor of a Binary Tree
Medium
Subsets
Medium
Queue Reconstruction by Height
Medium
Lexicographical Numbers
Medium
Merge Intervals
Medium
Sort List
Medium
All Nodes Distance K in Binary Tree
Medium
Simplify Path
Medium
Basic Calculator III
Hard
Edit Distance
Hard
Median of Two Sorted Arrays
Hard
First Missing Positive
Hard
Minimum Remove to Make Valid Parentheses
Medium
Count Complete Tree Nodes
Medium
Asteroid Collision
Medium
Largest Number
Medium
Maximum Product of Splitted Binary Tree
Medium
Binary Tree Maximum Path Sum
Hard
Check Completeness of a Binary Tree
Medium
Container With Most Water
Medium
Diameter of Binary Tree
Easy
Add Strings
Easy
Two Sum
Easy
Top K Frequent Elements
Medium
Intersection of Two Linked Lists
Easy
Maximum Subarray
Easy
Add Two Numbers
Medium
Word Search
Medium
Find Peak Element
Medium
Remove K Digits
Medium
Coin Change
Medium
Merge Two Sorted Lists
Easy
Subarray Sums Divisible by K
Medium
Minimum Size Subarray Sum
Medium
Wildcard Matching
Hard
Binary Tree Zigzag Level Order Traversal
Medium
Generate Parentheses
Medium
Find First and Last Position of Element in Sorted Array
Medium
Minimum Window Substring
Hard
Walls and Gates
Medium
Maximum Product Subarray
Medium
Path Sum II
Medium
Partition to K Equal Sum Subsets
Medium
Intersection of Two Arrays II
Easy
Longest Common Subsequence
Medium
Binary Search Tree Iterator
Medium
Best Time to Buy and Sell Stock
Easy
Decode String
Medium
Binary Tree Vertical Order Traversal
Medium
Sliding Window Maximum
Hard
Permutations
Medium
Balanced Binary Tree
Easy
Construct Binary Tree from Preorder and Inorder Traversal
Medium
Remove Nth Node From End of List
Medium
Continuous Subarray Sum
Medium
Validate Binary Search Tree
Medium
Jump Game
Medium
Reverse Linked List II
Medium
Word Search II
Hard
Find Median from Data Stream
Hard
3Sum
Medium
Word Break
Medium
Squares of a Sorted Array
Easy
Intersection of Two Arrays
Easy
Regular Expression Matching
Hard
Flatten Binary Tree to Linked List
Medium
Merge Sorted Array
Easy
Number of Islands
Medium
Remove Duplicates from Sorted List
Easy
Two Sum II - Input array is sorted
Easy
Product of Array Except Self
Medium
House Robber
Easy
Binary Tree Inorder Traversal
Medium
Maximum Depth of Binary Tree
Easy
Share this with your loved ones: