In this post, we provide an in-depth look at the Amazon Interview Experience in the USA, Amazon Interview Experience in Canada, and Amazon Interview Questions. We cover the full spectrum of Amazon interviews, including the Amazon SDE-I Onsite Interview Experience in Seattle, USA, and detailed insights into the Amazon coding questions frequently asked during interviews. Additionally, we offer valuable tips and strategies on how to prepare for Amazon interviews, helping you to navigate the process with confidence and succeed in securing your position at Amazon.
The sections are Divided as
- Amazon Interview Experience, Amazon Interview Questions USA
- Amazon Interview Experience, Amazon Interview Questions Canada
- Amazon Interview Experience, Amazon Interview Questions India
- Must Read Amazon Interview Questions.
- Amazon coding Questions
- How to Prepare for Amazon
About Amazon
Amazon is guided by four principles: customer obsession rather than competitor focus, passion for invention, commitment to operational excellence, and long-term thinking. We are driven by the excitement of building technologies, inventing products, and providing services that change lives. We embrace new ways of doing things, make decisions quickly, and are not afraid to fail. We have the scope and capabilities of a large company, and the spirit and heart of a small one.
YOU MAY ALSO LIKE:
EPSILON INTERVIEW QUESTION 2021
CISCO INTERVIEW QUESTION AND INTERVIEW EXPERIENCE 2021
Wells Fargo Interview Experience
Amdocs Recruitment process , Amdocs Interview Questions
Amazon Interview Questions USA | Amazon Interview Experience USA
![Amazon Code](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
Amazon Interview Questions | SDE-I | Onsite | Seattle-USA
I want to share my recent experience interviewing with Amazon for an SDE-I position. I completed my Hackerrank coding challenge in February, passing all cases for the first question and 10/17 for the second. The questions were similar to those found in the Amazon question bank. Within a week, I received a request for a phone interview. At the same time, I was preparing for a Bloomberg onsite, so I didn’t need to study extra for Amazon. My phone interview was scheduled for March 17, 2021, following a Bloomberg onsite on March 12, which I did not pass. I received a rejection on the morning of the 17th, which was a tough start to the day. The phone interview included a number of island coding question, along with follow-ups and leadership principles related to customer obsession. A week after the phone interview, I was invited for a final onsite interview scheduled for April 9.
Round 1 of Amazon Interview
Leadership: Have Backbone
Coding: LinkedHashMap question similar to LRU
I was initially overwhelmed by the question and discussed using queues to solve it. However, the interviewer provided hints that led me to a working solution just before the end of the interview. We didn’t have time to discuss complexity.
Round 2 of Amazon Interview
Leadership: Learn and Be Curious, Ownership
Coding: Design a fast-food restaurant with a kiosk and order process, including follow-ups
This round was challenging, particularly with the bar raiser. Leadership principles took 35-40 minutes, with detailed questions and clarifications. For the design part, I initially designed classes but struggled with changes under time pressure, which affected my performance.
Round 3 of Amazon Interview
Leadership: Deliver Results, Bias for Action
Coding: Design HashMap question with complexity and follow-ups
This was the most enjoyable interview for me. I provided strong leadership examples and navigated the coding question effectively, having encountered similar questions before. The follow-ups were engaging, and this was probably my best interview.
Round 4 of Amazon Interview
Leadership: Invent and Simplify, Customer Obsession, Insist on the Highest Standards, Dive Deep
This final round with the engineering manager was thorough, with deep dives into my stories and the presence of a shadow interviewer.
It’s crucial to keep speaking throughout the interview, even if you feel stuck. Asking questions, even if they seem off, can help the interviewer understand your thought process and provide cues.
Overall, I found the interviewers to be more understanding compared to Bloomberg, making it a positive experience. I will be graduating in May 2021 and have a few years of previous experience with an MNC.
Amazon Interview Questions| SDE2 | Seattle |
OA Assessment :
I gave OA on 4th jan There were 2 question, one was hard leetcode and other was medium level but not from leetcode. I couldn’t pass all the test cases of medium question but did pass all the test cases for hard level and for both questions I need to mention my approach to solve it. I received a result on the same day that I have cleared OA round, thanks to leetcode community.
I was asked to choose between 3 dates for my next interview which will be total of 4 interviews on the same day of which 3 will be based on coding and one will be system design. And all four rounds will have leadership principles based questions as well.
I choose the last date from the given dates as I needed more time for preparing my coding and system design round. Especially system design as I had 0 exp in this as my current position was more based on front end technology.
I chose 21st jan for my next interview. While preparing for the interview, I solved around 200 questions of leetcode and around 40 tushar roy dp videos. (I have already prepared them before, so it didnt take much time to do them again). Also I practiced oop low level design quetion for 2 days and tried to do system design in a week where 1st half I would to system design and 2nd half I would practice coding.
I was only left with one day before interview and I did not prepare anything for my leadership principles questions.
By this time I did not receive any invitation from interviewers for my interview on next day. Soon I was informed that the position is already filled and they will take my interview for different team on different day. I was given option again to choose one out of 3 dates. And as I knew that I will need enough time to prepare for low level design and system design questions I again chose the last date that was feb 19 2021.
I started preparing with low level design question from ctci book for almost a week (I was also working for my current company). Then from 1st feb I started preparing for system design for 10 days straight from youtube videos and other resources. I gained some confidence but I knew this topic is vast and I cannot make justice to this in 10 days. Anyways, I then revised my coding questions again primarly amazon freq asked question on leetcode. And gave around 4 days to prepare for leader ship principles. I always thought I could prepare it faster but coming up with scenarios that perfectly fit to the leadership priciples were hard for me but discussing it with my gf and receiveing her feedback helped me in preparing this as well. Now I was very nervous before my interview.
19th feb 2021.
1st Amazon chime round(video):
I received a call from one person and he asked me several leadership questions and than gave me a coding question.
I initially thought it is easy for me to code this question as it was mainly based on manipulating number format inside a string and so I just explained him the approach, but then he told me other cases that I was not considering and those cases made the problem more complex. So I started coding and I was getting stuck as I was using multiple while loops. then he asked me to declutter my answer and did that but was unable to write a working code to complete the question. I was disappointed as I knew that I couldnt even finish coding question so I have lost the opportunity for amazon. The interview ended 5 min before and I asked him a question that I have already prepared regarding amazon.
2nd Amazon chime round(video):
This was the system design round. I was joined by 2 people. The question was mainly based on amazon internal system. I tried to come up with the solution but it was not the best. Also they asked me several questions regading my design and I could not answer most of them but could answer few.
Overall this round was not good for me as well.
3rd Amazon chime round(video):
I started this round with sip of monster as I was so unmotivated now to move forward as I was sure I will not get the offer. I was joined again by 2 people. they asked my some leadership questions, pressed me harder on one of my answer but I was able to defend it well. Then I received a low level design question for one of the game. I never played that game so I asked them to explain it to me. They opened the game for me and shown how its played. I was asked to first design that game and then write logic on how to play. I was able to rock this round as I was able to complete my design of game as well as write the logic to play it(it involved bfs algo). Interviewer seemed happy and I finished this round 5 min before my next round
4th Amazon chime round(video):
I was contacted by a guy working from 8 years in Amazon. He again asked me several leadership principles based questions. By this time I repeated most of my stories. Then for some reason the coding link question was not working so we decided to code in the system design round link.
The question was again based on low level design of a system (similar to lru, lfu cache but different int the way it will work). I have previously solved lru and lfu but this was quite different from them. With the help of my interviewer I could manage to write a brute force way to design that cache. This round continued for more than an hour. Overall I was not very optimistic with this round as I needed lots of hints and still managed to get a brute force algo.
Amazon Interview Questions| SDE1 | Seattle |
Online Assessment :
The OA was over Hackerrank. There were 2 coding questions with each one requiring some written explaination about the thought process, time and space complexities.
The questions were from the curated list of Amazon OA questions available on the internet. My code passed all the test cases for both the questions and I was contacted by the recruiter the next day and we had a discussion on the next step – Virtual Onsite.
Virtual Onsite :
I had my virtual onsite 10 days after I passed the OA. Interviews were 1 hour long with 15 minutes break after every interview. Each interview consisted of 20 minutes of LP based discussion.
- Round 1 : System Design – A typical distributed system design question. I am pretty sure I bombed this one.
- Round 2 : Object Oriented Design – Started with some vague requirments. Asked questions and clarified the requirments. Came up with a simple OOP class. The interviewer kept on adding the requirments and I modified the code accordingly. I felt I did well in this one.
- Round 3 : Coding – A Problem on graphs with some follow-ups. I was able to solve the problem and was able to address the follow-ups. Later I was asked to write custom testcases. (I Couldn’t find the question on LC).
- Round 4 : Coding – A problem on Recursion and Memoization. I was able to solve and I walked through the code with an example test case. (I Couldn’t find this question on LC either, definitely LC hard).
2. Amazon Interview Questions Canada /Amazon Interview Experience canada
Here below we discuss Amazon canada Interview questions
Amazon Interview Questions | SDE1 |CANADA
Phone Screen
I was first approached by technical recruiter from LinkedIn and he had a 30-minute phone screen with me. No technical questions were asked, he just wanted to understand my background and he talked briefly about the job responsiblity. He then sent me a link to the job description. I was contacted via email to schedule the virtual interviews few days later.
4 rounds of virtual interview for AMAZON
Round 1:
- 2LPs (20 mins)
- a question related to spliting strings with space to a given size such that the result is an array of strings such that the length of each string is less than or equal to size
n
I was able to solve this question and the interviewer seemed satisfied with my approach
Round 2:
- bar raiser
- 2LPs (25 mins)
- question: there is a server that records a vehicle’s coordinates (x,y) every second. The objective is, given an intersection’s coordinates (x,y), start_time, end_time, write a function to find the number of vehicles that crosses the intersection.
- e.g. vehicle v1, t1, coordinate is (1,0); t2, coordinate is (3,0), if the given intersection’s coordinates is (2,0), then there is 1 vehicle (v1) that passes the intersection
In my opinion, this question was the most vague and hardest questions (expected from bar raiser). I wasn’t able to solve this problem as I was confused by the problem itself, even I asked a lot of clarifying questions.
Round 3:
- 2LPs (20-25mins)
- question: Concatenated Words except the output is the opposite, which was array of array of words that can combine to the word in the list
I wasn’t able to code a workable solution (wish I finish all the problems from the Amazon list)
Round 4:
- software development manager round
- 2LPs (20-25mins)
- OOD. Design a library that can convert temperature units. The client should be able to use the existing temperatures in the library to convert temperature. The client should also be able to convert their custom temperatures using custom formulas from the existing temperatures in the library.
I was shocked when he asked me this question as I was told by the recruiter that this round is a system design round, not OOD. I prepared for system design the whole time. Needless to say, I bombed this round.
Amazon | SDE2 | Canada
- Online Assessment of AMAZON:
2 coding questions + work-style assessment- Count all the numbers that are right side of it and lesser (bubble sort – TLE , merge sort accepted)
https://leetcode.com/problems/count-of-smaller-numbers-after-self/ – Number of swaps selection sort – Done – Merge Sort Approach - Robot with direction instructions : should be in the circle after all the instruction processing (using normal x, y = 0,0, then 4 directions up, down, left and right)
https://leetcode.com/problems/robot-bounded-in-circle/ – Robot Bounded In Circle – Done
- Count all the numbers that are right side of it and lesser (bubble sort – TLE , merge sort accepted)
- Onsite 1 :
- 2 LPs
- getMin(), hasNext() of (list of lists)
- Onsite 2 :
- 2 LPs
- getRandom(), add, remove, search() constant time O(1)
- Followup, how do you handle if multiple request comes, dirty read issues, how do you maintain critical section
- Onsite 3 :
- 2 LPs
- Design ElevatorSystem with 4 elevators, get optimal elevator to near
- Onsite 4 :
- 2 LPs
- Design priority score calculator for each appointment in amazon warehouse. Explanation : Design a system which maintains details about many warehouses and loading and unloading details at each warehouse. The system should optimally work for all the warehouses and able to maintain the queue for unloading the shipment.
Amazon | SDE-I | Canada Virtual |
- Online Assessment (90 minutes):I got asked following two questions in the 105 minute time limit on hackerrank:Storage Optimization or Maximum Area after Horizontal & Vertical cuts – Greedy based solution.
CloudFront Caching – Underlying problem is to find different connected components in a graph.
I implemented both questions but was failing 1 test-case in both of them. - Onsite (4 rounds): Each round was an hour long.
– Round 1 : Coding – Binary Tree Traversal based question using DFS + 2 LP questions for 20 minutes
– Round 2 : Bar raiser/Hiring Manager round. Interviewer was senior, asked and drilled down in LP questions a lot + Coding – Tree Lowest Common Ancestor
– Round 3 : Low Level Design (TicTacToe) + LP Questions
– Round 4 : High Level Design (Facebook Messenger) + LP Questions
All the interviewers were very humble and helpful. Coding rounds were fairly easy for me. Didn’t do well in the third round as I hadn’t prepared well enough for low-level designs. Interviewer was generous enough to give hints along the way.
YOU MAY ALSO LIKE:
EPSILON INTERVIEW QUESTION 2021
CISCO INTERVIEW QUESTION AND INTERVIEW EXPERIENCE 2021
Wells Fargo Interview Experience
Amdocs Recruitment process , Amdocs Interview Questions
3. Amazon Interview Questions INDIA /Amazon Interview Experience INDIA
AMAZON INTERVIEW QUESTIONS | SDE1 |BANGALORE
Round 0 : Telephonic Round
Recruiter reached out to me on call mentioning I have cleared the round and they will be scheduling a Telephonic round with me. This round was re- scheduled 3 times due to inavailability of recruiter, which was very frustating. Finally it happened. It was a DS ALgo Round. I was asked one question on Arrays. Difficulty ranges to easy-medium. Does not exactly remember the question now.
After around 3 weeks got a mail of clearing the Telephonic Round. They shared the schedule for virtual interview round with the panel (happened after 2 weeks).
The schedule was like :
Round 1
This round was taken by SE (2 years of Exp) which was most of DS Algo and Some Behaivioural Question. I was asked two problems : (Similar to these, Not Exactly same)
- https://leetcode.com/problems/minimum-size-subarray-sum/
- Implementing some DS with given functions, space and time bound.
Solved both the questions. Interview went smooth.
Round 2
This round was pretty much similar to that of first. Just that Interviewer was more experienced ( SDE2 or equivalent). Both technical and Behavioural competency was tested.
Problems were similar to:
Again solved both the problems.
Round 3
Due to inavailabilty of interviewer, this round was rescheduled to later date (around 14 days). This round tested my design ability . I was given a sample problem and asked to design the class diagram on this. Most of the time was spend over discussing and implementing the solution. Later I was asked a query using SQL which could be easilty done if you have basic understanding of JOIN clause. I was not able to write the query that moment, but explained him the join condition. Later he asked me about my work at company and some behavioural questions on top of it.
Round 4 Managerial Round
Did not happened yet, Waiting for the dates.
Observations
- They are very peculiar about the leadership principles, Each round, I was asked some questions from them.
- Try to think loud before the interviewer. It helps.
Amazon INTERVIEW QUESTIONS | SDE1 | Hydrabad |
Online Assesment for 2 hour consisted of 2 Questions
1. Priority Queue based minimum 2 addition based approach
2. brute force based question
1st Technical round 1hr
1. Find minimum cost of adding n ropes of different size so that if cost of adding 2 peices of rope is r1+r2. Same PQ based approach.
2. Search an element in an array if adjecent element differ by +-1.
3. 2 Leadership Principle questions.
2nd Technical round 1hr
1. No of ways to score target runs if batsman can score 1,2,3 runs at time. (Top down DP)
2. Given a BST, Print the elements in sorted order in O(n) time complexity and without extra space (Morris Algorithm :( )
HM Round
1. 45 Min of Straight 7-8 LP Questions answered almost flawlessly.
Amazon INTERVIEW QUESTIONS | SDE1 | Hydrabad |
Written test consist of 2 Coding question and 28 MCQ (DS+OS). 4 technical round.
Round 1: Discuss about one of my project and 1 array based question and 1 linked list based question.
Round 2: Asked 4-5 questions based on Tree data structure and 1 question based on backtracking and asked me to write code on paper. Round 3: Asked approach for a problem based on backtracking and then asked to optimise it. and then he asked question on OS (Deadlock,Page replacement policy, LRU implementation), DBMS (normalization), Heap and Hashing.
Round 4: Asked me to write code for a tree based question and discuss about my projects mentioned in my resume
Amazon INTERVIEW QUESTIONS | SDE1 | Hydrabad |![AMAZON SDE INTERVIEW](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
Timeline
26 March: Email Sent
28 March: Referral given
9 April: OA Submitted
20 April: First two rounds
4 May: Second two rounds
7 May: Confirmation Mail
I don’t remember OA much but I just remember clearly using priority queues in both the questions. I think OA questions are pretty much available on Leetcode. Just need to search them well 🙂
Amount of Leetcode questions done: 587/1857 Solved – Easy 190 Medium 333 Hard 64
Onsites(Virtual)
Interview 1: Tech
- The interviewer was very friendly. We started off by introducing ourselves. He then told me that he will be dividing this interview into 4 parts namely: Coding, Fundamentals (optional-mainly depending on the time), Behavioral and then if I want to ask something.
- I won’t be explicitly telling you the question but the question asked was leetcode hard and again on priority queues with further follow up for optimisations.
- After that since code discussion already took so long we directly skipped into behavioural questions. Standard Amazon LP questions. Do prepare them as they deep dive into it.
- Last was my time to ask him and I just asked some questions regarding role etc and then we closed the session off.
Interview 2: Tech
- My next interview started just after ten minutes of my first interview. Barely got much time to rest.
- This round I had two interviewers where one was shadowing. So basically one person was only asking and taking part in the interview, the other one was just quietly listening.
- Here also we started off my introduction and then we went forward with coding.
- In this round I was asked 2 coding questions. The first one was a leetcode medium trees which was then further optimised. The second question was not exactly on leetcode but could be fairly implemented using stacks. I took some time to get it but was able to. Quickly optimised the code to its best.
- Since the coding took most of the time, this round didn’t have that many LP questions asked. We just had a discussion on one of my college projects which used AWS and the interviewer was interested in knowing about it.
After both of the rounds ended I felt satisfied by the way I performed. I thought I did whatever I could do in my scope. After a week and a half, I got a call from my recruiter telling me that I’ll be having my next two rounds on Tuesday.
Interview 3: Bar Raiser
- The interviewer I got this time was a pretty experienced guy. I think all the bar raisers are people who are experienced.
- We had our introduction and then we moved to LP round.
- Since he himself was from Backend and the team I’m in my current company also happens to be the same, he started discussing my work. Honestly, for me, it was one of the tough cause of being a fresher there are a lot of terms that I don’t know which ended up making me feel embarrassed.
- He did ask some LPs which I answered to my best.
- After that we moved to the coding round. He asked me a leetcode hard based on topological sort. I first did it using DFS topsort but realised that I was missing a huge case in it. Removed the entire code and redid it all over again using BFS Topsort. Maybe the anxiousness from LP questions never went away leading to a blunder like this.
- This was the worst round that I had out of all.
Interview 4: Hiring Manager
- We finally reached the last round the hiring manager.
- The interviewer looked pretty strict to me and was very straightforward.
- After the introductions, we moved to the coding where he asked me a leetcode medium question on arrays. I gave him brute force and then optimised it to O(n) space O(1). Super proud of doing that.
- He also asked me some fundamental questions regarding OOPS and DBMS.
- Then we had the usuals LP questions and post that I asked some regarding the work etc
Must Read Amazon Interview Questions
- Difference between Process and ThreadA process is an independent program in execution, with its own memory space, while a thread is a lightweight unit of execution within a process that shares the same memory space. Processes are isolated from each other, whereas threads within the same process can communicate more easily.
- What are Deadlocks and the Necessary Conditions for Deadlocks to Happen?Deadlocks occur when two or more processes are unable to proceed because each is waiting for resources held by the other(s). The necessary conditions for a deadlock to occur are:
- Mutual Exclusion: Only one process can hold a resource at a time.
- Hold and Wait: A process holding resources can request additional resources.
- No Preemption: Resources cannot be forcibly removed from a process holding them.
- Circular Wait: There exists a circular chain of processes, each waiting for a resource held by the next process in the chain.
- Some Real-Life Applications of Threads and ProcessesThreads are used in applications requiring concurrent execution, such as web browsers handling multiple tabs or a chat application handling multiple conversations simultaneously. Processes are often used for running independent programs, such as a word processor and a web browser running concurrently on the same machine.
- Tell me About a Time When the Requirement Was Not Clear to YouDescribe a situation where you faced unclear requirements, how you sought clarification, and the final outcome. Highlight your approach to understanding and addressing ambiguities, such as through stakeholder meetings or iterative feedback.
- Discuss a Complex Project You Worked OnProvide details about a complex project, including the challenges faced, your approach to solving them, and the final outcome. Include any specific technologies or methodologies used, and what you learned from the experience. Mention any follow-up questions related to technologies like web sockets if applicable.
- Difference Between Synchronous I/O and Asynchronous I/OSynchronous I/O operations block the execution of the program until the operation completes. Asynchronous I/O allows the program to continue execution while the I/O operation completes, improving efficiency and responsiveness.
- Questions Based on Node.js Non-Blocking I/OExpect questions related to how Node.js handles I/O operations using non-blocking, asynchronous mechanisms to handle multiple tasks simultaneously. This might include explanations of event-driven architecture and the use of callbacks or promises.
- How Google.com Works When We Type It in the URLExplain the steps involved in accessing a website, including DNS resolution, server requests, and the process of rendering the webpage. Describe how Google’s infrastructure handles such requests efficiently.
- Multiprocessing, Multitasking, MultithreadingMultiprocessing involves using multiple CPUs to execute processes simultaneously. Multitasking is the ability of an operating system to handle multiple tasks or processes at the same time. Multithreading allows multiple threads within a single process to execute concurrently, sharing the same resources but operating independently.
PREPARE AMAZON Behavioral questions like
- What changes did you fight for?
- What is something you are proud of?
- What mistakes did you make?
- How do you see yourself in 5 years?
- I asked few position-related questions at the end.
AMAZON CODE /AMAZON CODING QUESTIONS
Amzon Hacker Rank assessment
- Problem 1:
Algorithm Swap – You’ve been asked to evaluate the effeciency of an old sorting algorithm. The algorithm is used to sort an array of distinct n numbers:
Try to find the smallest pair of indices 1<= i <= j <= n-1 such that arr[i] > arr[j].
If there is no such pair, stop.
Otherwise swap arr[i] and arr[j] and repeat finding the next pair.
Calculate the number of swaps performed.
Input: int[] arr = {7, 1, 2};
Output: 2
Swaps :
1 <-> 7 resulting in 1, 7, 2
7 <-> 2 resulting in 1, 2, 7
- Problem 2:
Robot Rodeo – You’ve build a simple language to control a robot:
G instructs to move forward one step.
L instructs to turn left in place.
R instructs to turn right in place.
After completing the instructions, the robot would repeat them in an infinite loop. Build a simulator based on the list of commands to determine if there exists a circle such that the robot always moves within the circle.
RG -> RG
/\ |
| \/
RG <- RG
The robot will never leave the circle.
Write a function which returns an array of Strings either YES or NO based on whether the robot is bound within a circle or not, in order of test results.
Input: G L
Output: No Yes
Explanation:
for command G, it would move forward and no circle is formed (G -> G -> G-> …) – NO
for commmand L, it would move in circle turning 90 degrees. – YES
Sample Input: n = 6, size = {2, 3, 4, 5, 6, 7} Sample Output : 68 Approach: This can be solved by using minimum heap.
- Given a matrix with values 0 (trenches), 1 (flat), and 9 (obstacle) you have to find the minimum distance to reach 9 (obstacle). If not possible then return -1. The demolition robot must start at the top left corner of the matrix, which is always flat and can move on the block up, down, right, left. The demolition robot cannot enter 0 trenches and cannot leave the matrix.
Sample Input : [1, 0, 0], [1, 0, 0], [1, 9, 1]]
Sample Output : 3
Approach : This can be solved by using BFS or DFS. All test cases passed for both so that I expected for the second round. After 15-20 days I got a mail from HR for an Amazon Chime Interview. There will be 2 rounds on that day only
- Optimizing Alexa SuggestionsIn this question 1 list is given with x and y coordinates and an integer X is given. We need to find X restaurants near the customer from location (0,0).
Example 1 : location:[[1,2],[3,4],[1,-1]], X=2 O/P: [[1,-1],[1,2]]
- Device Application PairsIn this question device capacity, foregroundAppList and backgroundAppList is given. We need to find the foreground and background pair which optimally utilizes the device capacity. List has set of pair where first integer represents id and second integer represents amount of memory required.
Example 1 : capacity = 7, foregroundAppList:[[1,2],[2,4],[3,6]], backgroundAppList:[[1,2]] O/P:[[2,1]] Example 2 : capacity = 10, foregroundAppList:[[1,3],[2,5],[3,7],[4,10]], backgroundAppList:[[1,2],[2,3],[3,4],[4,5]] O/P:[[2,4],[3,2]]
- Given a binary tree, where every node points to its parent node and the parent of root is null. You have given two nodes to find the distance between them.
- Given a matrix of m*n find the maximum path sum from any node
- https://www.geeksforgeeks.org/merge-two-sorted-linked-lists/
- https://www.geeksforgeeks.org/clone-linked-list-next-arbit-pointer-set-2/
- https://www.geeksforgeeks.org/search-in-row-wise-and-column-wise-sorted-matrix/
- https://leetcode.com/problems/two-sum/
- https://leetcode.com/problems//
- Check to find out among two binary trees A and B, if B is a subtree of A.
YOU MAY ALSO LIKE:
EPSILON INTERVIEW QUESTION 2021
CISCO INTERVIEW QUESTION AND INTERVIEW EXPERIENCE 2021
BARC INTERVIEW QUESTION AND ANSWERS
Wells Fargo Interview Experience
Amdocs Recruitment process , Amdocs Interview Questions
How to prepare for Amazon Iterview?
Practice DSA questions rigorously. Be comfortable in implementing an approach. For every question, you’ll be asked to write the code. Try to discuss your thought process with your interviewer, that way they can guide you best. Be rock-solid about the basics of any algorithm or data structures that you use, in terms of time complexity, space complexity, any corner cases or limitations.
Preparation & Learning tips for AMAZON
- For LP-based questions, do remember to use STAR strategy. Prepare a couple of scenarios cause they tend to ask LPs directly ex: when did you show customer obesession? etc.
- Answer behavioral questions using the STAR (Situation, Task, Action, Result) method.
- Do study your entire resume word by word. You should know each and everything you have written in it.
- If you are not able to answer don’t make up answers, just be honest. Interviewers have interviewed several candidates, they can tell when a candidate is lying. Especially seniors interviewers so don’t make up scenarios especially for LP.
- You can always buy leetcode premium. But that’s totally subjective and your call to make. It does open up Company-specific questions. That helps!
- Read a lot of experiences from discussion tabs. It gives you an insight into what you need to prepare for the interviews.
- Read as many interview experiences as possible.
- During the coding round, keep talking to the interviewer regarding your approach, assumptions, time complexity and ask questions to narrow down the problem.
- Write clean production-ready code by considering edge cases.
- When asked about projects try to explain every small detail as possible.
- Go through amazon’s leadership principles most of the behavioral questions are related to those.
- Don’t panic whenever you get stuck, Interviewers are there to help you.
- ABOVE ALL DON’T LOOSE HOPE.
YOU MAY ALSO LIKE:
EPSILON INTERVIEW QUESTION 2021
CISCO INTERVIEW QUESTION AND INTERVIEW EXPERIENCE 2021
BARC INTERVIEW QUESTION AND ANSWERS
SUMMARY OF AMAZON INTERVIEW QUESTIONS POST
Above we tried to compactly put all the required resources to crack Amazon interview.The post includesAmazon Interview Experience, Amazon Interview Questions USA ,Amazon Interview Experience, Amazon Interview Questions CanadaAmazon Interview Experience, Amazon Interview Questions India,Must Read Amazon Interview Questions,Amazon coding Questions and finally How to Prepare for Amazon.If you liked it do share and comment and help us reach every student.
Thank you.