亚麻 New Grad 挂经

楼主 CS 小硕

店面 (1 小时):

Onsite:

第一轮:

  • Behavioral questions
    1. Tell me a time when you objected your manager and did what you think is right. What was the outcome?
    2. Tell me about a time you had to sacrifice short term goals for long term goals
    3. and one more LP that cannot remember
  • Algorithm question
    1. You are logging users visited your page as stream of data. Implement a function to return the id of first user that never visited the page again (only visited once).
      void logUser(int id);
      int firstUniqueVisitor();
      Follow-up: Imrove the O(n) complexity

第二轮:

  • Behavioral questions
    1. Tell me about a time you helped your team mates
    2. Tell me about a time you had a tight deadline
    3. and one more LP that cannot remember
  • Algorithm question (maintainable code)
    1. Merge K Sorted Iterators

第三轮:

  • Behavioral questions
    1. Tell me about a time where you came up with an innovative solution
    2. Tell me about a time you had to persuade your team members
    3. Tell me about a time you had to deal with ambiguity
  • Algorithm question
    1. https://leetcode.com/problems/jump-game
      Follow-up: Return any single path (indices) results in a victory
1 Like

也报一个挂经
面的组应该是prime video,我那个hr感觉很不专业,直到我面试前一天下午四点多才告诉我,我第二天的schedule。他也一直没有告诉我是面的哪个组。但是面试官里有一个好像是prime video的manager,所以我觉得是这个组。反正那个manager感觉也不那么友好吧。

一共四轮,各一个小时

第一轮,印度小哥,bq忘记了,但是论坛里有的总结很全面,基本都能涵盖
coding是meger k sorted array,我眼睁睁的看着印度小哥打开了geeksforgeeks,然后开始在白板上抄题,需要优化并分析时间复杂度。

第二轮,还是个三哥,bq也忘了
coding不是算法题,是需要给一个学生选课系统做一个validation,规则是同一个学生不能在同一天上相同的课,并且同一时间只能上一门课。
根据这两个规则设计了一下学生和课程的类,最后问了一下如果有更多的规则应该怎么办,我说了加interface感觉面试官很满意,应该是他想要听的。

第三轮,不知道哪里人,口音跟三哥差不多重,bq问了why Amazon
ood 设计停车场,很经典的题

第四轮,印度大哥,bq一堆,
算法题没写出来,https://leetcode.com/problems/alien-dictionary/
回来以后发现是leetcode有的,几乎一样,但我确实没刷过这道题,估计最后是跪了

总结,之前看面经大家都说coding都是简单或中等的题,所以最后一个算法我确实没有复习,还是自己准备不充分,另外bq真的很多,我准备了十个story左右,最后问到我已经没有能说的了,只好把之前一个story又说了一遍。