Open In App

Amazon Interview Experience for Summer SDE Internship (2024)

Last Updated : 19 Feb, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

The assessment was held on hacker rank with 2 coding questions given a time of 70 minutes;

The first Question uses HashMap and the array concept. The array given will contain the weight of the package in orders such that Ai is the weight of package i. In a Single Trip, the Agent can deliver by choosing either two packages with the same weight or three packages with the same weight. Determine the minimum number of trips required if it is not possible to deliver all orders return -1

Example : INPUT : A=[2,4,6,6,4,2,4] OUTPUT : 3

The second question is based on string regex. We will be given a string and string regex expression we need to check if the expression matches the string.

Both were challenging i was able to solve the problem partially because in both cases 6 hidden tests did not pass. After the hackkerank submission, I was redirected to a page where I needed to behavioural-based questions. If you are trying to get into Amazon please practice with string regex because it was even asked in the sample problem. All the questions were unique because they did not come for leetcode or any other platforms. So be strong with the DSA concepts


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads