Open In App

Amazon interview Experience | Set 140 (Experienced for SDE)

Last Updated : 08 Aug, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Hi, Recently i had interviews with Amazon.

1st Round (Telephonic):
1. Given an integer array and a constant number X, print all pair of number in the array whose product is equal to X.
follow ups: how will you do in O(n)? how will you handle duplicate pairs?
Code was required on collabedit.

2. He asked do I know level order traversal of binary tree. He ask me to code then, he changed the question and asked about spiral order traversal of binary Tree and asked me to code it.

2nd Round (Telephonic):
1. In a BST two nodes were swapped. Given the pointer to root node find the two nodes and rectify the tree. He asked the approach then asked me to code the same in collabedit.

2. Given an integer array, find and print three element in the array whose product is maximum. Code was required.

3rd Round (face2face onsite)
1. Given a sorted array of n integers, count and display number of triplets such that a[i] < a[j] < a[k] 0(n) time. Code was required.
2. In a given string some of the characters are replaced by question mark, and you can replace question mark with any character. Given such a string find total number of palindrome that can created. String contains only [a-z] characters and question marks can also be only replaced by [a-z]. Example: Input String: String str=”a??a” Output: 26
3. Given a binary tree all the leaf nodes in the form of a doubly linked list. Find the height of the tree. amazonInterview

4th Round (Hiring Manager Round):
Detailed discussion about previous company work?

Why I want to leave my previous employer?

Why Amazon?

What if I don’t like the work?

What are challenges I have faced in my work, how I resolved it?

Weakness and strength?

What does router do, what is static routing? Given a routing table, how would you decrease the time taken by router to decide to which router packet must be forwarded?

Details of algorithm that could be implemented and discussion time and space complexities.

5Th Round (Face2Face Onsite):
1. Given N sorted LinkList of different length, merge them into a single sorted link list. Pseudo code was required.

2. Given a number d and size of array N. Print all combination of element in the array such that first element of array is d and next element in the array can be +1 or -1 the previous element in the array. Code was required.

E.g. Input: d=4 N=3
Output:
  4 3 2
  4 3 4
  4 5 4
  4 5 6

3. What is LRU and implementation of lru? Write pseudo code for the same.

I would like to thanks GeeksforGeeks for providing us such a learning platform.



Previous Article
Next Article

Similar Reads

