和大家聊聊如何准备亚麻面试。

亚麻onsite主要包括behavior question, 算法题,ood,和系统设计。亚麻的的算法题不算太难,基本上在楼主面过的公司中算简单的,系统设计和ood也不算很难,情况视面试者的工作经验和临场发挥而定。和其他公司向比较而言,BQ算是他家特色了。下面我会分别从这几类问题开始谈起,目的是帮大家好好准备亚麻社招面试。

Behavior Question

这个算是他家特色了。基本每轮onsite都会有15-20 min 的BQ环节。回答BQ一定要代入自己的故事,不能范范的说,同时要考虑到这个例子反映了亚麻十四条中的哪些点。所谓的亚麻十四条呐,就是亚麻的14个principles,这14点是亚麻员工必须要准守,并且在工作中要牢记的。所以问BQ基本就是看你符不符合亚麻得文化,符不符合这14条。关于这14条呐,我这里有一份doc,总结了一些常见的bq题,以及针对每一个principle的具体列子,大家可以留邮箱我会发给大家,有了这份资料我相信亚麻得bq以后将不再会是难事。

算法题

就像我上面说的,亚麻得算法题不会太难,重要的是和面试官的交流。商讨出一个合适的,面试官认可的solution。 不一定像狗家那样,必须给出最优,bug free solution。算题网的tag题安频率刷最近六个月,然后再在网上,比如1024上找找面经,基本够用了。但是要记住亚麻是组面所以,不同组之间的题可能差异蛮大,最好找相近的组的面经来看。

OOD

ood的话,就是那几个常考的题,parking lot, 电梯,画板。 看一下singleton 和 factory design pattern, 了解override 和 overlording。注意fields,和 method 的命名。在设计中,如果有需求,最好能考略到enum,static, final 这些关键词。具体到实现,要考虑reusable, 代码的可读性,我最反对的就是为了代码的简洁丧失可读性, 和maintainability。

系统设计

对于这个呐,基本就是准备一下几个常考的,比如设计FB,设计UBER, 设计tiny url,设计chat 系统这些。说白了,system design对于entry level面试者来说,大部分时候就是丢名词。。。有些名词,大家需要掌握,比如qps,push-poll model, daily active user。 这一部分我也有一个doc,我相信这个doc可以很好的帮助大家去准备system design 问题,同样的大家留邮箱,注明需要那封doc,我来发给大家。

系统设计基本切入点,先竟可能的想出来不同的user cases,然后和面试管讨论,哪些case希望实现。然后,询问面试官不同featur的qps,基于qps分辨出我们的service是read heavy 还是 write heavy。然后基于sevice选sql or no-sql。最后,拓展到 sharding 和 replication。这是基本大方向,至于细节,大家可以向我要doc,仔细体会。

总结一下,亚麻onsite不难,硬bar是各大公司中最低的,血汗工厂么,基本本着easy come的原则来招人。但是,为啥还是有很多人把亚麻面试称为玄学呢,那就是soft bar了,也就是communication了。如何保证好的communication,重要的就是好好准备BQ,熟读亚麻14条,回答问题时时紧扣principle。要懂得随机应变,比如说,你有啥缺点,你就说,接到task,总是想保质保量尽快做完,所以会熬夜不注意身体。。。。。改拍马屁一定要拍,老板永远是对的。。。

附: 亚麻十四条

Customer Obsession

Leaders start with the customer and work backwards. They work vigorously to earn and keep customer trust. Although leaders pay attention to competitors, they obsess over customers.

Ownership

Leaders are owners. They think long term and don’t sacrifice long-term value for short-term results. They act on behalf of the entire company, beyond just their own team. They never say “that’s not my job".

Invent and Simplify

Leaders expect and require innovation and invention from their teams and always find ways to simplify. They are externally aware, look for new ideas from everywhere, and are not limited by “not invented here". As we do new things, we accept that we may be misunderstood for long periods of time.

Are Right, A Lot

