亚麻 SDE3 过经

背景

现状:Principal Engineer.。
职位:亚马逊的SDE3
地点:加州 Manhattan Beach

Onsite

5轮和一个午餐讨论

Round 1

  • Breif introduction. 5 mins
    • I kept it really short and simple, a quick 2 mins background about myself.
    • There was some follow up questions.
  • Behavioral question 15 mins
    • Based on past experience.
  • Coding question: 30 mins
    • LRU Cache
      • Completed it with O(1) time and O(n) space.

Round 2

  • Behavioral + Technical Questions. 25mins
    • Again based on past experience
  • Coding question: 30 mins
    • Shortest path
    • Could not complete it.
      • Discussed a lot of alternatives and recurssive and non-recurrsive alternatives.
      • Half implemented both of them
      • Missed edge case of not finding a path

Lunch with an Amazon Buddy

  • Pretty casual.
  • Was explained that this would not count to my interview score.
  • Was asked to relax
  • Had a good discussion of their challenges and competition.

Round 3

  • Behavioral + Technical Questions. 25mins
  • System Design 30 mins
  • 5 mins to ask any questions
    • Was an open-ended conversation.
    • I think I should have done better here, especially discuss more about volume and technologies

Round 4

  • Introduction 10mins
  • Behavioral 20 mins
  • What is the most exciting project you worked on.
    • Explain it’s design
    • Why was it challenging?
    • Scale it to 10 million

Round 5

  • Behavioral 20 mins
  • System design 30 mins
  • Questions 15 mins
    • How do you practice scale on your own?
    • Had a wonderful conversation we took longer just discussing technologies.

思考

总的来说,每个面试官都非常有礼貌,乐于助人,友好地交谈和准时。

要记住的一件事是,每个面试官都会记录很多笔记,很难专注于键盘声音。所以要做好准备!

Reading about other people advice, I made sure I had a good breakfast, caffeine and lunch when it was offered. Try to limit yourself when it comes to water, since bathroom breaks are costly. Each interview was on time and there was hardly any time to gather your own thoughts.

我个人密切关注我的手表,确保我总是留下时间而不会被卡住。

几天之内,我接到了猎头的电话,我得到了offer :slight_smile:

电面

Total time alloted: 1hr
Language: JAVA

Initial introduction: - 5 mins

2 coding questions:

  1. Reverse a linked list. Must not use extra space. . - 20 mins
  • Discussed Stack implementation with using extra space
  • Implemented a LinkedList
    • Talked about constructor and design pattern to create one.
  • Discussed Time and Space complexities.
  • Implemented and then tested using an example.
  1. Binary Search Tree check - 25 mins
  • Created an example
  • Defined what should be a Binary search tree
  • Needed a hint from the inteviewer for it’s implementation
  • Discussed Time and Space complexities.
  • Implemented and then tested using couple of examples.

System architecture question: - 5 mins
Q. How do you guarantee thread safety in your LinkedList implementaion

  • Discussed:
    • static functions
    • Using locks
    • Creating different constructors so that developers can choose to use safe or unsafe structures.

Behavioural Question - 5 mins
Based on past experience.

Questions to the inteviewer - 5 mins

思考

我的整体经历非常积极。在整个面试过程中,我们进行了很多讨论,感觉非常舒服。
One thing is that interviewing at Amazon, they take a lot of notes, so be ready to not be distracted as you hear background sounds. The interviewer made sure I am aware of that fact.

Regardless of whether right, wrong of sub-optimal I ensured that I communicate and discuss it with my interviewer.

Received a call the next day and was called onsite.

谢谢分享