#!process Amazon Interview(i fcked up i

1 messages Ā· Page 1 of 1 (latest)

spice kelp
#

Three Rounds

#
  1. LP + LLD... LP was fine ...
#

LLD was something like Imagine you have leagues, leagues have conferences, conferences have Divisions, Division have teams, team have players... and in last he was like Design a Statistic system based on this

#

I got confused asf and managed to make maybe class structure.... very bad round i guess

#
  1. All LP.. went well
#
  1. 2 LC Medium i guess. First one was Infected person in hospital... kinda solved it using BFS... 2) Was LinkedList ... separate the even from odd
#

for second question i sugges a solution with TC O(nlogn) and SC O(N) .. and he said modiffy the list iteself.... i was writing the code and coding platform closed automaticlly.. time got completed

dusk bison
#

Wishing the best for u šŸ™ what were ur LPs?

spice kelp
#

Dive deep

#

Critical feedback

#

Exceeded expectations

#

And lot of follow ups

thin laurel
#

all the best!

#

praying šŸ™

spice kelp
#

thnks

solar anvil
#

praying for u brudda

delicate raft
#

Praying for u bro, saw u grinding in every amazon process post for a while, šŸ™

bronze fog
#

All the best!!

rose birch
#

hopefully you get it

rich cairn
simple roost
spice kelp
#

Amd first one was yeah like this but had matrix with 2,1,0 and x representing walls

simple roost
simple roost
dusk bison
simple roost
spice kelp
#

It was similar to rotan oranges only.. small chnges

spice kelp
#

2 is infected person, 1 uninefected,0 empty room, x is wall

dusk bison
#

Ye so X and 0 prob the same

spice kelp
#

X is wall you camt pass that

#

Not same

#

You can move thru empty rooms

dusk bison
#

Right, but unless I’m missing smth I don’t think there’s a logical difference between walls and empty rooms

#

It’s only in semantics

spice kelp
#

No you cant pass those … if a while column or row is of wall

#

You wont be able to pass it

#

Its kinda same as rotten oranges

dusk bison
#

If a whole row or column is an empty room the disease can’t spread either

spice kelp
#

Yeah it was like rotten oranges with some conditions… i asked this to him he said yiu cam move thru empty rooms

#

So i coded accordingly

#

And i confirmed about 2 also… he said there will only be one 2

#

So i coded according to conditions he mentioned

simple roost
hushed drum
#

timeline?

vernal loom
#

what did they want you to do with the infection problem? Find if it's possible to spread the disease to every uinfected person? Or find the time when everybody gets infected?

spice kelp
vernal loom
#

ok i got it

#

so it's essentially running BFS starting from the infected person (2)

#

tks

spice kelp
#

Yes

#

Atleast this what I understood from his requirements and did

bronze fog
#

Can we repeat LP stories in other rounds?

spice kelp
#

when was your interview?

spice kelp
#

No idea … i couldnt solve it

#

The way I understood was like he wanted info of game stats

#

At end thru some functions

#

So we have to store that info

#

I made a class Match to basically store a match info like which teams played, how many goals were scored, which team won etc… and i made hierarchy like Leagues have conferences, conferences have Divisions, Divisions have Matches, matches have teams, and teams have players… and in end a Stats class which will have leagues… something like this…

#

I couldnt reach to a point where i would design functions time was over

thin laurel
#

no they are basically not asking any coding question which are available on leetcode?

#

they are coming up with their own lc questions?

#

daamn !

#

any resources you would suggest?

spice kelp
#

Dnt knw man… maybe my approach was wrong… didn’t get much hints either and i got confused so couldn’t manage to do much

dusk bison
#

praying for pizza ood and no hard lc

thin laurel
#

what is RNG?

dusk bison
#

random

thin laurel
#

oh okk

simple roost
simple roost
thin laurel
simple roost
#

When's your interview? SDE-1 VO?

thin laurel
#

i didn't get the survey link yet

spice kelp
#

what was the ques?