#2023_summer
1 messages · Page 114 of 1
anyone knows if gusto codesignal is gca or custom?
i think they are talking about ft
did china make a citadel knock off?
Xane street
theres got to be a hidden agenda among all the users with female kpop pfps theres no way its a coincidence
coding
ur joking right
No
how did u not learn concurrency in school
Idk bro
it was taught in lower level cs courses
how do i learn concurrency without taking classes
I’m taking low level cs claas rn
i cant take them
online class
Wtf is it tho
its concurrency bro
^
Bruh
So it’s a linkedlist
yea
yes
just tell them that
it's a linkedlist
somtime its a triple

but rarely
Yes
i remember when akuna asked me to implement a triply linked concurrency in python and i folded
do i look like a nerd to you?
did you finish neetcode 150?
did you just do recursion on that question
is that how you're suppose to solve it?
class Solution {
public:
double myPow(double x, int n) {
long long N = n;
if (N < 0) {
x = 1 / x;
N = -N;
}
double ans = 1;
double current_product = x;
for (long long i = N; i ; i /= 2) {
if ((i % 2) == 1) {
ans = ans * current_product;
}
current_product = current_product * current_product;
}
return ans;
}
};
idk what that is
the trick of this problem is remembering (x^n == 2 * x^(n/2))
wrong thing
a^m^2 = a^2m
or smothg
what's n & 1? does that just check if n is odd?
it checks the last bit which is the bit that determines if a number is even or odd
bc 1 in binary representation is 1
Wait, I'm confused. I got a different format for my karat interview and my retake
The first one was to solve as many as possible
The second was to solve a single question
Is that normal?
anyone interviewed with gap for data science?
for some reason i got matched with gap for data science but not swe through codepath
Thanks for the response
anyone know how the akuna data infra oa is?
its prefix suffix
go each row, each col, in two directions
its just 2 dimensional of what uve done before
yes
lintcode
ill write a sol in python
Powerful coding training system. LintCode has the most interview problems covering Google, Facebook, Linkedin, Amazon, Microsoft and so on. We provide Chinese and English versions for coders around the world.
can you see flowers through flowers
2nd gap question was p easy for me and not dp
So it they give all the same questions
Idt*
gimme a second
if youre standing on a flower does it count as seeing a flower
can you stand on a wall
@sinful locust
yea
pog
Powerful coding training system. LintCode has the most interview problems covering Google, Facebook, Linkedin, Amazon, Microsoft and so on. We provide Chinese and English versions for coders around the world.
class Solution
def seeFlowers(self, grid) -> int:
dp = [[0 for j in range(len(grid[0]))] for i in range(len(grid))]
# Flowers you can see from left
for i in range(len(grid)):
flowers = 0
for j in range(len(grid[0])):
if grid[i][j] == 'W':
flowers = 0
elif grid[i][j] == 'F':
flowers += 1
else:
dp[i][j] += flowers
# Flowers you can see from right
for i in range(len(grid)):
flowers = 0
for j in reversed(range(len(grid[0]))):
if grid[i][j] == 'W':
flowers = 0
elif grid[i][j] == 'F':
flowers += 1
else:
dp[i][j] += flowers
# Flowers you can see from above
for j in range(len(grid[0])):
flowers = 0
for i in range(len(grid)):
if grid[i][j] == 'W':
flowers = 0
elif grid[i][j] == 'F':
flowers += 1
else:
dp[i][j] += flowers
# Flowers you can see from below
for j in range(len(grid[0])):
flowers = 0
for i in reversed(range(len(grid))):
if grid[i][j] == 'W':
flowers = 0
elif grid[i][j] == 'F':
flowers += 1
else:
dp[i][j] += flowers
# Iterate over cache to find most flowers viewable
best = 0
for i in range(len(dp)):
for j in range(len(dp[0])):
best = max(best, dp[i][j])
return best
i havent tested tis
mine is O(m*n) but 5 times
u can probably optimize
optimal TC is O(m*n)
i think considering this a dp problem makes it harder than it is
What company is that question for?
im trying to think of how to optimize memor
Is a 25/30 enough for the Amazon OA
its not consistent
Tf
how does o1 solution work 
o1 memory
sometimes u run python and it gets 5% faster and then next time u will get 95% faster
oh
well
thats kinda
cheating
not cheating but i thought it would be something more creative lol
i gotta read the solution
i dont get how u can replace the values without ruining the data
When stripe 
Bro
don't you have
hrt
😭
Ty
No Akuna, Palantir and Amazon return rn
the triforce of internships
is stripe better than those
why do you need stripe?
Stripe’s infra roles are v cool
which season?
stripe looks like a sexy company based on their website ui
thats all i know about that
htats even better
wtf does that mean
I’m mainly waiting on IMC rather than anything else tbh
Just applying to companies I like in the meantime
See how many offers I can get
is that under the table
You like IMC the most?
apple is gonna ding stripe's stock
apple tryna do everything
how do u guys learn this shit
Next year 
I like their signing bonus 
payment services
So do the internship and then go somewhere else after?
they got a platform
JS intern 
I got JS rejection offer
For FT I’m tryna stay in Canada so I won’t be going to any HFTs
Prolly Amazon or google FT
^
Maple syrup
Sounds like a virus
get TN
I need to be a Canadian citizen for that
Tennessee?
oh
I want Tennessee
TN == These Nuts
Lots of money
Amazon Nashville FT return is the goal this year
For an internship
dont think so they instantly rejected me
Help pay tuition
Almost all big companies and HFTs sponsor tho?
bros not tryna get tossed around the horrible H1-B system
cap one has Toronto role
That I’m not quite sure about, like 5 or so years or more?
easy problem im an idiot
how so, cause of the lottery?
also that 
Jump paid a friend’s friend 750k for senior last year
H1-b is dogshit
how do you advance past senior dev
if I was gonna make a smart move I would try to start my own company and then go as an investor in the US
get gud
do you need a degre in business management or smth
no
okay so its simple then -> be senior swe -> earn money -> pay for visa 
mba is dogshit
and go in the EB-1 category for greencard
which takes like 2-3 years
No
After senior swe it’s a matter of how long you’re at the company tbh from what I’ve seen
is it just a matter of consistently proving you know how to get things done and lead a team with a little bit of luck
I have seen a grand total of 0 staff swe’s who’ve jumped around from company to company
Yes exactly
Like all the principals I’ve seen at Amazon in my org have been around for years
there is also eb-5 for those mfs who work at HFT firms or as senior SWE 
I’m an EB-1 recipient btw
L1 go into EB-1
what qualifies for EB-5
u will get ur greencard soon then right
I’ve got plenty of time to find another one
like 2 - 3 years
making a good start up obviously is a tough thing to do, and im not discrediting how much work goes into that, but its not exactly something you can reliably do by following a process
for EB-1
u have to invest 1 mil dollars i think
hence for HFT employees and senior swe
whats the wait time for greencard

