Amazon | OA | 2021 | 6M Intern
Anonymous User
3632

Yesterday, I got a chance to give an amazon online assessment for the position of Software Development Intern.
This opening was only eligible for the candidates who will be completing their graduation in the year 2022.
Most of the candidates got mail to give online assessments regardless of their institution and resume.
The OA was divided into 4 sections -

  1. Automata Fix (Debugging)
  2. Amazon Automata (Coding)
  3. Workstyle Assessment
  4. Aptitude

The first section was quite easy and sufficient time was given for the questions.
Most of the questions included a change of one or two variables hardly while some of them were a little bit time-consuming.
Questions were based on the programs of -Reversing an array, printing a pattern, sorting an array (bubble sort), and so on.

The second question consisted of two coding questions both of which were medium-level questions.
1 - https://leetcode.com/problems/least-number-of-unique-integers-after-k-removals/
2- I was not able to take the screenshot of this question but it was a medium-level n-array tree question.
The question wanted us to find a subtree in the n-array tree whose sum/number of elements in that subtree is maximum.
Once the value is found we were asked to return the root node of that subtree.

Ex-
				5
			/	   \
		2           6
		/
	3  4  5 	

Output - 5 (Not an integer but the node of 5)
Explanation-
(2+3+4+5)/4=3.25
(2+3+4+5+5)/5=3.8
(5+6)/2=5.5

Note: Leaf nodes were not considered individually.

I was able to pass all the test cases in the first question but in the second question, I was managed to pass 7/8 test cases. I tried my level best to pass that one test case but I wasn't able to.
I did the first question with the help of hashing and sorting while for the second one I used the postorder approach of the n-array tree with modification.

The third round was a workstyle assessment in which they want to see how you handle some situations in your life or what kind of person are you.
I don't remember the exact number of questions but they were around more than 40 and no time constraint was there.

The fourth round was the aptitude round in which there were 24 questions.
Most of the questions were related to patterns like what would be the next element for this kind of pattern.
2-3 questions of direction sense were also there and other questions were related to reading the statements that were mentioned in the question and then answering them.
Ex - You want to throw a party in which you all want to call people who were -

  1. 18 Above
  2. Male
  3. Only computer science graduates

Now Alex is a person who is 25 years old and has done his graduation in mechanical engineering.
Will you call him? --- No, because he is not a computer science graduate.

Note: This is a sample question that I have created but the pattern was the same with some long and a little bit complex statements.

The last round was the feedback round :)

Please do upvote my post if it did help you.

Comments (5)