#.

1 messages · Page 1 of 1 (latest)

slender mirage
marsh nymph
#

Timeline?

broken belfry
#

Recruiter initials and interview date?

shadow carbon
#

just finished it

#

yeah AD

regal lark
#

What do you think went wrong?

shadow carbon
#

solved all but 2/4 optimally

#

other 2 had optimizations after optimizations

#

and i crashed out

#

I mean it's a fact but yeah

broken belfry
#

Bro was assuming 😭

#

Not over until it actually is

quiet depot
#

if it is AD, you not gonna know shit till 7-9 days

shadow carbon
#

i think for 3/4 yes but last one I got the linear soln right of the bat

#

but like there was logn soln

#

which I said and he agrees but I couldn't get it correct for the life of me

#

he was trying to nudge so much

#

I feel bad

#

yeah

#

it was kth missing positive

mossy tree
#

but nothing before the first

bronze hazel
#

Bro what is with you guys just assuming reject 😂

shadow carbon
#

at one point I just said I know there's binary

#

but like

frosty eagle
#

bro u just took it chill there is hope

shadow carbon
#

then we went out of time lmao

#

yeah what i did was,

if diff > 1, reduce k

#

but that's linear

quiet depot
shadow carbon
#

but that binary is insane

mossy tree
#

disgusting

shadow carbon
#

I think 3/4 yes

#

can't remember my 1st question

#

3 of my questions were k k k

mossy tree
#

woah

#

careful there buddy

#

we’re past that time period

shadow carbon
#

huh

#

kth distance

#

node

#

but i think for all 4 questions, we discussed multiple approaches

#

na nodes at dist k from the target node

#

kind

#

idk which one wad it

mossy tree
#

where you do parent and child stuff

shadow carbon
#

yeah I first said about bfs, then discussed dfs then did the parent

#

thing

#

brother

mossy tree
#

you don’t need to

shadow carbon
#

yeah that was my first approach

#

he said

mossy tree
#

you can maintain a parent map

shadow carbon
#

don't do that

#

assume you can't do that

#

so I used parents dict

mossy tree
#

you only need parent nodes

#

yeah

#

just start your bfs with the current node

#

And add parent left right

shadow carbon
#

but I started doing tagged like 2 days ago lmao

#

I created

find_target():
dfs()

#

and used a visited

#

dk if that's official

mossy tree
#

why

#

you ask

#

just propose multiple sols

#

I only do bfs for that q

#

c1 ain’t 140

shadow carbon
#

naa, like idk if it's wrong I did this

find_target(node):
if node == target:
startdfs()

parent[node.left] = node
parent[node.right] = node
goto left goto right

mossy tree
#

huh

shadow carbon
#

you don't need to create parent connection for all

#

yeah

#

once it hits it hits

#

I used global res

#

don't memorize lol

#

just remember the basic idea

#

and then come up withit on the spot

#

but i think that's why I failed binary

#

lol

#

for kth missing

#

yeayea

#

I did bin too but my bin was nlogn lmao

#

I was thinking something else

#

remember it, you might get it

#

gl gl!

hallow gazelle
#

What's AD?

mossy tree
#

recruiter initials

hallow gazelle
mossy tree
#

no idea

broken belfry
mossy tree
#

I see

#

I wouldn’t know cause I have someone else

shadow carbon
#

should I send thank you? to AD? or just wait?

vast yew
#

wtf bro got the klan question set

#

triple k 😭

rancid sandal
#

meta have been asking many binary lately

#

interesting

#

got a friend had a binary question as well but its easy

drowsy apex
shadow carbon