Idk I just know it’s way less stressful
ngl i dont know i never looked into it
im not a millionaire 
Also if I’m at goog I won’t have to worry about that anyways
ic
then I would start a company
get it decent sized
invest in a branch thats in the US
1 million dollars
wagon would you be ROW
and get EB-5
You forget H1-B is a lottery lol
pretty easy to get
And every time I have to renew it I go thru the lottery again
I’m not tryna take any chances lol
I am not sure if the renewal is lottery system
or just join WITCH where they enter you multiple times
.
depends on country
Bro my friend’s sister is staff swe at meta
yeah thats what I thought
Stanford masters
unless u leave the US u dont need H1-B renewal
Her wait time for green card said 95 years 
what country
i think there is also a startup visa
India
u just need to get us job and stay there first time through lottery
ok that makes sense
u have to get an investment from a fund
visa is ur permit to enter the country if you have a valid i-94 and i-47 (I think?) then u can stay in the country
And yeah I know it’s abnormally high for india and China(?) I think?
outside india and china, wait times aren’t too bad
like y combinator or somethin
The wait times
it’s capped per country
its not even worth going through job system anymore
it's capped by place of birth not nationality 😭
business is the way to go

I could have been born in the US
but I wasnt
smh
I would have US citizenship
would be OP
I will thanks for lmk
Canada citizenship is mid
i think if you become a canadian citizen u can then get one of the visas which are only available to them
TN visa
bruh what is this, leapfrogging citizenships 
LOOOOL
You would understand if you were international
TN is for Canada and Mexico


i am
yea
What
i am british citizen in US
How you not think of this then
the struggle
u could be told any moment by the government to pack ur bags
im in TN
cuz i'd rather go back to the UK than go to Canada lol
nope
These Nuts?
L choice
I am gonna apply for PR in Canada soon
I shall
go back to UK 🙏
The only thing good about the UK are the sidemen
in 2 years I may get it
what uk jobs
this fr
Canadians still kiss the queens ass
LOOOOL
i struggle way too much with binary search problems
interesting
I wouldnt wanna kiss that hags ass
i always am off by one

