Amazon [off-campus]|Programmer Analyst|Hyderabad(India)|September 2021 [Offered]
Summary
I recently interviewed for the Programmer Analyst role at Amazon as a new graduate and successfully received an offer after completing five rounds of technical and behavioral assessments.
Full Experience
I interviewed off-campus for the Programmer Analyst position at Amazon in Hyderabad. As a new graduate from a Tier 3 institution, I was excited to go through their rigorous interview process.
Round 1: Online Assessment (2 hours)
This round was conducted on HackerEarth and consisted of three programming questions.Round 2: Technical Interview (1 hour)
This round started with my self-introduction, followed by two coding questions.- The first question was a twist on the 'Next Greater Element' problem. Instead of finding the next greater element itself, I had to find the index of the next greater element. If no greater element was present, I had to return -1. An example provided was
arr = [72,73,74,70,69,70,75,76,73,72], with the expected output being[1, 1, 4, 3, 1, 1, 1, -1, -1, -1]. - The second question was the classic Two Sum Problem.
Round 3: Technical Interview (1 hour)
Similar to the previous round, I began with a self-introduction. The interviewer then asked me to explain my projects in depth and elaborated on the Programmer Analyst role. Two more coding questions were presented:- The first was to check whether a given tree is a Binary Search Tree (BST) or not.
- The second was to find the Nth last node of a Linked List.
Round 4: Technical + Behavioral Interview (1 hour)
This round was primarily focused on my projects and situation-based behavioral questions.Round 5 (Final): Technical + Behavioral Interview (1 hour)
This was considered the 'bar raiser' round. The discussion primarily revolved around my internship experience and specific projects I had worked on during that time. I was asked several behavioral questions:- "Tell me about a time where you worked with a customer."
- "Tell me about a time where you didn’t satisfy the customer requirements."
- Given two Binary Trees, I had to check if one tree is a mirror of another tree or not.
Verdict: Offered
Interview Questions (7)
Next Greater Element Index
Given an array arr, for each element, find the index of the next greater element. If no such element exists, return -1. For example, given arr = [72,73,74,70,69,70,75,76,73,72], the output should be [1, 1, 4, 3, 1, 1, 1, -1, -1, -1].
Two Sum
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
Validate Binary Search Tree
Given the root of a binary tree, determine if it is a valid binary search tree (BST).
Remove Nth Node From End of List
Given the head of a linked list, remove the n-th node from the end of the list and return its head.
Worked with a customer
Tell me about a time where you worked with a customer.
Didn't satisfy customer requirements
Tell me about a time where you didn’t satisfy the customer requirements.
Symmetric Tree
Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).