#2023_summer
1 messages ยท Page 45 of 1
Iโll submit a form yeah, but I doubt it carries any weight.However it doesnโt hurt to try
Youโd just have to dm me ur contact info, like asap as my internship ends tomorrow
would yall say leetcode premium amazon list is better for prepping for intern interviews or the leetcode bot here
ive noticed that the problem list differs quite a bit
obviously you use a min and max heap, but how would you remove the windowStart from the heap
hrt
do u know the answer
actually jane street
do we need a project for each of the questions for samsung
for the sliding window median, how would you remove the windowstart's value when you slide it from the 2 heaps
i got a 615 by solving just 4
๐ฆ
is it 849 (oops i saw above mb)
???
sliding window median isnt 2 heap problem
this utuber said it was for some reason
i need to find soemone betert
||monotonic stack||
@sinful locust @hallow scroll said that the codesignal practices aren't accurate
is htis true
I mean you can do that but it overcomplicates things for no reason
Oh
I was trying to go through the grokking
and get some practice in with two heaps ๐ฆ
solve it that way then
but kind of confused
just use what jack said
how hard is optiver oa for swe ?

number stream is different from array
based juda
Not doing number stream?
based on what?
bro
how hard is optiver oa for swe
its so simple
neetcode has a solution with a stack
neetcode doesn't have a video on that problem lmao
๐ญ
thats legit how you get good at lc
yes cuz thats the easiest way to solve it
I DO IT FOR EVERY OTHER POBLEM
yeah he does
I WATCH EVERY NEETCODE VIDEO

I think baller has taken it you can ask him
couple people got phone already
you fell off lowkey
o
hmm
was it hard tho
can u explain more
q2
ok got it
also how much time do u need to finish it by
72 hours
how about the problems
did u submit more than once
yeah lol
time doesnt matter?
tthere is no stack and queue section on grokking ๐ฆ
how to prep for amazon oa?
i think it would probably look better if you finish it fast
but idk
oh
don't
do array and string problems
praying for optiver next summer

are leadership principles in the oa as well?
is it worse complexity
o ye u already told me
๐

uhhhhh
how would u use a stack
did you do it with two heap?
I dont think so
no i did it with balanced tree lmao
two heap time complexitty is O(n*k)
its sliding window median right
yeh
yeah
wait max is the queue
yeah
oh lol
max can also be done with sorted dict
what's the time complexity for max?
๐ค
was thinking of maximum
for the queue or sorted dict?
you can do sorted dict?
whoopsies ๐ฑ
yes
๐ค
its nlogk i believe
what about queue
hmm idk
qballer
queue either nk or n
is optiver oa hard
Stop
i think
and u need to use java?
java or c# or c
Stop
go away
not c++?
listen to paper trail
bruh
don think so
@hollow sun wait its :sadcat:????
@hearty river
its not :scgbigsad:???
:scgbigsad: is better
@hallow scroll how many questions have you done with two heaps?
I might not do it
since the solutions for them aren't popular only for one question
i wonder if vcf could bypass cooldown
theres a few that are worth doing
but not much
top k is a better heap pattern , id focus on that if anything
I've done the Find the Median of a Data Stream
that is easier
ok cool ,thats the clasic
just use sorted dict
i am ocnfused how to remove from the windowStart
:waz:
aint sorted dict slower
or a tree works
you gotta sort every window don't you?
nah its not
TREE?
thats the issue with heaps
cause the remove search is linear in the order of k
no u dont
sorted dict == tree backed
so its o(log n) everything.
๐ค
no sorting needed
you can ge the max element in log n time
tree works too but degenerate possibility / not balanced
but it's slower than monotonic queue right solution?
we are
๐
mono barely comes up
yea
We are
is 2 heaps worth doing other than the find medium from data stream?
๐ค
meh
Donโt ask me im not good at leetcode 
Don't you have slack, salesforces, and amazon offers
๐
still linear search
r u taking it now?
no
i am goin to take it
but it's gonna be too late till amazon and c1 interiew
๐
c1 is easy
amazon idk
did u do it?
didnt u say u took amazon oa for fun or smth
c1
case interview - very basic analysis
tech interview - lc med ish , just know hashmaps
behavioral interview - 3 STAR questions
it was nepotism
cuz he's jack harlow
STOOPPP
wym?
JACKKKK
STOOOPP
MAXIMAL RECTANGLE
goku please just watch the video that they send the prep video
its exactly liek that
tru
lmao
loool
tbh
@sinful locust
๐
i feel like so many graph questions are labelled medium which shouldn't be
my bad for being not cclear
should be what then
easy?
the thing is cap1 literally gives away their case interview contents and tech interview difficulty
nah but i wanna as prepared as possible. I really need an internship
a lot of them are just the same thing
true
then get off here and work for it

