Twitter数据相关面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(41)
SQL(8)
Coding(14)
ML basics(3)
Stats(5)
Product Case(11)
高频题(0)
Other(0)
全部(41)
SQL(8)
Coding(14)
ML basics(3)
Stats(5)
Product Case(11)
高频题(0)
Other(0)
1.广告策略
2.one edit distance
3.概率计算
4.Weird Faculty
5.Color the Block
6.Anagram Difference
7.广告计费试验
8.实验结果解释
9.找用户
10.Active User绘制
11.广告有效性
12.彩票系统设计
13.人生攻击Metric选择
14.push notification 的context
15.metric计算
16.Notification
17.Employees Earning More Than Their Managers
18.NN预测
19.subquery and join
20.广告分析
21.字符串修改
22.连续正整数
23.分钱
24.Histogram
25.按钮颜色
26.tweets
27.广告竞拍
28.概率随机数
29.SQL join
30.SQL join
31.SQL metrics
32.ML新系统问题
33.Python histogram
34.Product metrics
35.随机分类
36.简单coding+MLE application
37.Metrics calculation
38.Product sense
39.AB test
40.找数据,清理数据,分析,建模和汇报结果
41.AB test
1. 广告策略
啥时候在哪个位置放最合适的广告
2. one edit distance
https://leetcode.com/problems/one-edit-distance/
3. 概率计算
Input, ‘A’, 0.4; ‘B’, 0.3, ‘C’, 0.2, ‘D’, 0.1…., the output is a random value with the probability of the values corresponds to the character
4. Weird Faculty
def weirdFaculty(v):
n = len(v)-baidu
for i in range(n):
if not v[i]:
v[i] = -1
friend = sum(v)
me = 0. .и
for i in range(n):
if me > friend:
return i
else:
friend -= v[i]
me += v[i]
return -1
5. Color the Block
def ColorBlocks(costs):
if costs is None or len(costs) == 0 or len(costs[0]) == 0:
return 0.
for i in range(1, len(costs)):
costs[i][0] += min(costs[i-1][1], costs[i-1][2])
costs[i][1] += min(costs[i-1][0], costs[i-1][2])
costs[i][2] += min(costs[i-1][0], costs[i-1][1])
return min(costs[-1])