Aws developer Interview Questions | Glassdoor

# Aws developer Interview Questions

11

aws developer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Senior Mobile Software Engineer for AWS at Amazon was asked...

May 19, 2013
 Hardest Q was: Here's a binary tree: find the longest path within it. So, find a path between any two leaf nodes, where the path is the longest. 3 AnswersIndians at all companies always ask tree questions, it makes them giggle inside. I know, because I'm half indian and have interviewed people... tee hee heeclass Solution{ int ans[] = new int[1]; //O(n) public int efficientDia(TreeNode root) { if(root == null) return 0; int left = efficientDia(root.left); int right = efficientDia(root.right); ans[0] = Math.max(ans[0], 1 + left+ right); return 1+ Math.max(left, right); } //O(n^2) public int getDiameter(TreeNode root) { if(root == null) return 0; int leftHeight = getHeight(root.left); int rightHeight = getHeight(root.right); if(ans[0] < 1 + leftHeight + rightHeight) { ans[0] = 1 + leftHeight + rightHeight; } return Math.max(getDiameter(root.left), getDiameter(root.right)); }int ans[] = new int[1]; //O(n) public int efficientDia(TreeNode root) { if(root == null) return 0; int left = efficientDia(root.left); int right = efficientDia(root.right); ans[0] = Math.max(ans[0], 1 + left+ right); return 1+ Math.max(left, right); } //O(n^2) public int getDiameter(TreeNode root) { if(root == null) return 0; int leftHeight = getHeight(root.left); int rightHeight = getHeight(root.right); if(ans[0] < 1 + leftHeight + rightHeight) { ans[0] = 1 + leftHeight + rightHeight; } return Math.max(getDiameter(root.left), getDiameter(root.right)); } private int getHeight(TreeNode root) { // TODO Auto-generated method stub if(root == null) return 0; return Math.max(getHeight(root.left), getHeight(root.right))+1; }

### AWS Technical E-Learning Curriculum Developer at Amazon was asked...

Mar 21, 2015
 Nothing really all that hard. I signed an NDA (Non-disclosure agreement) so I can not give specifics. I was well prepared and I also contacted the team member who I had a phone interview with, and asked if they could point me to some good resources to help prep for the interview and they gave me some very good ones which helped a lot. 1 Answer1. There is a massive attrition and a really high turn over rate. the longest tenured person I meet on the team had been there 2 years...out of a team of 50. (The lead developer I met with, had been there almost ten years but he was not on the team I was interviewing with.) 2. Great growth at AWS but massively under staffed which means they are not looking to do the "Sexy Stuff" just the good enough or sufficient stuff. This was said to me by many people. 3. Amazon's compensation is below par, especially given the work load. 4. Amazon's benefits are really sub-standard for the industry. 5. AWS is the biggest in the field but other companies are having much better growth and conversion rates so how long are they going to be the biggest? 6. While many people I met with are nice and would make adequate colleagues, some would be terrible. ( and most would not be there in a year or two given the turn over) 7. Amazon I found lacks the grown up nature and culture that is found at other companies like Microsoft which I have experience with and other tech 30 companies. 8. I also found a lack of cohesion that permeates Amazon. I heard from all of my interviewers that communication is appalling at Amazon in response to my question what are some of your biggest challenges. 9. AWS is a really cool product and service, but there is now massive competition in this space and again others are doing better in terms of growth and conversion rates so the future is unclear. Why I declined: 1, No manager, so I do not know who I will be working for or even if they would be a good manager. 2. the offer was 30 % lower with terrible benefits then what Microsoft offered with a much better professional environment and culture. 3. The last interviewer really turned me off.

### AWS Software Engineer at Amazon was asked...

May 27, 2016
 Find distance between two given keys of a Binary Tree1 Answerpublic int getNodeDistance(TreeNode a, TreeNode b, TreeNode root){ if(root == null) { return 0; } int aHeight = getHeight(root, a, 0); int bHeight = getHeight(root, b, 0); return aHeight + bHeight; } public int getHeight(TreeNode root, TreeNode a, int level){ if(root == null) return 0; if(root == a) return level; int left = getHeight(root.left, a, level+1) ; if(left != 0) return left; int right = getHeight(root.right, a, level+1); return right; }

### Full Stack Developer - AWS UI at Amazon was asked...

Jan 23, 2017
 Write a single page application that has a button in it with the text "I have been clicked 0 times". Every time the button is clicked, add one to the number in the button text and also add another button to the document with the initial text "I have been clicked 0 times".1 AnswerThis is a good practical task I think. Wondering if you are allowed to use any frameworks/libraries here. Could be more interesting to do this in vanilla JS/HTML.

### AWS Software Engineer at Amazon was asked...

May 27, 2016
 Describe the previous working experiencesBe the first to answer this question

### Aws Software Developer at Amazon was asked...

Jun 8, 2019
 Tell me about a time you praised / criticized a fellow employee.Be the first to answer this question

### Aws Software Developer at Amazon was asked...

Jun 8, 2019
 Tell me about a time you failed.Be the first to answer this question

### AWS Cloud Engineer/Data Analytics Developer at Mathematica was asked...

May 19, 2020
 Why Mathematica What is your learning methodology What were the challenges in your previous jobs Related to technical documentation Case study and related questions How do you deal with failure Do you like to work in a technical and non-technical environment Most of the questions from resume Be the first to answer this question

### Full Stack Developer - AWS UI at Amazon was asked...

Jan 23, 2017
 What is JavaScript PrototypeBe the first to answer this question

### Full Stack Developer - AWS UI at Amazon was asked...

Jan 23, 2017
 How is inheritance implemented in JavaScript?Be the first to answer this question
110 of 11 Interview Questions

More