5 Most Common Amazon Coding Interview Questions for 2022

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 22

  • @veerendranathn
    @veerendranathn 2 роки тому +20

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

    • @Codebagel
      @Codebagel  2 роки тому +1

      Thanks, I'd love to! If this video hits 5,000 views I'll make a follow-up to it for some other large companies!

    • @siddarthseloth6250
      @siddarthseloth6250 4 місяці тому +2

      @@Codebagel This video hit 26,000 views, 5x more than expected, please you make amazing videos, and welll-defined ones, can you make for other companies as well.

  • @Csgo-beast
    @Csgo-beast Рік тому +2

    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!

  • @ShahidNihal
    @ShahidNihal Рік тому +2

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

  • @aninditabatra3810
    @aninditabatra3810 Рік тому

    love the video! very thorough

  • @antoninsoulier6391
    @antoninsoulier6391 2 роки тому +6

    Hello, for the Search Suggestions System don't you think it's better this way:
    def TypeSearch(products,search_word):
    final = []
    i=0
    while(i3):
    proposed_products.sort()
    final.append(proposed_products[0:3])
    else:
    final.append(proposed_products)
    i+=1
    print(final)
    ty for the video btw!

  • @saraahmed408
    @saraahmed408 7 місяців тому +2

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

  • @dmiller2036
    @dmiller2036 Місяць тому

    i think that first one, the pointers should use exclusive gt not inclusive, it reduces redundancy and prevents OOB

  • @chiragbansal7786
    @chiragbansal7786 10 місяців тому +3

    I almost went for a trie for the first one

  • @harryzhu
    @harryzhu 29 днів тому

    Num Islands could be more optimized just by marking the island was water/visited instead of using a set which is O(N)

  • @arthurmorgan718
    @arthurmorgan718 2 роки тому +1

    keep the good work

    • @Codebagel
      @Codebagel  2 роки тому +1

      Thanks! I’ll do my best!

  • @asilbekabdurashidov5195
    @asilbekabdurashidov5195 2 роки тому +1

    Keep going bro

    • @Codebagel
      @Codebagel  2 роки тому

      Will do, glad you’re enjoying it!

  • @carolinapinsdorf6372
    @carolinapinsdorf6372 3 місяці тому

    would you say this are intern leval type of question?

  • @kobbimarwa4266
    @kobbimarwa4266 8 місяців тому

    My destination 🧡

  • @yonitrach
    @yonitrach 5 місяців тому

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

  • @sathwikkatepally9993
    @sathwikkatepally9993 8 місяців тому

    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?

    • @Giggl3puff
      @Giggl3puff 6 місяців тому

      The split method creates an array of strings that were surrounded by whitespace in the initial string. So index[0] actually refers to the entire identifier up to the whitespace. The split method on "test 123 456 789" would make an array of ["test", "123", "456", "789"]
      He was also sorting from index 1 (which is the first word) until the last index (the last word), not just index 1. Not sure if that's what you meant but I figured I'd clarify

  • @MadHolms
    @MadHolms 11 місяців тому +5

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

  • @ganeshsundhars8615
    @ganeshsundhars8615 2 місяці тому

    Are these amazon coding questions fr ??