Explore questions associated with TikTok. Review the source details, then use the workspace for code, notes, and diagrams.
94 questions in the library. A source association does not guarantee a future interview question.
Behavioral and leadership · Coding · Machine learning · Object-oriented design · Other questions · System design
Loading questions…
Practice system design interviews out loud with an AI interviewer, a shared whiteboard and a scorecard for your level.
© 2026 SysRound. SysRound is an AI practice tool. The AI interviewer and the AI feedback can be wrong. Use it for your own practice, not to hire people.
Showing 76–94
Companies: TikTok
Remove duplicate letters from s so each character appears exactly once and the resulting string is the smallest possible in lexicographic order. This is solved…
Companies: TikTok
Greedy · Monotonic Stack · Stack · String
Given the head of a linked list and an integer k, reverse the nodes of the list k at a time and return the modified…
Companies: TikTok, Adobe, Microsoft
Linked List · Recursion
Rotate an integer array to the right by k steps (k may exceed the array length), effectively moving each element to index (i+k) mod n…
Companies: TikTok, Apple, Microsoft, Nutanix
Array · Math · Two Pointers
Given an ascending array of distinct integers that has been rotated at an unknown pivot, return the index of a target value (or -1 if…
Companies: TikTok, Amazon, Expedia, Google +3
Array · Binary Search
Design algorithms to serialize an N-ary tree into a single string and deserialize it back, preserving node values and the arbitrary number and order of…
Companies: TikTok, Apple, Bloomberg, Rubrik
Breadth-First Search · Depth-First Search · String · Tree
Given tasks with enqueue and processing times, return the order a single-threaded CPU will process them when it always picks the available task with the…
Companies: TikTok, DoorDash
Array · Heap (Priority Queue) · Sorting
Traverse the m×n matrix in clockwise spiral order (right, down, left, up) and return the elements in that sequence. The core challenge is managing changing…
Companies: TikTok, Capital One, Liveramp, Meta +1
Array · Matrix · Simulation
Count the number of contiguous subarrays whose sum is divisible by k; this reduces to counting pairs of prefix sums with the same remainder modulo…
Companies: TikTok
Array · Hash Table · Prefix Sum
Companies: TikTok
Given an array of integers and a target, return the indices of two distinct elements whose values sum to the target (exactly one valid solution…
Companies: TikTok, Amazon, Apple, Bloomberg +13
Array · Hash Table