注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
2/3半夜做了OA,没错。。。3个小时那种,一道GET json处理数据最后POST到server的题。题目会给你两个URL,一个用于get数据,一个用于上传处理好的数据。
方法:
1.GET数据后parse,我用的python直接import request和json两个library就好
2.按照visitorId group events,每个visitor的events按照timestamp排序
3.遍历每个visitor所有events,根据题目要求merge
4.POST to server. 注意:千万不要把结果dump json,否则会传回400,我费了很长时间在这个上面。。。
第二天早上9点就收到Recruiterd的邮件说move forward, 选择non-technical interview 的时间,recruiter秒回定下了时间。赞效率啊~~
题目如下:
You're in charge of implementing a new analytics "sessions" view. You're given a set of data that consists of individual web page visits, along with a visitorId which is generated by a tracking cookie that uniquely identifies each visitor. From this data we need to generate a list of sessions for each visitor.
You can get the raw event data from the dataset API at REDACTED
The data set looks like this:
"events": [
{
"url": "/pages/a-big-river",
"visitorId": "d1177368-2310-11e8-9e2a-9b860a0d9039",
"timestamp": 1512754583000
},
{
"url&qerness or flexbility.
We think you should be able to complete this project in a single sitting, so try to allocate a single block if you can
补充内容 (2022-02-08 04:30 +8:00):
刚结束non-technical interview Recruiter人非常nice
20min谈话内容如下:
1) what do you know about HubSpot?
2) a time you gave feedback to teammates/coworker
3) a time you explained technical terms to non-technical people
4) a time you had conflict with teammates/coworker
问了我喜欢frontend还是backend, 答:backend
最后几分钟反向BQ 我问了 why you choose HubSpot and what do you like most in HubSpot
recruiter 最后说如果pass俩礼拜后通知,到时候会有backend的人来面
补充内容 (2022-02-12 00:48 +8:00):
2/11 recruiter 通知挂了,个人觉得BQ回答的不差,估计是team match的不好,所以没有下文了。祝大家好运~ |