its just bfs
which is the same thing
i am ๐ฆ
unless it actually has a twist
stupid visited set takes care of all
bro i can do that ezz but fk up easy codesignal ๐คฆโโ๏ธ
I always come to a dillemma, and than confused
codesignal is rng
๐๐
i got maximal sum of rotated rectangle
control w
You overthink things too much
yeah
just do grind420
and take the interview
altf4 applied today
yes
altf4 process your shit
in the channel
stop

he said he got amazon already
where
where
and 5r phone
nah i got offers
a while back
i think this has been mentioned before but do u compile and run code in amazon final?
Nope
u click run
oh bruh this just stack ish i think right
just stack and everytime you pop smth off you add 1
?
i think divide works too right
@wise ferry do this one
this one is fun
cool backtracking
@queen raven do this too
its ok
Largest rectangle in histogram is cool
fuck that question
lies
is that mono stack
next greatest or smth
Nah but I feel like itโs a good stack problem to set you up for most stack problems
k
A lot of stack qs basically just add stack while loop
๐คก
u good at lc bruh
dont doubt urself

I brain fart in interviews
bruh why u doing this
ur better than a lot of us god
werent u literally stressed af about cap 1 interviw
nahh, havent done enough oas to feel confident
i got railed by snowflake
in june
felt like shit
heโs editing shit
๐คก๐คก๐คก๐คก๐คก
ive flunked more than 70% of my oas
BRUH WHAT YALL ON
W
nice about me bruh
i feel it
100%
@sinful locust give me another goku dm
thereโs too many
"how do you make a minheap" ๐
Is Optiver auto send OA ?
Or resume filter?
Bet bout to apppy
Apply
SWE not quant^^
itโs auto, but after oa is resume screen
isnt heapq already min heap? so u put negative for maxheap?
Yea
I was just confused when I messaged him
i was tryna ask for max heap
001010010
64 + 16 + 2 = 82
R
nonbinary >
Binary>
antilgbtqia+ propaganda
Only code in binary and assembly
brush
https://leetcode.com/problems/sliding-window-median/ how would you do this question luffy
Lc hard damn
I am thinkin you can use two heaps
but I cant think of a way to remove the windowStart
๐ค
Ive done this one a while back
Really?
I think the way I did it was to look at each subarray and then find the median within that and append it to a list
I think that's there on neetcode
Prob not opitmal cuz there aer people who did n log k
the maximum is lot easier with monotonic decreasing queue
i wish neetcode was more optimal
idk, but I think it's two heap , which is n * k
it is?
actually i might be asking too much
time to make my own leetcode tutorials
I just did the maaximum question
and came back to it
that's a better return rate than yahkuna river trading
@hearty river she dissing u
and ducc river trading
I hate the neetcode videos sometimes where he makes the code way too complicated
i agree
we should make beter videos
collab
can u stop
What problem is this
lmao this man
whats the obsession with fonem
yo UT man
yo?
yo
@keen pollen yo
lmao no
lol how many
1000?
i havent done this
i think i may know how to do it but idk
3d dp????
wait its seg tree?
o
oh yea
yo send link to a good place to read on seg trees
its super common in cp
ty bro
yo this is super detailed, nice
this website is such a classic
they've made the ui so much nicer
back in the day it looked like shit
is that harder than range minimum
idt ive seen that
oh ok
oh yea binary
back in the day i learned russian
it's not on grokking
oh yeah
this is educative right
bro i said Top K element
its there
educative is cracked
theres some github
or u buy
baller put me on
tbh i think 60 per year is not bad educative has tons of stuff
Which section is it on?
scroll up i said it
yeah SD too
SD, databse design, and more
ood
refer me to notion
scroll up where??????
๐
OH
OH
OH
OH
OH
OH
OH
OH
OH
OH
OH
OH
OH
OH
OH
Im dumb
itโs fine
Did not realize there were 2 pets to the Amazon oa lmao
๐๐
Caught me by surprise
bro blocked me fr
@sinful locust how do you use grokking?
like do you do the problem then read the thing?
bruh
was askin him how he uses it perosnally
u read it and do the problem
i donโt think thereโs any other way to do it
i solve the questions
.
LMAO
then read?
ok
bro
idfk what that means but ok
??/
@rustic topaz
ima go back to doin heaps
@rustic topaz bro i think u should just focus on YOurself and study instead of asking so many questions that u can figure out by learning yourself LMAO
are u ok?
thanks for saying it
you're right
theres no one right way to do anything, just do something that works for u, only way u find that is if u actually do it lmao
nah but, I did the blind 75, felt like i didn't learn so I am just asking

