5 Most Common Amazon Coding Interview Questions for 2022

5 Most Common Amazon Coding Interview Questions for 2022

Codebagel

1 год назад

18,288 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Shahid Nihal
Shahid Nihal - 02.10.2023 10:43

I didn't know we could custom sort!! Thanks for the video

Ответить
anindita batra
anindita batra - 10.09.2023 22:00

love the video! very thorough

Ответить
csgo beast
csgo beast - 29.07.2023 01:35

Really nice video! Didn't come in with expectations of any good explanations since the video is 20min but covers 5 medium questions but to my surprise it very well did!

Ответить
Antonin Soulier
Antonin Soulier - 20.10.2022 13:25

Hello, for the Search Suggestions System don't you think it's better this way:
def TypeSearch(products,search_word):
final = []
i=0
while(i<len(search_word)):
sw = search_word[0:i+1]
proposed_products = []
for product in products:
if(product.startswith(sw)):
proposed_products.append(product)
if(len(proposed_products)>3):
proposed_products.sort()
final.append(proposed_products[0:3])
else:
final.append(proposed_products)
i+=1
print(final)

ty for the video btw!

Ответить
Asilbek Abdurashidov
Asilbek Abdurashidov - 13.09.2022 17:08

Keep going bro

Ответить
Arthur Morgan
Arthur Morgan - 13.09.2022 15:33

keep the good work

Ответить
VEERENDRANATH N
VEERENDRANATH N - 13.09.2022 07:17

Please continue posting these videos. If possible do separate videos for each type of the algorithm

Ответить