I had an online interview on September 13, 2024. The interview process involved solving two questions within 90 minutes. After that, I had two more segments where I had to make workday-related decisions. For example, I was asked to determine which databases I would use to build a voting system with product requirements for a 5-minute duration and display live voting counts.
Interview questions [2]
Question 1
Create a function that takes a slice of 32-bit integers and a number of channels, k, as input. The goal of this function is to split all the integers from the array between the channels (arrays) in such a way that it maximizes the sum of the medians of all the channels. It's important to note that each channel must hold at least one integer.
You are given a string `s` of length `n`. Your task is to return the next nice string based on lexicographic order of len n. A nice string is defined as a string in which no two adjacent characters are the same. For example, "abb" is not a nice string because "bb" are duplicate adjacent characters.
Please note that if the string contains "zz", it cannot be transformed into a nice string, and in such cases, you should return "-1". Additionally, the character 'z' cannot be increased as it is the last character and cannot be transformed into 'a'.
I applied online. I interviewed at Amazon (Ámsterdam)
Interview
The interview process was smooth and friendly. The interview loop was tiring, consisting of four different interviews. Behavioral questions were asked in all of them, and Amazon's leadership principles were very important.
Online Assessment: Four Questions, One Simple, One Medium, Two Hard
Phone Interview: Behavioural, Roughly Thirty
Final Interview: Technical & Behavioural it is one hour so 30 minutes each. Medium-Level Technical Question, and simple project-based behavioural questions
Interview questions [1]
Question 1
What is a challenge you faced when dealing with disagreement with higher management