Amazon Phone Screen || SDE 1 || Berlin || Reject
Hello communtiy,
This post is a bit late but still I wanted to share my experience.
I applied to different locations in EMEA and solved both the questions. (For questions you can search in discuss and practice them, it will help to solve new ones.)
Got a phone screen invite after a long time for Berlin location and scheduled the interview after 10 days. I prepared well for it and revised everything but still it was a bad luck.
Interviewer gave their introduction and without asking mine jumped directly to if I have any questions, which is generally asked at the end, so, I just said 'we can keep that for end' as phone screen was of 30 minutes only.
Then I was given a question to code.
A log of user browser history is given and I have to give the most visited or frequent page sequence of three consecutive website. It was little similar to https://leetcode.com/problems/analyze-user-website-visit-pattern/
After clarifying things I started to code in c++ then he changed the input format which he originally pasted (now looked like javascript style). It was in a string format now with time of visit. I didnt bother sorting since it was a log report and communicated the same and proceed to solve it by storing full record in array of vector of string (i know its pointless and vector string was enough, it happened due to rush) for respective customer (A-Z as discussed during clarification). I extracted customer name and the website visited by picking from index pos in string given.
And the interviewer was not able to grasp that arr[s[8] - 'A'] (here lets say 'B' - 'A') was being used to get index of location to store at and he asked many times while writing code what is this doing and why you fixed 'A'.
I wrote the complete working code (editor doesnt have compiler) and did a dry run but he still could not understand it. I had to explain him my logic and approach more than 5 times when writing code as he kept on asking every minute. Did dry run also few times after completing my code and still he was in doubt especially about that index calculation. It felt like he was either just wasting time or could not understand DSA (I checked his linkedin a day before interview and there was no data structures or algorithm or c++ in his skills section), it was a total distraction and caused me to make mistakes while writing code which I fixed eventually.
He then asked tc and sc which I told is linear by going thru every section of code. Then he asked for an optimal solution which I said this is the optimal one (I could think any further whether it could be optimzed as I already arranged the input for processing then used a map and sliding window of size 3 to store each 3 len character(websites A-Z) in map and updated the frequency. Then returned the one with highest frequency.)
Then during qna session I confronted him knowing it is definitely a reject that what kind of solution he was looking for but he just said he just wanted to see my approach and way of solving problem, then I asked questions about the role, projects and his work.
It was a terrible experience, a wasted opportunity. I then checked about this question and found another variant of it which was asked in SDE 2 interview of Amazon and that guy was also rejected inspite of giving a linear solution. Oh and btw my interviewer was from AWS team, I've also heard that if aws person takes interview then its really going to be based on luck.
Got the rejection mail in a day.


