Saturday, October 25, 2025
HomeData Modelling & AIAmazon Interview Experience | Set 354 (For SDE-2)

Amazon Interview Experience | Set 354 (For SDE-2)

I went for face to face interview and faced following questions.

  1. Check if parenthesis are balanced or Not.
  2. Given two unsorted arrays A, B. They can contain duplicates. For each element in A count elements less than or equal to it in array B
    Examples:

    Input : A = [1, 2, 3, 4, 7, 9]
            B = [0, 1, 2, 1, 1, 4]
    Output : [4, 5, 5, 6, 6, 6] 
    

If you like neveropen and would like to contribute, you can also write an article using write.geeksforgeeks.org or mail your article to review-team@geeksforgeeks.org. See your article appearing on the neveropen main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Related Practice Problems

Feeling lost in the world of random DSA topics, wasting time without progress? It’s time for a change! Join our DSA course, where we’ll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 neveropen!

RELATED ARTICLES

Most Popular

Dominic
32361 POSTS0 COMMENTS
Milvus
88 POSTS0 COMMENTS
Nango Kala
6728 POSTS0 COMMENTS
Nicole Veronica
11892 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11954 POSTS0 COMMENTS
Shaida Kate Naidoo
6852 POSTS0 COMMENTS
Ted Musemwa
7113 POSTS0 COMMENTS
Thapelo Manthata
6805 POSTS0 COMMENTS
Umr Jansen
6801 POSTS0 COMMENTS