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.
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.
I applied online. I interviewed at Amazon (Bengaluru)
Interview
The interview process consisted of an online assessment followed by two technical interview rounds and one behavioral round. The technical rounds focused on Data Structures, Algorithms, Java, and problem-solving skills. The behavioral round covered Amazon Leadership Principles and past project experiences. The interviewers were professional and the process was well structured.
Interview questions [1]
Question 1
Q: Find the first non-repeating character in a string.
I applied online. I interviewed at Amazon (Tel Aviv-Yafo)
Interview
Amazon's home assignment test involves receiving a coding or case study assignment, completing it independently within a specified deadline (usually a few days), and submitting it for team review. I got an answer after 2 days