Position : SDE-1(1-3 yrs experience)
Team : Alexa Team
1st round : Assessment (2 questions similar to ones shared here)
On-site total 5 rounds
Round 1: [Coding]
- 15-20 mins LP questions
- From given log files and words if matched replace the word in the log file with
REPLACED
Eg : input: log file(list of file) - abc123pqr , word(list of words) - 123
expected otp: abcpqrREPLACED
Round 2: [Coding]
-
Create list of number and first larger number in array. Only in linear time.
Eg: input: [2,1,3,9]
otp: [[2,3],
[1,3],
[3,9],
[9,-1]]
-
15-20mins LP questions
Round 3: [System Design]
- Master Slave Archietecture and process for fail-over of master(was part of my previous exp)
- Design a system which has an input page and output is the Url which is shared among the network
Round 4: [Hiring Manager]
Round 5: [Code Design- wherein the scalability and code reusability was tested]
- Design a language translation system with integrating 3rd party api for translation.
- Follow-up:
Reduce the api call because per word costing 5c.
The local cache would be inmemory and cannot be stored in harddrive
There would be flawed word translated which has a time buffer of two hours, as in the word cache before 2hrs from now could be flawed so return the translated word correct and not flawed.
How and when you'd test the system, what all metric you'd use for monitoring the system.