注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
第一次参与地里的发面经,求大米啊!!还会单独发一个 方块家onsite的面经!
「背景」- 我是半路转行,master天坑专业,回学校又读了一个analytics的master,有3年ds工作经历。
「时间顺序」- 2022年初网上自己投了4/5个方块家的ds工作,2月初recruiter捞起我,但给面试我没投过的一个ds的职位,想着也行吧,面面看。
recruiter讲话10mins,没什么用,就是大概了解背景。
接着约跟hm聊天60mins,讲了讲自己的背景和大型project的技术方面的内容。过。
接下来约电面,一共60分钟,sql和python各占用30mins。. 1point 3 acres
- sql是很密集的 7个问题,但大都很简单,面试官很nice,但是会变着花样问 如果不能用cte,给另一种写法怎么query?(大概就是各种join之类的) 最后一个sql考distribution的query,lz最后时间不够用了,就写的pseudo code,也给了pass。-baidu 1point3acres
- python考的leetcode style,lz有朋友被考的twosum变形,不过我本身被考的是string manipulation加hash table。由于准备不当,一直在关注number的lc,完全忘记string怎么搞,拆分string based on pattern啊之类的,写的很磕磕绊绊,面试官很给力,一直给tips,所以各位伙伴们,遇到不会的也不要害怕,一直问tips还有一直沟通,没准就过了呢。最后lz写出了一个functioning的 答案,虽然过程很坎坷,但是还是过了。
最后不到4天,lz就拿到了virtual onsite的 邀请。 vo另开一贴细说。-baidu 1point3acres
.--
面筋如下:. 1point 3 acres
【sql】--------
/*
You have two SQL tables, invoices and users:
invoices: one row per invoice sent. Consists of the following columns:
invoice_token: unique invoice identifier
user_token: unique sender identifier
sent_at: datetime invoice was sent
amount: invoice amount
users: one row per usegorical
Age: numeric
Fare: numeric dollars
Parch: numeric
SibSp: numeric. 1point3acres.com
Cabin: string characters. 1point 3 acres
"""
# We'll use this metadata to ask questions like
# What are all the numeric features?
# Write a function to parse this metadata string and put it into a python data structure
def find_num (metadata):
dic=dict(). Χ
lst=metadata.split('\n')
for i in lst:
if i != '' :
j=i.split(':')
key=j[0]
value=j[1].split()
dic[key]=value
return dic
print(find_num(metadata)).--
.
|