ByteDance OA Questions 2022: What Candidates Actually Saw
Last updated: May 2026
12+ ByteDance online assessment questions reported by candidates who took the OA in 2022. Sourced from 1Point3Acres, LeetCode, Blind, Glassdoor, and Reddit. Data grows as new reports are added.
ByteDance OA Format in 2022
The ByteDance online assessment has followed a consistent format across multiple hiring cycles. Based on 2022 reports in the database, candidates typically see 2 to 3 algorithmic coding problems delivered through a proctored online platform (most commonly HackerRank). Some roles include additional behavioral or work-simulation components after the coding section.
Time limits reported by candidates range from 70 to 110 minutes for the full assessment. The coding problems are auto-graded, so edge case handling and runtime efficiency both matter. Partial credit is available on some platforms if your solution passes a subset of test cases.
Real ByteDance OA Questions from 2022
TikTok OA
Question1: Given 3 integers m,n,r, find the smallest positive integer \'a\' such that (ma)%n = r. e.g. m = 5, n = 3, r = 1 -> (52)%3 = 1, answer...
TIKTOK OA INTERNSHIP 2022
5 questions, 120 mins Difficulty - Very hard (webcam proctoring, can\'t use IDE\'s) Here are the questions - 1. https://leetcode.com/problems/design-a-stack-with-increment-operation/ 2. https://leetcode.com/discuss/interview-question/1263982/thomson-reuters-oa-circular-printer 3. 3. count no of stars bw bars - https://leetcode.com/problems/count-sorted-vowel-strings/discuss/1021180/python-start-and-bars-explained 4....
TikTok OA 2022.1.22
Q1: Is possible. Give 2 nodes (a,b), (c,d). Judge whether it\'s possible to reach(c,d) from (a,b). There are only 4 ways to move(a,b)->(a+b,b), (a+a,b),(a,b+a),(a,b+b) Q2: K smallest substring Q3: Tiling with Dominoes Q4\uFF1A Preprocess Date Q5: Shared Interest
TikTok OA Find length 3 of Inversions in list
Find Size 3 Inversions in a list Description: (copied from https://leetcode.com/discuss/interview-question/777188/find-size-3-inversions-in-a-list) Inversion is a strictly decreasing subsequence of length 3. More formally, given an array, p, an inversion in the array is...
TikTok Interview Question, Practical Coding, not being able to solve it!
Practical Coding Assessment Google I have not been able to solve it throughout the interview, how would you solve this? ### Background At TikTok, we often have people label data for ML models...
Tiktok University Grad OA 10/17
Q1: a) What does Java GC do? b) Some HTTP question RESTful services. Not even sure. I think this is the answer: POST is the only RESTful API HTTP method that primarily operates...
Tiktok OA Dec.26-30 slot
One of the question is Divide array in subsequence with sum no greater than m and also minimize the sum of maximum value from each subarray. Does anyone have idea on...
Tiktok | OA | Find Size 3 Inversions in a list
Inversion is a strictly decreasing subsequence of length 3. More formally, given an array, p, an inversion in the array is any time some p[i] > p[j] > p[k] and...
TikTok OA | Software Engineer Internship | Nov 4 2022
Time limit : 120 mins The below 5 questions were asked in the TikTok online assessment on the Hackerrank platform. 2 MCQS 1. based on this topic - cross site cookies 2. ArrayList is...
Tiktok OA 12-16 Dec
Binary Search Tree Complexity Given a binary search tree with n nodes. What\'s the time and space complexity of finding the maximum element in that tree? -> time complexity = O(n),...
TikTok | SDE Intern Summer 2022 | Remote [Offer]
Interview: \tRound 1. OA is very hard, I only figured out 4 / 5, (5 questions in 120min); \tRound 2. Technical I: Varient of word search (allow diagnal search) No...
TikTok || OA (2 Questions) ( 🥵 Hard )
First Question 2nd Question UPDATE First question is solved and i tried out second question and this is my code it passes 50% test cases and giving wrong answer in other 50%. idea :...
Topic Breakdown (2022 OA)
Topics reported by candidates who took the ByteDance OA in 2022:
Difficulty Breakdown (2022 OA)
3
easy
2
hard
Difficulty labels are reported by candidates or inferred from LeetCode ratings.
How to Prepare for the ByteDance OA
The ByteDance OA is a timed, auto-graded coding test. Preparation is different from interview prep: you need to optimize for both correctness and speed, since partial credit requires passing test cases, not just showing reasoning.
- Practice timed sessions. Set a timer for 35 to 45 minutes per problem and simulate the real constraint.
- Focus on the topic clusters that appear most in ByteDance OA reports: dynamic programming, graphs, arrays, and strings make up the majority of reported problems.
- Read the problem constraints carefully before writing code. The constraints often reveal the expected time complexity and algorithm type.
- Use the LeakCode database to review 2022 OA questions from actual candidates. Pattern recognition across multiple sightings is a stronger prep signal than any single mock problem.
- If the OA includes a work simulation section, practice under realistic conditions. This section tests judgment and values alignment, not coding ability.
FAQ
What does the ByteDance OA look like in 2022?
Based on 2022 candidate reports, the ByteDance OA typically includes 2 to 3 coding problems and runs 70 to 110 minutes. Topics lean toward dynamic programming, graphs, arrays, and strings. Some roles include a work simulation section after the coding component.
How long is the ByteDance OA?
Most candidates report 70 to 90 minutes for the coding component. Roles with additional work simulation sections extend the total time to 110 to 150 minutes. Check your invitation email for the exact time allocation for your specific role.
What platform does ByteDance use for the OA?
ByteDance uses HackerRank or its own proprietary platform depending on the role and hiring cycle. Your invitation will specify the platform. Both platforms support multiple languages including Python, Java, C++, and JavaScript.
Are these real ByteDance OA questions?
Yes. All questions in the LeakCode database come from candidate reports on 1Point3Acres, Blind, Glassdoor, Reddit, and LeetCode. They are not AI-generated. Each question links to its source where available.
Other ByteDance OA Years
Related: ByteDance OA Hub · ByteDance All Questions · All OA Questions · Data Sources