- Design Auction system. ..
- Design search autocomplete system.
- Design large scale rate limiter..
- Design Netflix.
- Design Amazon inventory system.
- Design twitter/tweets/followers system.
- Design Venmo.
- Design large scale notification platform.
- Design AirBNB platform.
- Design Ticketmaster..google и
- Design high velocity bank account platform.. 1point3acres
- Design top 10 scorers in a large scale mobile game.
- Design large scale real time chat platform.
- Design electric bike rental platform.
- Design grocery store order processing system.
- Design website building platform.
- Design gift card system
- Design large scale devices location tracker.
有这种情况,明明我代码轮遇到原题,怎么还没过,被面试官黑了。这还真不一定是对方的问题,你是直接背的答案?有没有跟面试官沟通,完全理解题意,让他明白你的idea,有没有followup,代码风格,扩展性,有没有必要的注释,dry run有没有bug等。。。
.
在真正面试中,要你dry run,如果面试官他的发现你的bug,而你还自认为完美,肯定扣分,当你再去debug就耽误了很多。像对于google,不要指望会遇到以前见过的问题。基本都是即兴发挥,那你怎么办呢?所以对自己诚实,know what you don’t know,平常就要严格要求。
1. Clarify the question
2. Identify the constraints to the problem ( like will it fit in memory, lower and upper bounds of variables, etc)
3. Discuss or psuedo code solution to the problem
4. Provide Run/space time complexity before implementation
5. Reaffirm with the interviewer if everything is correct before proceeding
6. Create implementation
7. Sanity check solution
8. Re-validate run/space time complexity
9. Walk through an example(s)
-----------------------
6 行为面试. 1point 3 acres
很多这种问题 “Tell me about a time when…”用STAR format回答,去YouTube 找Amazon LP 也有指导:
You overcame challenges in your work
You realized you couldn't deliver on something you committed to. 1point3acres.com
You had to work with a difficult coworker
You made a bad decision and what would you do differently
You took on an assignment outside of your normal responsibilities
You delivered something that exceeded expectations
You disagreed with someone but was able to move forward with the disagreement
You received harsh critical feedback
.google и
-------------------------. From 1point 3acres bbs
资源估算。可能涉及 QPS、存储、内存等。参考第三节,一般可以在两种情况下提:a)在开始high level前。 b) 在detail阶段做调整。5 min
高层设计 10分钟左右。在画哪些block时,在脑中得开始考虑不同组件的权衡,想哪些是最需要的,可以说“Now that we have an initial High-level draft in place I propose to get into the details of these components here as I find them to be most interesting to detail'”。看看面试官是否有线索提示。
..
接下来 15 分钟深入了解某个组件,再换下一个dive deep。这时候得思考tradeoff(存储引擎/LSM-Tree/SSTable/B-Tree/replica strategy/Leader selection/rate limit algo/hashing/memory/cpu bottleneck),size计算。跳出细节做选择,跟面试官确认方案是否OK,再回到整体,提出潜在要注意地方,比如observability, evolvability, infrastructure等。
. Χ
总结
优秀面试官可以捕捉到信号,如果你走向错误的方向,可以引导你掰过来。
如果面试官突然打断你问一个问题,千万别说“Let me finish what I am doing/coding/drawing and I will get back to you”你得想想是否丢了细节,并尝试从不同的角度看待代码/设计。.google и
他的问题可能只是为了澄清,但也可能暗示你漏掉些东西,虽然本能上你想defense,因为对方挑战你的代码/设计。不妨尝试与面试官合作,利用好帮助,听取建议也是他想要的信号。