Tiktok Math Coding Interview Questions
25 math coding problems are tagged as asked at Tiktok in interviews and online assessments reported by candidates. By difficulty they split into 3 basic, 16 intermediate and 6 advanced. The topics they most often combine with are String, Array, Backtracking, 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
- Valid Palindrome (Basic)
- Decode Ways (Intermediate)
- Happy Number (Intermediate)
- Integer to Roman (Intermediate)
- Coin Change Ways (Advanced)
- Plus One (Basic)
- Greatest Common Divisor of Strings (Intermediate)
- Sum of Subarray Minimums (Advanced)
- Remove K Digits to Get the Smallest Number (Intermediate)
- Coin Change Ways (Intermediate)
- Sum of Subarray Minimums (Advanced)
- Open the Lock (Intermediate)
- Combination Sum IV (Intermediate)
- Validate IP Address (Intermediate)
- Maximum Performance of a Team (Advanced)
- Maximal Score After K Operations (Intermediate)
- Valid Sudoku (Intermediate)
- Median of Two Sorted Arrays (Advanced)
- Nth Digit (Intermediate)
- Water and Jug Problem (Intermediate)
- Restore IP Addresses (Intermediate)
- Expression Add Operators (Advanced)
- Letter Case Permutation (Basic)
- Closest Prime Numbers in Range (Intermediate)
- Running Median of Stream (Intermediate)
Related
- Tiktok coding interview questions
- Math 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.