smh they always changing everything up here 
^
i got kicked by a pegasus, what a coincidence
UK isnt bad
if u are documented u get citizenship / PR
after 5 years
bro canada is overcrowded as hell
like GTA
overcrowded
if u go outside no jobs
overcrowded to me at least
no jobs anywhere these days lol
just publish in some joke journal
canada has no jobs in general
u get PR
and "free" healthcare
but its cold
UK weather isnt too cold too hot
not many corporate jobs there either
cold enough to snow
harsh weather
I am from bay area
its cold to me
bay is burning rn
💀
114
no
I live in mississauga
winters are a big turn off
u saw last winter?
💀
no it wasnt
so much snow
maybe for u
ik
I am not saying u arent
maybe by ur standards
yea
I hope it isnt as harsh this time
🙏
no
I think
antartica would be the place to be
while (lo <= hi):
m = (lo + hi) // 2
if nums[m] <= last:
hi = m-1
else:
lo = m+1
Why is it working with <= but not < im so fried


how else would you do it
im doing rotated sorted array and i passed after switching < to <= but idk why
off-by-one error is a f nightmare
because searching in an array of length 1 is valid
where is your base case ?
like nums[m] == target ?
there is no base case , it just stops after finding the right index
idk how it works but it does
💀
i see
did u do the clever one where u only have oen binary search
yea i will try to do that now
yea
i didnt do that cause the bounds arent that big
o ur talking about something else
ok
does this work for if it might not be in the array
so after it exits while loop you can just check if nums[lo] == target
to check if its there
but python doesn't have it right ? only java
i never have problem with thatn in python
(lo + hi )// 2
its so confusing to me whyh its lo-1
how do u know that its lo-1
💀
hhuh
what if the loop exits when you update hi not lo
nvm
i see
good idea
i dont have a standard so i just try to wing it every time which is confusing
why not len(nums)-1
yea i see
cause then we would not get the right answer for array = [1]
it would exit
befoer checking anything
then lo increments to 1
and we return lo -1 which is 0
Money
thats why i would do the naive solution on an interview
its same time complexity
but a lot easier to not fuck pu
really
nice
sexy
Go to #leetcode_discussion
does uber send oas? Im seeing some people get gca and some direct to phone
mfs talk more than they leetcode on this chat
@rustic topaz https://leetcode.com/problems/super-egg-drop/
🙄 you got a point, I've made significant progress within a month
tho 😛
bro can you stop being cringy with the "nah jit trippin"
that's a good thing
"naaah jit trippin" 🤓
LMAOOO
ssi asks: ban goku
yall just hatin on goku
21k messages in one month?
who
stop
peter whats up
nothin
lurking is the best
ssi asks: ban peter smith
i open this chat and the first thing i see is this
its a legitamte message
cool
i am neet
neetcode
school rn
why not
i know you work at google
u have cscd on ur resume
u alr cracked
can i have one of ur quant offers?
money
the implementation isn't very tricky
only thing to watch out for is ||floating point imprecision||
but yea it only takes about 10 loc
np
which problem
citadel lol
and im trying to learn binary serach really well
but by telling you super egg drop is a bsearch problem its kind of spoiled
still hard i havent figured it out
Hey can u guys
Once you finish the topic at hand
Can we all spam that @ that I linked
Spam @fossil junco if u would
no
i got resume rejected by them
still i respect the company so i figure they ask cool questions
its def a part of it
@fossil junco
you could also just binary search for the first value <= nums[0]
This sound like search in rotated array
Fuck search in rotated array
Jk once you get that one it’s like “duh”
But before then it’s like huh
No Amazon doesn’t track them for interns
Only FT
No
I always heard they don’t do you have a source
Omg Amazon recruiter
Confirmed

i feel like its use one egg from the top and decrementing by 1 until the search window is searchable with k-1 eggs then use bsearch
im having trouble articulting that
:susge:
So you can get in there with an Amazon offer even if you’re not going
For sure
Nice
But you can’t access most channels without proof you accepted it
Oh
It’s some recording of a lecture
It’s funny
Not really any point to it
It’s gone now tho cuz I got self conscious
dont let anyone tell you anything ur amazing
@woven quest Check this out
class Solution:
def peakIndexInMountainArray(self, arr: List[int]) -> int:
lo = 1
hi = len(arr)
while lo < hi:
m = lo + (hi - lo) // 2
if arr[m-1] <= arr[m] and arr[m] <= arr[m+1]:
lo = m + 1
else:
hi = m
return lo
We return lo for the soloution not lo-1
does that pass
💀
im curious if you
understand why we return lo and not lo-1
like your pattern suggests
but whats the intutiotn behind returning lo and not lo-1
but in this template for bsearch we always do this, where we dont explicitly check if we're at the solution, rather, have some conditions to adjust the left and right bounds and let the end of the while loop deliver us the soolution
whats different about this
thats so confusing to me
damn

