Walking into the technical round, I recognized the prompt instantly—it was the same stock price problem I had worked through on PracHub while prepping. The interviewer had me discuss both the brute force approach and the optimized single-pass solution. Before that, a recruiter screen helped clarify my fit for the role, and there was a behavioral round focused on team collaboration. Overall, I found the process straightforward, and I received an offer, but ultimately opted to decline for another opportunity.
Interview questions [1]
Question 1
Given an array of stock prices where prices[i] is the price on day i, return the maximum profit you can achieve from a single buy/sell. You must buy before you sell. Walk through brute force O(n^2), then the single-pass O(n) approach tracking min-so-far, and confirm what to return if no profitable trade exists.
I applied online. I interviewed at Amazon (Sydney)
Interview
I can't comment much. I submitted an application for the software engineer position, and not even a minute later, I received an auto rejection email from Amazon (never received an online assessment).
2 behavioral 2 coding not very difficult. Behavioral is tell me about a time you took responsibility beyond your role and biggest accomplishment. The process is exactly the guideline they posted for interview.
Interview questions [1]
Question 1
tell me about a time you took responsibility beyond your role
It was a 2-3 round process, depending on how your interview went, with increasingly hard DSA questions followed by some HR and behavioural questions. First round was mostly easy and medium leetcode, followed by medium and hard questions in the second round and above on more complex topics.