Tiktok Advanced Coding Interview Questions
42 advanced coding problems are tagged as asked at Tiktok in interviews and online assessments reported by candidates. By difficulty they split into 0 basic, 0 intermediate and 41 advanced. The topics they most often combine with are Array, String, Hash Table, Sorting.
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
- Longest Increasing Subsequence (Advanced)
- Trapping Rain Water (Advanced)
- Largest Rectangle in Histogram (Advanced)
- Longest Common Subsequence (Advanced)
- Edit Distance (Advanced)
- Coin Change Ways (Advanced)
- Longest Valid Parentheses (Advanced)
- Search in a Rotated Sorted Array (Advanced)
- Candy Distribution (Advanced)
- Sum of Subarray Minimums (Advanced)
- Maximum Width Ramp (Advanced)
- Valid Parenthesis With Wildcards (Advanced)
- Tree Nodes at Distance K (Advanced)
- Tree Diameter (Advanced)
- Minimum Window Substring (Advanced)
- Sum of Subarray Minimums (Advanced)
- Walls and Gates Distance (Advanced)
- Minimum Cost Tickets (Advanced)
- Binary Tree Maximum Path Sum (Advanced)
- Alien Dictionary Order (Advanced)
- Shortest Distance From All Buildings (Advanced)
- Regular Expression Matching (Advanced)
- Minimum Difficulty of a Job Schedule (Advanced)
- Longest Increasing Path in a Matrix (Advanced)
- Longest Duplicate Substring (Advanced)
- Word Search II Count (Advanced)
- Basic Calculator (Advanced)
- Remove Duplicate Letters (Advanced)
- Number of Visible People in a Queue (Advanced)
- Maximum Performance of a Team (Advanced)
- Sliding Window Maximum Values (Advanced)
- Shortest Subarray to Remove to Make Sorted (Advanced)
- Median of Two Sorted Arrays (Advanced)
- Word Break II (Advanced)
- Expression Add Operators (Advanced)
- Minimize Malware Spread (Advanced)
- Stickers to Spell Word (Advanced)
- Number of Atoms (Advanced)
- Basic Calculator III (Advanced)
- Meeting Rooms III (Advanced)
- Put Marbles in Bags (Advanced)
Related
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.