#!process amazon offer
1 messages ยท Page 1 of 1 (latest)
@abstract thunder timeline please?!?
fucking hiell
yeah i aint finding out today then
when did you interview @ionic obsidian
1/8
what lc did u get
how tf did u pass this
did u use a trie?
OA 11/28
Interview Invite 12/12
Interview 12/17
First follow up 12/31
Second follow up 1/9
Third follow up 1/16
Offer 1/16
No post interview survey
pepporoni what was ur lc
still waitig to find out
i mentioned usig a trie to solve but said i cant code up the DS on the spot
sheeeeesh
One easy to medium non tagged linked list manipulation. One stone game II.
here's my solution, idk if this is optimal enough:
` def helper(word, word_set):
result = set()
for i in range(1, len(word)): # Iterate over each index in the word
prefix = word[:i]
suffix = word[i:]
if prefix in word_set and suffix in word_set:
result.add(prefix)
result.add(suffix)
return result
def solve(word_list):
word_set = set(word_list) # Convert word_list to a set for O(1) lookup
composite_word_lists = []
for word in word_list:
component_words = helper(word, word_set)
if component_words: # If the word is composable
component_words.add(word) # Include the original word in the result
composite_word_lists.append(list(component_words))
return composite_word_lists `
did u get offer as soon as u sent third follow up?
damn bruh, props for being able to solve it
i woulda j done brute force
guys its not hard, i just now realized that my solution is just brute force
cant figure out optimal
oh lmao
i thikn im cooked
nah ur chillin as long as u were able to explain properly
Did good on LPs. Not so good on coding. Stucked a bit on the first lc but solved it. Did not have time to code up second lc. Only provided the transition function for dp.
aight imma just study brute force and then learn how to describe optimal
why amazon asking so many dps bro
jesus chris
u would think zon is a quant company with some of the questions they asking
nah my cracked LC friend instantly started trying to dfs it as soon as i explained the problem
so prob they wanted that ๐
Two hours after the third follow up.
yea but then i heard others getting top k elements
my friend got most and least freq elems in data stream
damn bro im fucked
they told me 5 business days for a decision
is that what they told u too?
ye
emailed yesterday and got the same email they sending to every1 foloowing up
so no news
u think they will expedite ur process if u send follow up?
EST, CST, or PST?
NEED ZON
rolling
when did u do oa
last fri i think
u aint getting final this month lol
whend u do oa
tbh dec to jan is such a big gap cuz of xmas n new years
how much time u get for this? we got the same problem lmao
lmaooo
DM'ing u
tf this problem is brutal i still don know how to do this ๐ญ u so cracked
Only had less than 15 min for the second lc... I almost wanted to pass out...
were u able to come up with the solution
jesus fucking chris
๐ญ
what is with zon asking so much dp