Tiktok Array Coding Interview Questions
95 array coding problems are tagged as asked at Tiktok in interviews and online assessments reported by candidates. By difficulty they split into 15 basic, 61 intermediate and 19 advanced. The topics they most often combine with are Hash Table, Sliding Window, Sorting, Math.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Tiktok tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Move Zeroes (Basic)
- Rotate Array (Intermediate)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Kth Largest Element (Intermediate)
- Two Sum in a Sorted Array (Basic)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Sort Colors (Basic)
- Largest Rectangle in Histogram (Advanced)
- Daily Temperatures (Intermediate)
- Valid Mountain Array (Basic)
- Coin Change Ways (Advanced)
- Plus One (Basic)
- Search in a Rotated Sorted Array (Advanced)
- Minimum in a Rotated Sorted Array (Intermediate)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Candy Distribution (Advanced)
- Kth Missing Positive Number (Basic)
- Sum of Subarray Minimums (Advanced)
- Maximum Width Ramp (Advanced)
- Subarrays Divisible by K (Intermediate)
- Fruit Into Two Baskets (Intermediate)
- Maximum Points From Cards (Intermediate)
- Longest Mountain Subarray (Intermediate)
- Maximum Product of Three (Basic)
- Arithmetic Slices (Intermediate)
- Find K Closest Elements (Intermediate)
- Maximum Events Attended (Intermediate)
- Maximum Product Subarray (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Coin Change Ways (Intermediate)
- Partition Equal Subset Sum (Intermediate)
- Maximum Circular Subarray (Intermediate)
- Best Time to Buy and Sell Stock II (Intermediate)
- House Robber II (Intermediate)
- Next Permutation (Intermediate)
- Gas Station (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Number of Connected Components (Basic)
- Is Bipartite (Intermediate)
- Course Schedule Feasible (Intermediate)
- Sum of Subarray Minimums (Advanced)
- Weighted Job Scheduling (Intermediate)
- LRU Cache Operations (Basic)
- LFU Cache Operations (Intermediate)
- Sparse Vector Dot Product (Intermediate)
- Minimum Cost Tickets (Advanced)
- Snapshot Array (Intermediate)
- Tree From Inorder and Postorder (Intermediate)
- Graph Valid Tree (Intermediate)
- Course Schedule Order (Intermediate)
- Cheapest Flights Within K Stops (Intermediate)
- Combination Sum IV (Intermediate)
- Minimum Difficulty of a Job Schedule (Advanced)
- Partition Array for Maximum Sum (Intermediate)
- Delete and Earn (Intermediate)
- Asteroid Collision (Intermediate)
- Number of Visible People in a Queue (Advanced)
- Furthest Building You Can Reach (Intermediate)
- Maximum Performance of a Team (Advanced)
- Jump Game II (Intermediate)
- Maximal Score After K Operations (Intermediate)
- Meeting Rooms (Basic)
- Find All Duplicates in an Array (Intermediate)
- 3Sum Triplets (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Shortest Subarray to Remove to Make Sorted (Advanced)
- Find First and Last Position (Intermediate)
- Median of Two Sorted Arrays (Advanced)
- Heaters (Intermediate)
Related
- Tiktok coding interview questions
- Array problems
- Tiktok basic problems
- Tiktok intermediate problems
- Tiktok advanced problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Tiktok problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Tiktok interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.