#2023_summer
1 messages · Page 62 of 1
speaking of dp problems I remember getting this problem on an OA before but I wasn't able to solve it, anyone have any ideas on what a possible solution approach would look like: "maximum subarray for max size k"? my idea was the standard kadane's algo for "max subarray" LC question and then try and decrement the window size when u reach size k
ur gonna have to provide more context than that
UNDER REVIEW
thats not dp bruv
subarray length <= k
thats just simple sliding window
but can't u theorectically decrement the subarray to get a max subarray smaller than size k?
just start with size k
and as u move the window over
subtract left
add right
until u get to the end
o(n)
maybe my algo was wrong on the OA then, that's the approach I took as well
u prob had some small errors
it's kadanes algo, and that's dp btw
someone correct me if im wrong
its not kadanes algo
kadanes algo is for max subsequence
it was given subarray of size k
if no subarray of size k then its kadanes
ngl i always did that problem with sliding window
yes
i didnt think it was dp
that was the question
u dont do that with the problem on ur oa
hard to see the difference ig
but they're not the same
well
ig u could use kadanes
its not kadane enough for me to call it anything more than sliding window tho
o my u looking lovely today my hon
kadane i think of length of subsequence, not sum of it
@woven quest recruiter just redirected me to the onboarding email thing rip
she didnt say anything about that, just told me to ask the onboarding people
yes 
looks like theres a chance juster no amazon
I asked onboarding people for a timeline or something, I think it should be fine but idk we'll see
noooo
lol
idk if it would work
we'll see when onboarding replies ig if they told you they will let us in a month then ig we'll be fine in a month
its mad ez tho
it shouldnt count as dp
sadage
wait theres a separate application for winter?
i thoguht it was all in one
here is a potential subarray: [2,-7,3,-6,-4,9], maximum subarray length is 3, what would the approach to adding to the window be? since the negatives decrease the total and the max is just 3 as in the value
nah its all in one or whatever
whats the waiting a month thing then
i think its just too early for the onboarding people to start putting people in winter idk
u could do a sliding window / kadane but the since the negatives decrement the total how would u add?
that was the main issue I had with the problem since the "max subarray" could be a subset of the "k" the max theoretical length of a subarray
for the current window find the max between the window or the current value
bc it can be a continuous sequence of negative numbers
u start with 2, u don't add -7 since it decreases
then 2 would be the max sum
u just choose the biggest value for currsum and then update maxsum
lemme code it up
ive solved this q so many times
I can't remember all test cases but what abt a scenario where the next number u added increased the total value but u lost the contiguous subarray since u disregarded the negative?
u only update window if cur sume is negative
that's not needed tbh, no stress
then u just update to 0
int largest = nums[0];
int current = nums[0];
for(int i = 1; i < nums.length; i++){
current = Math.max(nums[i], current + nums[i]);
largest = Math.max(largest, current);
}
return largest;```
def lol(arr):
currsum = arr[0]
maxsum = currsum
for i in range(1, len(arr)):
currsum = max(currsum + arr[i], arr[i])
maxsum = max(currsum, maxsum)
return maxsum
ya
lmao
based
and noodle are on the same brain wave
hmm that's template kadanes algo
ive coded this up from memory
ya it covers all cases
maybe I made some other mistake on the OA then
cuz I remember this not working
but nw, thanks though
dont u have to update curr sum if curr sum < 0
oh
u did with max nvm
ew
Lol nw, tbh half of the issue is I don’t remember the exact wording of the question I just remember where I was making an error, I found it hard on that OA to get kadanes to work on a subset of a sub array without losing the previous values since the value of k could be greater than what I’m checking
Is duolingo karat automatic?
uhhh highly doubt
no
Bet that’s good to hear
has msft or salesforce started yet
Anyone do Duolingo karat?
int solve(vector<int> arr, int k){
if (arr.size() == 1) return arr[0];
vector<int> maxSub(arr);
int maxSum = arr[0];
int currSize = 1;
for (int i = 1; i < arr.size(); i++){
if (currSize == k){
if (maxSub[i] > maxSub[i-1] + maxSub[i] - arr[i-3]{
currSize = 1;
continue;
}
maxSub[i] = maxSub[i] + maxSub[i-1] - arr[i-3];
}else{
maxSub[i] = max(maxSub[i], maxSub[i] + maxSub[i-1]);
currSize++;
}
maxSum = max(maxSum, maxSub[i]);
}
return maxSum;
}
i hate c++
this took way too long
gonna pop this in an ide to see if it works
but this should be working
someone give me a test case
Did anyone apply to Samsung and have to complete their profile on untapped? I think the link they sent is broken because it just routes you to the greenhouse page again
this only works for no max k subarray
u need to account for max k constraint
[0,0,0,0,0,0,0,0]
thats a nasty test case
exactly
what k
bruh
samsung is a weirdass application
im in an stand up meeting
gimme 5 mins
o u in an internship rn?
what's the (maxSub[i] + maxSub[i-1] - arr[i-3]) doing? why do u need to check that?
cap1 being slow af
thats just checking if subarray with max size 1 is greater than the current element plus two behind it
well not always 2 behind
but just behind it
also my code has bug
give me a moment
my code dont work for k <= 1
d.e. shaw slow af
does anyone know how long jane st takes
phone --> final
yeah
the hour?? lmfao
my interviewer said a few days
oh i know whats wrong
this should be [i-k]
not -3
but i was wondering what few days means
my interviewer was like "hope to see u next summer, gl on next round" so if i fr failed i might be a lil confused
how long did it take for people to get the next round for Capital one after the codesignal?
yeah that’s only if u don’t get it lmao
it shows u a breakdown of score and the only thing missing was speed
Amazon portal change anyone
took me like a week
what did u get on codesignal
its 700+ for an interview
nice
straight to powerday
oh nice, did you do yours?
Gl!
thanks u2
Who’s done palantir on-site, can I dm
@vernal furnace here's the updated code, i forgot to update currsize for less than k subarrays
int solve(vector<int> arr, int k) {
if (arr.size() == 1)
return arr[0];
vector<int> maxSub(arr);
int maxSum = arr[0];
int currSize = 1;
for (int i = 1; i < arr.size(); i++) {
if (currSize == k) {
maxSub[i] = max(maxSub[i], maxSub[i] + maxSub[i - 1] - arr[i - k]);
if (maxSub[i] == arr[i])
currSize = 1;
} else {
maxSub[i] = max(maxSub[i], maxSub[i] + maxSub[i - 1]);
currSize++;
if (maxSub[i] == arr[i])
currSize = 1;
}
maxSum = max(maxSum, maxSub[i]);
}
return maxSum;
}
when will onsites actually be on site
Tmr.
im p sure they used to be onsite
yo who did the cap1 final yesterday
this looks ok
oh I see, thanks dude!
@north scroll
do u get to choose
yeah
o sick
but nyc and sf has limited spots
yeah
sf kinda mid
sf pay is higher than nyc
im not going back to sf
how much higher is it
like 2 dollars?
can't be too different
first worry abt securing the internship before worrying abt location lol
true
nyc is 65 sf is 67
yeah same
oh
once i get offer ill ask
i'd take nyc all day then
idt u can change tho
did u already do power day
yeah i got this info from recruiter in offer meeting
nice
i alr did amz final i have c1 tomorrow
there's really few interns at amazon nyc
oh?
taxes are lower in nyc
whend u apply
i applied june 25h
ic
im glad im almost done with the process tho
my fam lives in brooklyn
there's a few others like amazon fresh
seattle is hq?
amazon books
shit ton of interns
yea
im p sure seattle is one of the tech capitals of the US
hmm
im ok w seattle bc of the weed
they give based off of what u put when u applied
can i email to ask for changing preference beforehand
tbh maybe, i got offer last friday and requested nyc but they still havent gotten back to me when they usually do in 1 or 2 days
Cap
i've been there for a summer bro
its super boring
u need a car to do anything fun
sf has no metro?
Within how many days you got the offer ?
u can go hiking and stuff but u can do that all in 6 weeks
i enjoy walking in da city and smoking weed lmao
1
thats for c1 @past comet
has it been a week yet?

prob will hear back today
if u havent been rejected yet its a good sign
they send email to schedule
my classes start next week 😔
Hopefully
just check ur junk mail to be safe
one of my friends got his offer in junk mail and didnt realize for a week
Porta is not updated
seatgeek already closed? 💀
So probably not gonna receive a email till the portal changes
portal changes before email
if I applied to amazon a week ago with referral and still haven't gotten OA is that worrying?
Yes yes waiting for my first offe
bruh idk how many times ive mentioned in this server referrals dont do shit with amazon
what happened to the guy who had job transferred without oa
NOTIFIED BY EMAIL?
when did u get the email?
just now
i got a referral at uber and still nothing 😦
when u apply?
same, not sure if it's supposed to change to under review for uber though? I thought that's just amazon
same no OA
did they patch the square code signal link?
Idk but i used it yesterday
do u have a link
bet thx bro
my gpa is exactly 2.0 im saved from academic probation lets goooooooo
mine changed to under review
i have a friend got the email from uber too.
i think it has something to do with campus recruiter?
yes
So yea it has to be
wait what
yes, we are in the same school. lol
i just did the form they want to interview in the next 2 weeks
Umich
pog mich
do you have the link to the portal
oh shoot same
haha we can see you are in the main server
Behavioral type questions like why IMC
What do you value most when choosing interns
I did it yesterday
yesterday morning
and get informed of the final round yesterday afternoon
and then confirmed the final round time next Wednesday
So you did your HR call on Monday and still heard nothing back from them?
yea they said the same thing to me
The HR told me they should be able to make a decision by Friday
but it turned out to be much faster...
I had almost one year of fulltime SDE experience here in the US
then I quit my job a few months ago to pursue a master's degree
@wraith ice like 30% of imc was Waterloo this year u have a good chance
yo
Looks like IMC is very selective. I heard from people who were interviewed last year
they said it was hard
Yes
$69
best i can do is $4.20
i know for a fact i bombed duolingo OA why are all these ppl getting rejected before me?
i TLE’d first q, couldnt even get a working solution for 2
also does anyone know wtf is the deal with waterloo
never heard of this school before all the grinders on reddit
Lmao
it feels like 2/3 of reddit goes to that random ass canadian school
Waterloo is pretty big
how to get Uber phon
Northeastern u need that much?
oh shit maybe i should apply rq
how's the capital one behavioral part of the power day, anyone take it?
anything i should look out for
its like an hour long
its an hr long tho i'd assume itd be more
and yeah i am tip
No, just a chat it only took me 40 mins
oh co-op degree
if i get LC on my C1 im gonna scream into the mic during my interview
bruh 40 mins for 3 questions how long are these questions
i don't think we even have that at northeastern
And that’s cause the guy was trying to sell me on the role for 20 mins
Standard questions
Np
very few ppl even got oa
you think then they do manual code review of OAs?
because i think I had the right ideas, the Qs were just so annoying in their I/O format
they had a graph pathing problem where you had to return your input as a list of north south east and west
just needlessly complicated, a 2D array would have been way easier
again I didnt find it that hard but especially with Java data structures adding levels of needless nonsense makes it harder for me to do it in the time limit
honestly i'd go for python
I wish i was better with python java data structures are pretty annoying
wait they allow kotlin?
hold up thats huge
oh
but most do?
i didnt even know that
i gotta get on that
idk any kotlin but functional paradigm >>>>>
actually I retract my statement hashmap problems would be beyond annoying
hashmap in fp 
ur hot
LOL
no
who is that
some idol
which band
shes a solid 5/10
@wary whale
hi lads!
has anyone here already done his optiver tech interview?
mmmm
got rejected after behavioral lmao
hot was it¿
i got oa -> behavioral
swe
😮
thanks! i just came here to collect some wisdom
wait what does this mean lol
like are you 2-3 years ahead?
im 5 years oldl
nah im incoming frosh rn thats why lmao
bruh
lol
well
havent been rejected
yet
so
maybe we chilling? 
me ?
bro i had my final yesterday 
but i fucked it a little bit
but not too much
so maybe im okay ic ant really say
still under review
i think by now they're prob done reviewing though right they tend to email in the mornings
whend you apply
yea amazon sends OA and final invites every monday
usually it's in the afternoon PST
wait i got my final invite on a thursday
yahkuna
what role
for amazon oa¿
i have akuna phone in 2 weeks but im worried that there will be no spots left lol
well
everything i studied
did not come up
nor on OA nor on final
and i studied heaps and trees
pray that you get the same problems that i did
i did amazon oa 2 times
I'm gonna apply to amazon with a fake account just to do the oa
i got some bfs easy question and one about finding the K closest trucks to the origin
same lol
bezos will personally give you hards
2 different positions
i applied to a lot of subsidiaries but i didn't get any response
do u know if twitch interns go through the same process as amazon ones?
if you clear the amazon final, how much time do they give you to accept/reject the offer?
2 weeks
i wonder if getting amazon oa means i can't do the process for their subsidiaries
at least for me
u can
i am also being ignored by subsidiaries
imagine reneging amazon for twitch
idk why 😦
idk abt oas, but u can get interview for all of them
xd
are you turkish
renege aws for amazon
who founded aws
renege amazon intern for amazon sde3
i have not heard from microsoft at all
AMAZON COME TOMORROW PLEASE
msft can take forever to reach out
happens to everyone
yea you get transferred to wherever your school is
yeah they reach out at the end of the recruiting season to tell u that u got rejected
which can take forever
If it’s been almost 2 weeks since my cap 1 OA and they haven’t reached out, is that a rejection?
possibly
they took like 3 weeks with me youre fine
ok ty homies
me?
784
or heck
lol
that’s what I’ve heard 🤞I have another big bank on my resume so I thought I should be fine but I’m stressing 😔
why doesn’t c1 take f-1 students 
for what?
if u can get it up to 800
that's decent but ideally you want to get 800+
It’s decent but you always wanna aim higher
capital one
800+ itll be good enough for most
damn
also the trick is to do 1, 2, 4 and skip 3
3 is usually annoying and just doing 1, 2, 4 can get you 820+
yea i tend to get good rng on practice ones
i just realized i never applied to microsoft
The last 2 times I took codesignal my 4 was annoying af :/
...
I got something with binary string queries
Damn wait this server is so cool wtf
How have I never come across this before
Whats good guys
really? I find this server incredibly stress inducing
I figured out an approach on paper but coding it was hard
Hahaha maybe I havent been around long enough
The process is already giving me hella stress tho
if u can do 3 though
do try to do it
otherwise just end it
like read 3
bc sometimes its doable
no you can listen to everyone else succeeding and stress yourself out about your own incompetency
At least its active tho a lot of these kinda communities are dead as hell
it's better to not open a problem than to open and not do it i think
Oh, did you actually do binary inversions? I think I was going for an O(n) solution. I didn't realize n^2 would work
Excellent
is it true on codesignal that it's better to not even open the third question?
You guys seem so far along in the process 0.o
I've just started a few days ago
id say go for the big cake
what are y’all’s thoughts on jane street business development internship if the end goal is swe
maybe lol, idk. I kinda hated that question so I might just stop worrying about it. I wanna get the 4 where you are supposed to find how many sums are divisible by k
lol anything jane street is good
is it still a good exp or is it better to do a swe internship at a diff company
i meaN
that’s the only reason i’m asking lmao
A couple of my friends at college went into that this summer and apparently its a decent pipeline
But idk unless Jane Street is your be all and end all Id go for SWE at a different company
Makes you more marketable if Jane Street doesn't work out or you don't end up liking it there lol
true jane street name is just sexy
Paycheck is sexier
yeah lol, I had a friend who got that on a practice. blessed by rnjesus frfr ong 
databricks or roblox prob
i think it's resume reject
ive seen people with 750+ get into both companies
which apps are the ones to look out for besides google coming up?
which companies use Codesignal other than roblox 😮
data bricks, hrt, capital one, meta at some point (they don't anymore)
meta still does, but only for fbu
And it's custom not gcA
oh awesome!
I've not gotten replies from uber yet
very few have
and idk if reddit/quora are hiring
maybe cause there was already one u took recently?
you can do this 😄 dwdw
849 is max ins't it?
how fast do you have to complete all questions to get 840+ lol
I did a practice where i maxed out the categories and got 849
Why don't they just make 850 max lol
Much more satisfying that way
becuz nothing is ever perfect
method?
i thought the cooldown only applied for the same company or something?
but if it's different companies, there's different codesignals, right?
ngl are there companies that just ask you lc easies bruh
wait optiver has a 3 day hackerrank?
as in it takes 3 days to complete?
bruh, what?
so quick question cuz I'm getting mixed answers here. even if you get a different code signal invite from a different company, the cooldown still applies and you have to use your old score?
was anyone able to move amazon from summer to fall? they told me i couldnt and the applications were for summer only 🤔
fuck, I guess I'll just make alt accounts lol
wdym
like I only got the invites through email
i haven't opened them yet
and I don't see them in my codesignal account
tbh why do they have that cooldown
your pfp is not a turn off
it says that it's meant to "properly reflect candidates' skills instead of their test taking abilities" online
but having a coding assessment in the first place assesses test taking abilities
i'd rather do a coding assessment with an in person interviewer so that I can tell them my thought process and get hints
i feel like that better assesses skills
they do after the oa
they just dont have the resources to interview every candidate
did u get 8/8 on the OA?
yea
nice, i couldnt for the life of me find the bug using print statements
the visible test cases were not enough for me lmfao
Are practice code signal tests easier than proctored ones?
yea cuz i cant cheat on the proctored ones
for hirevue is it similar to codesignal where you are allowed to look up documentation?
nice thanks man
look over I/O before you do a hirevue
they don’t handle it unlike every other platform
yeah I did a practice question and I'm still confused lol, never thought I would miss leetcode input
do 1,2,4,3
No update from Amazon today? 🥺
When was your final ?
I got an update
????
Thursday
“Package has been shipped”

how did you do it ?
Idk lol. I think it was good, but I don't want high hope
mine was on wednesday and Its my 5th business day and no update yet
Email themmmm
to this one ? sp-sde-intern-interviews@amazon.com ???
isn't that automated mail box or smth
^
yes bestie
I think so
The last time I emailed them for a schedule, they replied to me in 2 days
Ooo I am gonna do that
Got a question...
I did my cisco meraki OA this morning, was solid with 2 questions and kind of shaky on the last one.
got a reminder to do the test again this evening. to retake or ignore?
What is this?
some job posting on linkedin for a startup
Thot it was tiktok lmao
yes
robometrics
anyone who had their final last week got the descion ?
Does Optiver send OA to everyone or they do resume screening?
Everyone
i got optiver oa
but it says i have 72 hours
to do it
like 72 hours from start to finish for the whole assessment
9am-9pm, 6 days a week 
anyone else know about this
Please name drop the company
can you take it using any language
yea
i think so
wtff
Start to finish python Java cpp
I got the reminder to take the email some minutes ago...
and I already did this morning
robometrics
@slow quarry did you take it?
or something like that
@clever grail lurking
3 whole days worked on it got my balls busted and asshole prolapsed by ex Optiver eng and reject after a week
screw opt
swatcher
apply 4 robometrics with that resume and let us know
@slow quarry it says 2 questions what’s so bad about it
hidden test cases and they scrutinize code style and cleanliness more than bacteria killing soap advertisers
nothing too bad about it, just vague and no cases
lmaoo
why bother answering
nah by agi
my multipel people
I’ll just do it and comment in something like fuck you if it’s too hard
do it
you wont
I really don’t care about working at fucking optivor lmao
optivor
omnivore
but you dont care
🙂

who they are as a person / student
yes that too
highlight positive traits
that make them good fit
just speak all out for them
shddd
ahhh
bet
IM SO BURNT OUT
AGUGHAHG
not even september yet
picked up leetcode again lol
its been 2 days
two
only like 140
but it was in like 3 weeks
now im grinding again 10 yesterday 6 so far today
quick question
whos the girl in ur pfp
wrong answers only
I was gonna go but there were no interesting companies
Anyone get this for code for good
whats greylock
😳
Yeah, got an offer after this hackathon and interning there atm
What does that mean tho
@coarse marten I just applied and got this email about vaccines lol
Does it mean I got accepted to the hackathon or w/e
its online
like u can make it before u even start
is what i should've done
how fast do u guys type
what is palantir phone like?
any tips to prep for amzn workstyle assessment besides reading LP
Speed run leetcode
Does anyone get rejected by amazon after more than 48 hours?
DUMP
*BUMP
Does anyone get rejected by amazon after more than 48 hours?
CAN SOLEONE ANSWER THIS
what
after 48 hours?
fucj
*opens up the rope tab on amazon
😢
isn't that treating it even more like college apps?
Idk how do u treat it then
dunno
I just realized job apps are just college apps but slightly less painful in waiting for results
which is probably a bad mindset to be in
fuck
MOTHERFUCKER
my stress level
was coming down
but
PORTAL CHANGE
not its going bck up again
SUNNYVALE
LFGGG
well you don't have to write a 800 word essay
OH UH
LFGGHGG
LFGGG
FLLG
G
GLFLGLGLFLF
FLGL
FLFLF
@sinful locust WHEN'D U INTERVIEW
FLF
CONGRATS
FLLF
FRIDAY
OH SHIT
@past comet
ANYUPDATES?
i made it?
holy you applied so early
let’s goooo
What??
wait whats the difference between the two roles
Congrats
I'm Sunnyvale tooooooo
Yes sirrrr#
GOD
THESE
PAST
VANCOUVER
;KALSDF;LKASDJF
ALS;KDF;LKASDJFK;ASDJFAS
DFASD
IM SO HAPPY
LFG
This means I got it?
Damnnnnn
hmmm wth
@tawny nimbus
@hearty river
@sinful locust MY BROTHA ITS HAPPENINGGGGGG
did you get portal change???
MY GOAT
@hearty river I love you
good shit dawg
🤝
NOOOO
big dubs
I want to change office and change to winter...
how is amazon not at least decent
thats just cause they got better offers elsewhere
Then what’s good
dont mean amazon is bad
Lmao anyone who thinks amazon is ass needs to get off this discord and touch grass. Amazon TC is better than 90% of Americans
im not even gonna argue
I mean I heard it really depends on the team
with u
Some teams are even really good WLB
bro i’m goin for the resume lmao
amazon is still goated
Man’s thinks McDonald’s > amazon

