注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
本帖最后由 Jackson-Wang 于 2024-8-4 15:07 编辑
Onsite一共四轮:Project Deep Dive, HM behavior, Coding and Coding
### Project Deep Dive
需要注意把握时间,我还有2 slides 没有讲完,面试官中间会问一些问题,所以时间把控很重要。需要讲明白自己在project里做了什么,有什么impact等等
### HM behavior
比较难回答的几个问题:
- A junior engineer send you a PR, with over-engineered algorithm and implementation. The junior engineer have every corner cases tested and is very passionate to submit the code into production code. How to handle it as a TL?
- Have you built a project from scratch, talk about what problem it solved. 这里我比较纠结的地方是一般大的Project都会好几个人一起build的,然后我只讲了一个我自己build 的project,感觉可能不够impressive。
### Coding 1:
地里分享了很多
In memory database with followups around query, you need to keep adding more tests with newly added followup features and existing tests need to pass.
- Support Query
- Query with Where condition
- Query with Where condition on multiple columns
- Query with Where and Order by one culumn
- Query with Where and Order by multiple columns
### Coding 2:
Resumable iterators. Focus on test driven developme您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 使用VIP即刻解锁阅读权限或查看其他获取积分的方式 游客,您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 VIP即刻解锁阅读权限 或 查看其他获取积分的方式 et_state(state)
elements = all elements from test_iter to the end
assert elements == expected_elements
Then implement a such iterator for a list.
Followup: given a file iterator on JSON file, implement an iterator for multiple file reading
大致感觉就是coding的时候会把大家拉到同一起跑线,然后看谁能写得快,写得多。并没有什么大的难度,但是需要好好准备和熟练。 |