5 Most Common Amazon Coding Interview Questions for 2022

preview_player
Показать описание
These are the most common coding interview questions that Amazon gives for software engineering interviews, and I’m going to walk you through how to solve each of them.

If you want to get a job as a software engineer at Amazon, I highly recommend you know these 5 questions very well. If you can solve these 5 questions, you should feel very comfortable walking into your Amazon interviews.

📘 Chapters
0:00 - Intro
0:45 - 5) Search Suggestions System
4:40 - 4) K Closest Points to Origin
8:28 - 3) Reorder Data in Log Files
12:15 - 2) LRU Cache
16:27 - 1) Number of Islands

🔗 Resources

🎵 Music
Moon Boots - Jobii
Cathartic - [ocean jams]
Brontosaurus - Dylan Sitts
Ginger Chews - Dylan Sitts
4 Course Meal - Matt Large

#codinginterview #softwareengineer #amazon
Рекомендации по теме
Комментарии
Автор

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

veerendranathn
Автор

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.sort()

else:

i+=1
print(final)

ty for the video btw!

antoninsoulier
Автор

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!

Csgo-beast
Автор

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

ShahidNihal
Автор

Thank you so much!
Are these questions were asked during the OA or during the final interviews?

saraahmed
Автор

cant you do the 4th most common question in O(n) using the select algorithm

ilmofmi
Автор

I almost went for a trie for the first one

chiragbansal
Автор

In the 3rd problem,

You sorted letter logs from index 1, and 0 if their contents are same. But the identifiers aren’t of length 1… right?

sathwikkatepally
Автор

not even one problem related to DP, hmm, highly doubt Amazon won't ask DP questions :)

MadHolms