Leaders are right a lot. They have strong judgment and good instincts. They seek diverse perspectives and work to disconfirm their beliefs.

Learn and Be Curious

Leaders are never done learning and always seek to improve themselves. They are curious about new possibilities and act to explore them.

Hire and Develop the Best

Leaders raise the performance bar with every hire and promotion. They recognize exceptional talent, and willingly move them throughout the organization. Leaders develop leaders and take seriously their role in coaching others. We work on behalf of our people to invent mechanisms for development like Career Choice.

Insist on the Highest Standards

Leaders have relentlessly high standards - many people may think these standards are unreasonably high. Leaders are continually raising the bar and drive their teams to deliver high quality products, services and processes. Leaders ensure that defects do not get sent down the line and that problems are fixed so they stay fixed.

Think Big

Thinking small is a self-fulfilling prophecy. Leaders create and communicate a bold direction that inspires results. They think differently and look around corners for ways to serve customers.

Bias for Action

Speed matters in business. Many decisions and actions are reversible and do not need extensive study. We value calculated risk taking.

Frugality

Accomplish more with less. Constraints breed resourcefulness, self-sufficiency and invention. There are no extra points for growing headcount, budget size or fixed expense.

Earn Trust

Leaders listen attentively, speak candidly, and treat others respectfully. They are vocally self-critical, even when doing so is awkward or embarrassing. Leaders do not believe their or their team’s body odor smells of perfume. They benchmark themselves and their teams against the best.

Dive Deep

Leaders operate at all levels, stay connected to the details, audit frequently, and are skeptical when metrics and anecdote differ. No task is beneath them.

Have Backbone; Disagree and Commit

Leaders are obligated to respectfully challenge decisions when they disagree, even when doing so is uncomfortable or exhausting. Leaders have conviction and are tenacious. They do not compromise for the sake of social cohesion. Once a decision is determined, they commit wholly.

Deliver Results

Leaders focus on the key inputs for their business and deliver them with the right quality and in a timely fashion. Despite setbacks, they rise to the occasion and never settle.

31 Likes

总结的很不错,另外可以看下 Amazon 最全备战合集

3 Likes

感谢楼主的经验!可以发一份BQ题吗,谢谢。邮箱given209@terpmail.umd.edu

感谢楼主!想要发一份bq和系统设计的题,谢谢! 邮箱chris497c@gmail.com

感谢!求资料!还有13天去palo alto onsite!

我的邮箱mengshen1993@gmail.com

感谢楼主! 求BQ和系统设计的! 非常感谢!邮箱gongmingfeng922@163.com

求bq和系统设计的!非常感谢!!guten_morgen@yeah.net

楼主大好人啊!可以发一份BQ和准备系统设计的材料给我吗?谢谢
flyinthesky0000@gmail.com

楼主好~!同求发一份BQ和系统设计的材料~非常感谢:pray:!!lingy1028@gmail.com

感谢楼主!想要发一份bq和系统设计的题,谢谢! 邮箱jiany.gao@gmail.com

楼主总结得干货满满, 同求发一份BQ和系统设计的材料~非常感谢。tomcat1969@gmail.com

感谢楼主的经验!可以发一份BQ和系统设计的材料吗,谢谢。邮箱wsp2006@gmail.com,十分感谢!

感谢楼主! 可以发一份BQ和系统设计的材料, 非常感谢~ 这周五西雅图onsite… 邮箱: snowanxiaowei@gmail.com 十分感谢!

谢谢楼主的分享!求bq和系统设计的题~
邮箱:libbyandhelen@163.com

楼主求分享BQ! wenlilearn@gmail.com 感激不尽!

谢谢楼主的分享!求bq和系统设计的题,非常感谢。allenstartang@gmail.com

感谢楼主的经验!可以发一份BQ和系统设计的材料吗,邮箱michaellin32@gmail.com ,十分感谢!

求BQ和系统设计 mengshen1993@gmail.com

谢谢!

感谢楼主分享,可以发一份BQ资料吗,邮箱wenyudong0@gmail.com,非常感谢!