Apple | SWE | Singapore | Reject
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-09-16Added By Anonymous
Source: Link
Position: SWE (search)
Location: Singapore
Date: Jul-Aug 2022
Online assement
Phone interview with hiring manager
1.Leecode 692
2.Follow up: what could you slove this problem if the data size is 10 GB and only 5 GB memory size.
3.Behavioral questions
Round 1
1.Some problem like leetcode 295, but the target is finding mean
2.Leetcode 295
3.What is Named Entity Recognition? The model input, the model output, model structure and how to generate ground truth for training.
4.What is beam search?
Round 2
1.There are two coding problems, but I only remember 1642
2.How to use a random variable x which have two outcomes 1 and 2 to generate 1 to 7?
Round 3
1.Image a search problem, when a user input a query string in search bar, then the system will show a list of entities related to this query string. If you have the dataset which info contains user id, time stamp, country, query and clicked entity, how do you design a module to output top 1 entity by given a query? (the top 1 is most related entity with query)
2.You have a dataset contains two user id and the related list of time stamps, write a function to check they are related. If there exist |t1-t2| <= t, then user 1 and user 2 are related. where t is a parameter, t1 \in T1 and t2 \in T2.
3.user 1
4.T1: [0, 4, 5, 7, 14, 18]
5.user 2
6.T2: [1, 3, 5, 9]
Round 4
1.Leetcoce 146
2.ML problems: what is resnet, BERT and batch normalization?
Round 5
1.Implement preorder traversal
2.You have a historical data which contains query name and the clicked name of query result, design a module to show the top 1 result by given a query name. Some people will query the nickname to replace the full name, how do you deal with this problem? And if you have less data (the pair data of nicknames and query results), how to slove cold start problem?