oh u did it
then self reflect
nice
or evaluate
then do more man
or whatever
ILAILA spitting fax
or find it to do stjff more effectively
๐
like questions are good and everyone wants to help here
but u straight up asking stuff that u can just do on your own
๐ข
also dont ask anyone whats a perfect way to do something
i think itโs because the hardest thing is getting started
just be consistent and you got this
blueface baby
its not for me
but
i feel like the way i am learning is ass
so I am askin how other people do it
maybe it might optimize my learning
spend like 10 minutes on that max
otherwise you'll waste time trying to be optimal
get a piece of paper and write down whay youโve done so far the good and the bad
target your weak spots
Make sure to take breaks
Yeah it sucks
generally for OAs, should you prioritize code cleaniness/runtimes or correctness (passing test cases)
Correctness, then try improving runtime
like im thinking if it passes the cases, wouldnt u pass screening
its not like HR can read code
was the k closest points to origin easy for y'all?
Did u take the Sentry oa?
most of that shit is automated
โ ๏ธ
Was i rite?
I had da same thot lol
I passed with an O(n^3) solution
But was able to improve it to an O(n)
howd u do O(n)
Trie
ill dm u
No
No i was jokin
Java is horribl for lc
But I use it
It is
Don't try and gaslight me
If I'm recommending a lang it's always gonna by Python
If I didn't use Java for a year of practicing lc I woud use Python
Python got better resources
C++ better for hft
Mayb idk
I haven't interviewed that much tbh
Like only at 10 companies
Tries r my fav data structure
tries arent too bad
im learning kahns rn
i cant believe my uni didnt teach it
it was briefly covered for like a week
yeah
we only covered dp for 2 weeks ๐ญ
naw normally at my school its covered for a month
our class was rushed towards the end
we covered divide and conquer for a week
What topics did u guys do in algos
we covered this in addition to some new data structures
I learned dp before my algos class
like skip lists and red black trees
It was actually hacks
The most advanced thing my dsa class did was stacks ๐๐
We didnโt go into trees or graphs
all ik is in our algo class we spent way too long on red black trees
Yeah it is lol
and i remembered none of it
Itโs not
I think it was cuz of covid and my professor didnโt know how to professor
Not really donโt think
Itโs like ranked 200 in CS lol
Or 100 something like that
my school is so mediocre in cs
the only exception is the programming team
somethin like that
its ucf ๐
Yeah, maybe if I had another professor it wouldnโt have been as bad but nothing stuck in DSA and I had to self teach afterwards
i preferred online bc i didnt have to pay attention to get an A
our dept gatekeeps cs with a dumb exam
and our first programming course is in C which sucks
it should be in python
that is pretty screwed up
literally useless
before c it was pascal ๐
My school do Java
ucf is C->Java
Rice is Python then Java then cpp
Python weeds out the extremely weak
you get to see if you're actually cut out for CS once you get to algorithms and data structures and it's all C++
which I think it's a good thing since I think everyone should at least learn a little bit about programming but not everyone should be a programmer
Well, Python and c at the same time
starting with C is one of the worst ideas
I think my school does most cs classes in c++
Thatโs true, but those intro classes unironically weed a lot of people out
I know so many people who switched majors after intro to cs ๐ญ
One of my friends dropped out of college as a whole
Java
yeah our first intro class makes you write 2048 the game
which is from what I've heard from my friend at stanford
is very tame
It wasnโt even that bad itโs just crazy how people just be quitting
they literally had you doing LC medium problems in your second intro CS course at stanford
๐ณ
Thatโs rough
not if you've programmed before
but this is
6, 7 weeks into your first time programming
In comparison to my schools education itโs crazy yeah
Why
Cs is ez
My school holds your hand and gives you piss easy labs
Like insert into a queue with test cases thatโs it
Fax
to be fair
it's stanford
Doing LC during cs classes sounds fun
i feel like we're all biased cause we're all basically wired for CS in some way
but after doing tutoring for a couple of years, I can say for certain that not everybody is wired for CS
actually most people aren't
concepts are a lot harder to conceive
Yeah
People here represent the sweats and weโve all done leetcode so itโs like second nature for us
Why do people quit after intro to cs or dsa course?
Iโve heard so many people fail dsa and quitting
our 3rd course is generally the gatekeeper
data structures and algorithms and shit get introduced then
you don't just write a book system or story game anymore
our first algorithms assignment was 2sum ๐คฃ
Double for loop?
I feel like double for loop would be acceptable and then there's just a fine print hint at the bottom like
"Can you do it with only one loop?"
it was both parts combined into one 2sum lmao
so with one we had a sorted array and one we didnt
1 point for double for loops 99 points for 1 for loop
man doing CS at CMU
๐
usf ๐คข
Do they make you do proof in dsa?
Columbiaaaaaaaa
no that's in our Boolean Algebra and Logic courses
which is also first quarter
Well I did that but talking about regular dsa
Yeah I took logic second year
I don't think you need to prove regular DSA besides master theorem here
oh and recursion
yeah
APCS
๐ฅฒ
I tutored two of my classmates APCS for weeks
my throat was fucking raw
they got 2 and 3
What is a call stack
I blame myself
ngl my school didnt teach recursion well
i still suck at recursion
i would never charge my friends

