TikTok OA Experience share | Insider Tips for Success

1,330 Views
No Comment

In the fierce tech job market, TikTok's recruitment draws much attention. As a globally famous short-video social platform, TikTok's recruitment has been a major success. TikTokThe Online Assessment (OA) in its recruitment is crucial. It largely decides if you can move on to interviews and get nearer to your dream TikTok offer. largely decides if you can move on to interviews and get nearer to your dream TikTok offer. Here, we'll analyze the key aspects of TikTok OA in Here, we'll analyze the key aspects of TikTok OA in detail.

TikTok OA Experience share | Insider Tips for Success

TikTok OA Question 1

Question: Given a two-dimensional array user_data that contains the number of videos posted and the total number of likes for multiple users on TikTok. Each element in the array is in the form [user ID, number of videos, total number of likes]. Please write a function to find the user ID with the highest average number of likes (total number of likes / number of videos, and if the number of videos is 0, the average number of likes is considered 0). the average number of likes is considered 0). If there are multiple users with the same highest average, return the smallest user ID. For example, if the input is user_data = [[1, 5, 100], [2, 3, 75], [3, 0, 0]], the output should be 2.

TikTok OA Question 2

QuestionThere is currently a string representing a user's collection of interest tags, with different tags separated by commas (for example, TikTok's video recommendation system needs to manage users' interest tags). 's collection of interest tags, with different tags separated by commas (for example, "TikTok's video recommendation system needs to manage users' interest tags"). "Food, Travel, Music"). Please implement a function that takes such a tag string as input, removes duplicate tags, sorts the tags lexicographically, and then returns the new tag string. string. For example, if the input is "Music, Food, Travel, Music", the output should be "Food, Travel, Music".

TikTok OA Question 3

Question: In the TikTok live streaming scenario, there is a series of consecutive live streaming periods, each represented by a start time and an end time (integers) in minutes, stored in a two-dimensional array in minutes), stored in a two-dimensional array live_streams, where each element is [start time, end time]. To arrange operation staff duties, calculate the maximum number of live streams happening simultaneously. For example, if the input is live_streams = [[10, 20], [15, 25], [20, 30]], the output should be 2, because two streams overlap during minutes 15-20.

The secret to success

If you're struggling while preparing for the TikTok OA or interviews at other major tech companies, don't hesitate to reach out to out to ProgramHelpWe offer professional interview coaching services including OA proxy testing, VO assistance, and full interview proxy services. We offer professional interview coaching services, including OA proxy testing, VO assistance, and full interview proxy services. Our goal is to help you ace those interviews and land your dream job offer!

author avatar
Alex Ma Staff Software Engineer
Currently working at Google, with more than 10 years of development experience, currently serving as Senior Solution Architect. He has a bachelor's degree in computer science from Peking University and is good at various algorithms, Java, C++ and other programming languages. While in school, he participated in many competitions such as ACM and Tianchi Big Data, and owned a number of top papers and patents.
END
 0
Comment(No Comment)