Tiktok Software Engineer Coding & Algorithms Interview Questions
Practice the exact questions companies are asking right now.

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Solve string grouping and tree right-view problems
Problem 1: Group words that are anagrams You are given an array of strings words. Two strings are anagrams if they contain the same characters with th...
Parse a nested list from a string
Given a string that encodes a nested list (ArrayList-like notation), parse it into an in-memory nested list structure. Input format - The string conta...
Solve common string/DP/stack problems
You are given four independent coding tasks. For each task, describe your approach and analyze time and space complexity. Task 1: Longest substring wi...
Delete nodes in linked list and binary tree
You are asked to solve two short coding tasks. You may assume standard node definitions: - Singly linked list node: val, next - Binary tree node: val,...
Solve common interview coding problems
You are given several independent coding tasks (typical of SWE/MLE interview rounds). For each task, design an algorithm and describe the time/space c...
Find the longest palindromic substring
Problem Given a string s, return the longest contiguous substring of s that is a palindrome (reads the same forward and backward). Input - s: a non-em...
Solve two grid problems (islands + min-cost path)
You are given two separate coding questions. Problem A: Count distinct islands (translation-equivalent) Given an m x n binary grid grid (0 = water, 1 ...
Calculate transaction fees from CSV records
You are given a CSV-like multi-line string representing transactions with columns: id,reference,amount,currency,date,merchant_id,buyer_country,transac...
Solve the N-Queens problem
Problem Given an integer n, place n queens on an n × n chessboard so that no two queens attack each other (i.e., no two queens share the same row, col...
Solve grid shortest-path and tree DP
Problem A — Shortest path in a maze (BFS) You are given a 2D grid representing a maze: - grid[r][c] is either '.' (open cell) or '#' (wall). - You are...
Implement an LRU cache
Problem: LRU Cache Design and implement a data structure that supports an LRU (Least Recently Used) cache with a fixed capacity. Requirements Implemen...
Verify business accounts with progressive KYC rules
You are implementing a simplified KYC verification pipeline for onboarding business accounts. Each account contains these text fields: - business_name...
Compute length of longest increasing subsequence
You are given an integer array nums of length n. A subsequence of nums is a sequence that can be derived from nums by deleting zero or more elements w...
Match payments to invoices with fallback rules
You are given two datasets: - invoices: each invoice has invoice_id, date, amount - payments: each payment has payment_id, optional invoice_id (may be...
Compute balances, rejections, and platform reserve
You are given a set of transactions in CSV-like format with columns: - account_name, timestamp, currency, amount Assume: - Transactions for all accoun...
Find linked user records by weighted similarity
You are given a list of user records. Each record has fields: - id (unique) - name - email - company You are also given: - weights: a map from field n...
Resolve user roles across account hierarchy
You are given: 1. An account hierarchy: `json accounts = [ {"accountId": "org_1", "parent": null}, {"accountId": "wksp_1", "parent": "org_1"} ] ` ...
Solve three string/stack/backtracking problems
You are given three independent coding tasks (solve each one). Unless otherwise stated, implement a function with the described input/output. Problem ...
Reverse nodes in even-length linked-list groups
Problem Given the head of a singly linked list, you will traverse the list in contiguous groups of increasing size: the 1st group has size 1, the 2nd ...
Solve pair-counting and account-merging problems
Problem A — Count qualifying products You are given two integer arrays A and B, and an integer T. For each element a in A, count how many elements b i...