Amazon | SDE 1 | New Grad | USA | Mar 2022 [Reject]
Anonymous User
1302

Date: March 14th 2022

Online Assessment:

  1. Two coding questions (70 mins)
  2. Amazon workstyle and behavioral (~45 mins)

Onsite:
Total 3 rounds each 45 mins

Round 1:

  1. Questions on leadership principles (15 mins)
  2. Linux-Find-Command (30 mins)
Implement functions which perform the following:
1. Get all files whose size is atleast 5MB in the given directory
2. Get all xml files in the given directory

Round 2:

  1. Questions on leadership principles (15 mins).
  2. Coding question (30 mins)
    a. reverse-linked-list
    b. reverse-linked-list-ii

Round 3:

  1. Questions on leadership principles (15 mins)
  2. Coding question (30 mins)
Given list of jobs, divide them into batches of size atmost k such that jobs of same type are grouped.

Input:
[JobA,JobB,JobA,JobA,JobC,JobB,JobB]
k =2
Output:
[[JobA,JobA],[JobA],[JobB,JobB],[JobB],[JobC]]

class Job{
	int id;
	String type;
	Date createdTime;
	// other properties
}
FollowUp: Batches should be sorted according to the createdTime
Comments (4)