jane street?

👍
not really but i think its my fault
is bisect module acceptable in an interview
index out of range error
🤔
i tried it earlier
def peakIndexInMountainArray(self, arr: List[int]) -> int:
lo = 1
hi = len(arr)
while lo < hi:
m = lo + (hi - lo) // 2
if arr[m-1] > arr[m] and arr[m] > arr[m+1]:
hi = m
else:
lo = m+1
return lo```
how does two pointer work here
lol
i kind of see it now
cause if the condition holds there is a peak to the left
to the right
its like the original
it returns lo 
has Meta posted intern postings
lmaoooo got referred and it asks for what postion
rip
janitor
atp might as well
im going to start using that for all bin serach problems during interviews
go
cheese it
mr cheese
what does tuples have to do with bsearch
maybe u can do something with lambda functions
how
log(n) is op
O(log(n))
oh
"now i will download and import my bsearch module that includes a function that solves this exact problem"
an interviewer could argue that using bisect in a bsearch problem is like using sort in an implement sorting algorithm problem no?
even if its standard
it is for me 💀
i guess im in luck
yall I have a quick question
I've matched with 7 companies for an internship in summer 2023 and I'm not sure which to choose if I get offers from multiple
not yet, but matched
matched?
STOP
what is this 
Wtf
No it was through CodePath, I was in the advanced software engineering prep course
Where’d ash go
anyone know anything about IMC's phone behavioural screen?
High school dude
You’re not even guaranteed to get interviewed by all of them depending on how they do the career fair
I have interview times with all of them, they are not in the screenshot
I think SAP is the biggest name
Even for 1-1s I didn’t get next steps
Big group and small group can be info sessions essentially
hi
Really depends
These are all 1-1s, versik legit only had three 1-1 slot options and I got the last
harvard
Yeah but I wouldn’t count my chickens yet, decide after you get the offers
CodePath is very good, I highly highly recommend. just becasue I completed 1 course I can apply to all career fairs
Why do u ask
wassup
no info sessions have been underway, these are 1-1's I think to start the multi step process
no free
LOL
ssi asks: ban sushi
Do you know anything about Intuit pm intern?
Not really, just more chances
more chances yeah
True sounds good, I just wanted to order the interviews so I have my top priority last
Google hasn't touched matching yet but I've made sure to save my last day for them
urms?
SAP and Mathworks is best I feel
I was thinking Mathworks also because they are super well known, but isn't health like huge in swe?
last year, I'm a double major, I've already done one other technical internship and currently a temp full stack dev
The mission statement encourages it but tbh in practice it didnt feel like it. My friends and i were in tech prep classes and it was…usual CS distribution
#freeEndorsi
yes
Like i’ve seen URM programs and stuff, and codepath is on the lower end of that lol
They should just drop it from their mission
MathWorks have matlab, not sure of others
no, i had an offer but i reneged
ssi asks: ban kirb
Very doable
@woven quest I'll take your advise and wait for offers then I'll prob come back if I have more than 1 lol
Who knows. Companies will target diversity events yeah, idk if codepath is good for that
I'm a double major so this is like my 5th or 6th year lmao
I would imagine yes
year like junior/senior?
oh cs fuck idk
too many years
2023
december
I've applied to plenty others but this is just through codepath
ehh what kind of stuff
based
Like if it’s a good program?
URM buff goated
I heard the pay is mid but Cisco and Intuit feed into apm programs if that’s your goal
That’s good to know, thanks!
yes
lol i took a oa 2 weeks after i got it once and got phone
Are there any pm intern prep you recommend?
but you're cracked
For where
I see thanks
Does apple post 2023 summer internship for software engineer?
Intuit mainly since that’s the only one I have right now lol, but general works too
associate product manager
probably just glassdoor, exponent, or product buds
Cool thanks 🙏
@quaint bolt have you done IMC recruiter call?
u got? 
how long will it be like that ? mine's been like 3 weeks
a week
Does anyone know if you get to keep your work laptop at companies if they send you a brand new laptop?
Does anyone know if you get to keep your work laptop at companies if they send you a brand new laptop?
LMAO
yes if you dont return it
@gentle latch is she prettty? https://www.instagram.com/p/CfOXcW3uOtT/?igshid=MDJmNzVkMjY=
ayo stop showing my gf
she doesnt look like a real person 💀
ssi asks: ban goku
What? I’m asking mr juda a question
Racially motivated?
filter motivated
can u send me his insta

luckily I didn't get herpes like other ppl did
Nice
stfu
🐒
real
nice main
@ember bison does talk aot like goku
I'm starting to think they're the same person
@ember bison is my bitch dw
if there's a hole, there's a goal
I like
u like
I touch more grass than u
I literally go outside my backyard and roll on the grass everyday for 3 hrs
I like 177013
why does this look like me
🙏
What???
I rejected ur hug
??
stop sexyally assulting me
🤓
I have 3
Stop flexing
i have 4
i have 4 3d gfs which makes a total of 12 gf dimensions
I can show u one kf them
idk loooks 3d to me
look low lovey dovey she is aww
cs majors be like ^
and confirm she is 2d
you're mother
NOOOOOO IM NOT MOTHER
Heck what are your pronouns
that's enuf discord for today, too much weird shit
c/++
deman/demon are my actual pronouns like no joke
Bro you’re the only one being weird
😁😭😭😭😭😭
if u use other pronouns, u are discriminatory

low key
I'm gonna go cry my self to sleep now
stop reacting nerd to every msg I send
I'm not a nerd!
damn
goku really bullying me
I'll email my recruiter to rescind ur offer
proceeds to self react to own messages
well I'm a simple man, if i see a button I click
why are u reacting to the nerd
monke see monke do 🐒
yoo man's being racist, just bc I'm brown doesn't mean I'm a monke
🦮🚶♂️
Kyoyo go make a project that saves the world or something
y'all weird af, I need to leave this server before I get consumed by y'all's weirdness
if this project works out it will be awesome
ew texan detected
if it doesnt i will waste a fck ton of time
Didn’t you just say you are Asian and had a big black pp???
wtf how did u know I go to UT
but I didn't think @static spindle would know
mf spelled y'all's
🦮🚶♂️
you should dm them
its hibernation season 😔

Nvm
the dude who was trying to recruit me to manage a warehouse responded to me within 3 minutes
what questions were on the OA
it's a good school
i dont remember something about how long I can go without water
For the people go gave the Amazon OA. I just spoke to a senior SDE. He said should hear back within 3 days after giving the OA
whats up with people giving the OA
For the people go gave the Amazon OA. I just spoke to a senior SDE. He said should hear back within 3 days after giving the OA
:(
For the people go gave the Amazon OA. I am a Amazon. Should hear back within 24 hours of applying
LMAO
Can you tell him to get me an offer
datadog offer
you got 3
why monkey?
i take it back i need the 24 hour delivery for my 27th copy of "heard on the street"
thank you father 🙏
@solar osprey where are you from
does anyone know if bloomberg apps are closed or were they ever out?
never out
Ohio
Mfs live in Ohio
🤔
Like Jake Paul
😁
I’m from Zimbabwe 😎
Based on Jake Paul or Logan Paul?
sounds exciting!
we arent man
You will get a Chromebook when you will join Google
they dont use macs?
or windows?
no you have to code on google docs
why do u think they do the interviews in google docs
@hearty river https://finance.yahoo.com/news/tech-stocks-matana-is-the-new-faang-analyst-says-145511543.html prestigious name 
Replace Nvidia with Twilio, so it can be MATATA 
SHEEEEEEESH
go to msft. you can use them there
Whenever you’re working you’ll be ssh-ing into their servers anyways so it doesn’t matter
real
True…
I love being able to use github

allowed to use anything 
no software restrictions
jira poop
first thing I downloaded was discord

I mean I downloaded firefox
and opened tor thru firefox

so ig yes
idr if I opened it
but u can
no
what u doing on tor 


Getting an email that starts with “no-reply” days after you submitted your application 😍😂
😍
They only use the no reply for offers so you can’t say “no” 😉
copilot 😈
literally can 
^
Rejection emails containing: “While your skills and credentials are impressive” 😍😂
seggw
how screwed am i jp morgan OA without taking a dsa course yet
samw
Jpmorgan OA is pretty easy
yea and thenthey ghost you
You use whatever
If you’re working with Java you’ll most likely use IntelliJ tho
And for webdev stuff it’ll be vscode
I just write code I don’t really have a preference
IntelliJ has a useful internal plugin that integrates with Amazon’s build system
So that’s nice - I think vscode has an equivalent but the IntelliJ one’s been around longer
Yes
Why would they not 

4th
I sent my resume in #resume 
@quaint bolt you go to waterloo?
understandable
i hope sushi doesn't get amazon 🙏
Unless you’re an icpc chad yes
for blocking me
Or you lie about grad date
No?
Lots of icpc kids at loo
@quaint bolt do u ?
do math
I will
I feel like this has been established multiple times this summer 
Man really is a gpt instance