i see why u have no friends
i need to relax with some weed
im getting so close to this amazon final and i cannot leetcode anymore
he only strives for abstract ideas in life like money and success
one of those friends still fuckin owes me
case western sent me an email like "hey we waived your application fee come apply", I checked it out, and you didn't even have to write essays just multiple choice
I told friends to apply cause why not
anything else is trivial
๐ฏ
-1000
state pays if you're from that state
infact I get paid to go to school
yeah my financial aid covers everything and I also get extra money left over 
I have 0 EFC and the government was like
oh wow that the lowest you can get
here's 6k a year
but my scholarship covers everything
fuck you america
2.8k per semester

i pretend I do not see
u havent scammed them enough
yeah facts bro is cracked
How long does it ussally take to get a response after amazon oa?
10 days
can be fast like 1-2 days or kinda like like 1-2 weeks
whats taiwan?
East China
ah yes the prc
no cap
my uncle is a professor at U of Kentucky
sadnoodle would never lie
I went there for a year of high school
was the only asian kid in the entire high school
shit was wild
I remember it like a fever dream
very little to not at all actually
my high school had one person go to mit
probably helped that it was in Lexington and not bumfuck nowhere
ur not gonna believe this
and hillbillys
didn't see a single KFC during my time at Kentucky
and incestuous mfs
only Canes and Chick fil a
where I live theres the "city radius" where all the young people are but the second you go too far out you start seeing hillbillys with questionable things on their houses

