Bytedance Interview Questions
Practice 71 real interview questions from Bytedance. Covers Coding & Algorithms, Machine Learning, Behavioral & Leadership, Software Engineering Fundamentals. For roles including Software Engineer, Data Scientist, Product Manager, Site Reliability Engineer.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"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."
Compute Minimum Parentheses Additions
Given a string s consisting only of the characters '(' and ')', compute the minimum number of parentheses that must be inserted anywhere in the string...
Calculate Triangle Probability From Broken Stick
A stick of length 1 is broken into three pieces by choosing two cut points independently and uniformly at random along the stick, then sorting the two...
Implement an LRU Cache
Design and implement a fixed-capacity key-value cache that evicts the least recently used item when it becomes full. Support the following operations:...
Implement Sorted Search and Array Updates
Implement the following independent array functions. Part 1: Search a sorted array Given a sorted array of integers nums in nondecreasing order and an...
Solve String Addition and Expression Evaluation
The interview included two coding problems: 1. Add numbers from character arrays - You are given two non-empty character arrays, where each array r...
Find Maximum Chain Activations
You are given n devices, where each device is represented as [x, y, r]. Device i is located at coordinates (x, y) and can directly activate device j i...
Design a Content Moderation Platform
Design a large-scale content moderation system for a social platform that accepts user-generated text, images, and videos. The system should detect po...
Implement Interval Insert and Dedup
This interview round contained two coding problems: 1. Insert and merge intervals. You are given a list of non-overlapping intervals sorted by start t...
Find high-value crypto users and top CTR
You are given three tables. Assume all timestamps are stored in UTC. - users(user_id BIGINT PRIMARY KEY, create_date TIMESTAMP): one row per user acco...
Solve Sliding Window and Grid Search
In a Software Engineer phone screen, the candidate was asked to solve two coding problems. 1. Longest substring with at most k distinct characters ...
Design a High-Frequency Job Scheduler
Design a distributed job scheduler that supports one-time and recurring jobs, including high-frequency tasks that may run every few seconds. The syste...
Find Minimum Time Across a Grid
You are given an n x n grid of non-negative integers. Each value represents the earliest time at which that cell becomes traversable. You start at the...
Explain train-test generalization gap
A model performs very well on the training set but much worse on a held-out test set. Explain why this can happen and how you would diagnose and fix i...
Reverse Words While Preserving Spaces
Implement a C++ function that reverses the order of words in a string. Assume a word is any maximal sequence of non-space characters, and the input co...
Define Ultra success and detect suspicious transactions
Assume the following relevant columns are available, and all timestamps are stored in UTC: - users(user_id BIGINT PRIMARY KEY, create_date TIMESTAMP, ...
Solve interval merging and histogram area
The coding round included two algorithm problems: 1. Merge overlapping intervals: Given a list of closed intervals [[start1, end1], [start2, end2], .....
Describe a challenging project and your role
You are interviewing for a new-grad software role. Answer the following behavioral prompts (BQ) based on one of your internship or project experiences...
Find Top Creators and Login Streaks
Solve the following two interview-style tasks. Task 1: Top creators by likes You are given a list of like events for a business-facing creator platfor...
Describe your most challenging project and leadership
Describe the most challenging project you have worked on. Your interviewer will drill into details such as: - What the project goal and constraints we...
Compute square root with precision
Given a non-negative integer val and a non-negative integer precise, compute the square root of val without using any built-in square-root function. R...