Microsoft Interview Experience | Set 140 (On-Campus For Internship)
Written Test: 75 minutes online round (Cocubes) in which 3 simple questions were asked. A pool of questions was there and each person will get random questions in each difficulty level. CGPA cutoff was 7. Nearly, 45 people appeared for the test. Given an array of penalties, an array of car numbers and also the date. Output the total fine which will
5 min read
Amazon Interview Experience | Set 433 (SDE 2 for Experienced)
Round 1 What is caching and how it is used. Types of cache eviction policies. Any cache you might have used for your project. Explain. Implement LRU cache. We first had discussion over different ways for implementation and then wrote the code using circular dll and map. Any tradeoffs you have made in your past in any of your projects. Explain Round
2 min read
Amazon Interview Experience | Set 232 (SDE-1 for 1 Year Experienced)
Interview 1: Before the interview began we were asked to solve 6 questions Write a function to swap a number in place without temporary variables. Find out if number is power of 2. Find the least common ancestor of 2 nodes in a BST. Write a method to replace all spaces in a string with '%20'. Check if binary tree is balanced. Implement an algorithm
6 min read
Amazon Interview Experience | Set 233 (1 Year Experienced for SDE-1)
I recently had interviews with Amazon.com, Bangalore. Here’s my interview experienceCoding round (1 hour): 1. Find minimum number of coins that make a given value Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1, C2, .. , Cm} valued coins, what is the minimum number of coins to make the change?
2 min read
Amazon Interview Experience | Set 240 (1.5 Year Experienced for SDE-1)
I recently had interviews with Amazon. Here’s my interview experience Coding round on Hacker rank (1 hour): 1. Find minimum number of coins that make a given value Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1, C2, .. , Cm} valued coins, what is the minimum number of coins to make the change
4 min read
Amazon Interview Experience | Set 275 ( Off-Campus SDE-I Experienced)
I was interviewed in Delhi for SDE-I position in Kindle Frameworks Team at Amazon. I was working as a Project Lead in Samsung, Noida and had a total experience of 1 year 10 months in the Software Industry. Round 1 : Written Print Boundary Traversal of a Given Binary Tree Add Two Numbers Represented by Linked Lists Print all Possible Permutations of
4 min read
Amazon Interview Experience | Set 340 (3.5 years experienced for SDE 1)
Recently I have gone through interview with Amazon Chennai for Amazon FIRE TV team. Here is my positive experience. Round 1(written): 1. Run Length Encoding 2. Find k-th smallest element in BST (Order Statistics in BST) 3. Substrings with similar first and last characters Round 2: 1. Level order traversal in spiral form 2. It's a two player game. B
2 min read
Amazon Interview | Set 77 (Off-Campus For SDE-1 / 1.5yrs experienced)
Amazon SDE1 Off campus Written Round 1. Given an array in which elements are first increasing and then decreasing. find the maximum element in the array. 2. Given an array of unsorted elements, find the minimum difference between any 2 elements in the array. 1st f2f Discussion about my projects (nearly 20 mins) 1. Given an array of positive numbers
3 min read
Amazon Interview Experience for SDE 1 (Experienced)
I had applied through Amazon Diversity Hiring Challenge for women at Hacker-earth. Round 1: Online Coding Test There were two coding questions that had to be solved in 3 hours. I was able to solve one completely and one partially. After around a month, I received a mail from Amazon that I was shortlisted for the interview. My first two rounds of te
3 min read
Amazon Interview Experience | 1 year Experienced for SDE-1
Location:- Hyderabad Round 1: Written Round- 1.Print binary tree vertically. 2.Given matrix of "#", "&amp;", source "S", destinations "D", calculate minimum number of steps required to go from Source to Destination. Can only move in four directions(up, down, right, left) Round 2: F2F Interview 1.Given 'N' houses find number of ways to paint it with
1 min read
Amazon Interview Experience for SDE 2 (3 years Experienced)
Amazon Interview Experience 1: Screening Round: Find all pairs that add up to 0 Find all pairs with sum closest(abs value) to 0 but non 0 Find all pairs with sum farthest(abs) to 0 Design Round: A startup website has a lot of real-time traffic . I want to see the real-time view (refreshed every 1 min)  of top 20 users by hit count within last 10 mi
2 min read
Amazon Interview Experience for SDE-1(0 - 2 years Experienced)
Amazon Interview Experience for SDE - 1 Off campus Drive Bengaluru. Myself 2019 passed out. First round is a written round. There are different sets of questions. Round 1  WRITTEN TEST -&gt; Stocks maximum profit problem -&gt; Sum of heights of nodes in binary tree Above round is for 45 min. After that they announced results. I was shortlisted for
3 min read
Amazon Interview Experience for SDE 1 (1.5 years Experienced)
Amazon Chennai conducted drive for SDE 1 and SDE 2 recently on 28th September in Delhi Initially there was a written round where we were asked to write algorithms for certain problems. The problems were of medium level. There were total 3 problems as: Problem 1: Check whether given linked list is palindrome or not Problem 2: Find row with maximum n
3 min read
Amazon Interview Experience | SDE-1 (1-1.5 years experienced)
First Try: Round 1: Written test. Q1. given a matrix of characters. find minimum steps to reach from 'S' to 'D' where '#' is an obstacle. Solution: BFS from 'S' to 'D'. Q2. print a binary tree vertically. link Round 2: f2f interview. Q1. given a binary tree print the nodes whose parent and grandparents sum is more than K. Solution: pass GP and pare
3 min read
Amazon Interview Experience | SDE (1.5 Year Experienced)
Round 1 - Online Coding Round on Amcat Platform: 1) Top N competitors similar to this https://leetcode.com/discuss/interview-question/460127/ 2) A very similar question to this, the same concept of BFS will apply. Given a 2D grid, each cell is either a zombie 1 or a human 0. Zombies can turn adjacent (up/down/left/right) human beings into zombies e
5 min read
Amazon Interview Experience | SDE-1 (Off-Campus, 1 Year Experienced)
Hey guys ! I am sharing with you my interview experience with Amazon for SDE-1 role in June 2020. I was contacted by the HR asking me for my Resume. Next day she said she will be sharing an Online Assessment link. Round 1:(Online Coding Round on Amcat Platform) There were two coding questions need to be completed in 90 Min. https://leetcode.com/dis
3 min read
Amazon Interview Experience for SDE-1 | 1.3 years Experienced (Aug-2020)
Content Removed.
1 min read
Amazon Interview Experience for SDE | Off-Campus (1-1.5 year experienced)
Round 1 (Online coding Round): This round was held on Amcat. There were 2 coding questions. Given the 2D matrix. Each cell has a value 0 or 1. 1 represents land and 0 represents water. Find the Number of islands. Example: Input: 1 1 0 0 1 0 Output: 2 0 0 1 Approach: DFS in 2D matrix and take a count of how many times you have to do DFS to cover all
9 min read
Amazon Interview Experience for SDE-1 (2 Years Experienced)
Applied for SDE-1 @Amazon through Jobs Portal for Bangalore Location. Total 5 rounds (all Online) were taken including Written Test. Below is my experience. Round 1 (Written Test 1.5 hours): 2 coding questions: Don't remember the exact question but it was String-based Custom Sorting.Given an M*N chessboard find minimum steps for the knight to move
2 min read
Amazon Interview Experience for SDE-1 (1 year Experienced)
I got this opportunity during the COVID time and hence all the interview rounds were conducted on Amazon Chime (video call) and I had to write the code on LiveCode (a shared IDE) which was visible to both me and the interviewer. First-round (Online Test) There is a matrix containing 0,1 and 9. You need to start from the top left and reach the cell
5 min read
Amazon Interview Experience for SDE-1 | 6 Months Experienced (Off-Campus)
I appeared for Amazon's recruitment process in December 2020. I got a call from a recruiter at Amazon for the SDE-1 role. There was a total of 5 rounds (1 online coding test + 4 interviews). Round 1(Online coding test): The test contains two coding questions which you have to solve within 2 hours. You also have to submit the approach used for solvi
4 min read
Amazon Interview Experience for SDE-2 | 4 Years Experienced
Content Removed.
1 min read
Amazon Interview Experience for SDE 1 (6-Months Experienced)
I applied for SDE1 Role in Amazon March 2021. Selection process completed till Mid-June. I will try to give all the details in this Article. Apply - I visited Amazon career page, there I found some roles for SDE1 (6 months experienced). I messaged 3-5 people working in amazon for referral through linkedIn. I attached my resume and job Id in the mes
4 min read
Amazon Interview Experience for SDE-1 | 1 Year Experienced
Applied through employee referral. Got an email for giving coding test within couple of days Round 1(Coding Round): First question was similar to https://www.geeksforgeeks.org/find-k-closest-points-to-the-origin/ Given an array of integers, find number of pairs of elements who have sum less than value "K". Tip: Solve coding round questions using br
2 min read
Amazon Interview Experience SDE-2 (3 Years Experienced)
I was interviewed at Amazon Bengaluru for SDE 2 role. Round 1 (Online Test, Hackerrank): Doesn't Remember the questions. But one was easy and the other was the stack-based medium-level question. Round 2 (Video Call, Technical): Started with a basic introduction and then two DSA questions. https://www.geeksforgeeks.org/count-number-ways-tile-floor-s
2 min read
Amazon Interview Experience SDE-2 (3.3 Years Experienced)
I was interviewed at Amazon Bengaluru for SDE 2 role in Sept 2022 Round 1 (Online Test, Hackerrank): Don't remember the exact question, one was easy and one was medium level. Round 2 (Video Call, Technical): It started with introducing each other and one behavior question. Behavioral Question: Do you remember any incident where you were anticipated
2 min read
Amazon Interview Experience SDE 1 (2.5 Years Experienced)
Got a message from HR on Linkedin that my profile has been shortlisted for SDE-2 profile He sent me Invite for Interview in Amazon Gurgaon Office Round 1 (Written Round) Return Nth Node from the back of the linked list Zigzag Traversal of Tree Max length path between any two points in the given N*M  matrix such that all elements in that path are in
3 min read
Amazon interview experience | SDE-1 | 2.5 years experienced
A few nuggets before going in: Prepare well. Work hard. Speak confidently. Be fast (dont by-heart the answer though!) Round 1 (Telephonic): Got a call from a person in the team for which the interview was being conducted. Questions were on my project, and basic concepts like SSL etc. (this differs from team to team I believe) Round 2 (Online - AMCA
2 min read
Amazon Interview Experience for SDE-1 | 7 Months Experienced
Online Round: Question-related to the priority queueSimple Ad Hoc question Round 1(Chime Interview): Taken by SDE 2 (1 hour, 15 mins) There are N bubbles in an array. A bubble with a positive value means it's moving towards the right and has a mass of absolute value of A[i]. Similar to a negative value, it's moving towards the left with a mass of a
2 min read
Amazon Interview Experience for SDE-I | 1+ Years Experienced
I have applied through referral and I got an online coding test invite link after few days Round 1(Online Coding Round): This happened on hackerrank platform and two questions were asked and questions were of medium leetcode range. Round 2(Technical Round 1): This round happened on amazon chime platform and interviewer was SDE-II. In this round 2 c
2 min read