its just fl headlines have so many "fl man" that the incest part is ignored
unfortunately im a fl man ๐
florida law allows those headlines there's actually florida men in every state
florida man 
fuck florida tho
its so fucking hot and the transportation sucks here
which is why im on copium to secure amazon or c1
only went to florida for universal studios
its more of the humidity
was pretty nice
florida is too humid for me I visited orlando and the second I got out the hotel my glasses fogged up
i havent been out of the US since i was 5
the furthest west ive been in the us is gainesville fl ๐
the worst is when ur tryna mow the lawn during these hot mf summers
reminds me of home
i like rain
ur not gonna like seattle if u ever decide to go
rain is fun and cool
morning rain is pretty nice
are u 12?
i can feel my skin frying like bacon whenever i mow the lawn
rain good
snow better
heavy snow bad
havent done it in 2 yrs cuz i dont live at home anymore
idk how id live in snowy winters
i drove through a snow storm once for 12 hours and it was one of the worst things in my life
yeah and also 2-3 feet of snow around your tires and them getting stuck in the snow every 2 minutes
cause you can always put on more layers but you can't strip off your skin
yellow snow
thats true, cold wether 100% better then hot wether

100 degree summers
yellow snow obv means its lemon flavored
i'm fine up to like 29c
above that I need at least an electric fan
it was like 99 last week
yeah
im not even all the way down south just like halfway
i'm sure plenty of places get 99 in the US
yeah even new york was like mid 90s recently
san francisco weather is like perfect imo cold enough where you can wear layers even in the summer
and desert
Yeah nevada owns like 10 or 20% of their own land

everywhere else is nuke test site and area 51
same where im from theres earthquakes like all the time
nah
underwater
sadge
Toronto very nice
what happened a few days ago

was it the missiles
my friends took pictures
yeah
same dw
im more of a city person
like wtf do you do in a state called north carolina bruh
try Nebraska
is discord a unicorn?
georgia
ngl i kinda want to work for discord in the future
like 10 yrs down the road
all i know about georgia is that georgia tech rejected my ass
wonder if discord will still exist in 10 years
or one day ill work for spotify
hopefully one of those two
i love their work culture
spotify will probably still exist
i took an hour to learn kahns algorithm and i doubt i can code it up from memorization tomorrow
Kahns is fun
cycle detection in DAG
if you draw it on paper it burns into your brain easier
lao gan ma
based on what ive seen from c1 so far their interview doesnt look too bad
but im hella stressed for amazon
its almost 12am now so imma stop leetcoding
it's tomorrow?
what should i look at for the technical i heard it isnt LC
well for me it is
idk man
est gang
ive never done OOD interview im just gonna scream and hope for the bes
the first thing imma do with my swe salary is get discord nitro
why u askin me i havent even done the interview yet
highkey if your final is tomorrow you've basically done everything you can for leetcode and just have to pray on that side
now's the time to review LP and make sure you have your anecdotes ready and memorized
luckily mine is next tuesday

im gonna spend monday working on lp and having some shit written down on my notebook
ah yes
google docs

ik my algos but i suck at breaking problems apart
i think ive discovered my weakness
im tired im getting ready to watch some tv and go to bed
i literally said next tuesday

tfw weed legal in cali but not legal in UCs
i love alcohol
asian blush moment
maybe too much
i might try to get some prescribed
I had an energy drink before my interview
i have major focus issues
working at a japanese bar has screwed me for life
one of my friends has adhd
and adderall helped him
yeah i need to go to a psychiatrist and see what i can be diagnosed with





