有些是几个月前面试的，大概记得some

- linkedin:

Machine learning part:

Q1. Overfitting , Q2. Regularization ,Q3. Naïve bayes classifier ,Q4. Talk about your research and your methods used

Coding: Give a m face dices, and the probability of each face. Generate a N-length sequence of the faces, so that overall they follow the probability distribution. (use accumulated probability distribution + binary search) - Uber:Case questions: 1) how to predict that a driver will cancel a ride, what kind of features you need 2) how to predict that a rider will cancel a ride, what featuresCoding question: Leetcode questions, Given [0, 1,1,1,0,1], return [0,0,1,1,1,1]
- FB;Coding question: Given list A= [0, 0, 0,1, 1, 1,0,0,1,1], here 0 means national holidays you don’'t need to work, 1 are the regular day. You have a budget: M, which is your paid holidays. Find the maximum consecutive day you can get with the holiday budget. For example, if M=3, you can put [0,0,0, 0,0,0,0,0,1,1], you will have 8 days of holidays.

ai