Monday, October 6, 2025
HomeData Modelling & AIAmazon Interview Experience | Set 367 (On-Campus for Internship)

Amazon Interview Experience | Set 367 (On-Campus for Internship)

1st ROUND(Online Round :90 min)
There were 20 aptitude questions based on C, DS, OS, OOPS, and 2 coding questions.
Coding Questions:

  1. Find nth Magic Number
  2. Count triplets with sum smaller than a given value

Since coding questions were easy those who completed both coding questions and some aptitude questions were selected.
Total 19 students were selected from this round.

2nd ROUND (TECHNICAL INTERVIEW :Around 1 hour)
First he asked me a genuine question : “tell me about yourself”.

  1. Find the intersection of two arrays .Initially i told him to use c++ map to hash, immediately he asked me to implement your own defined map,I was a little confused then he asked me to use hashmap and finally i solved this one.Interviewer was very co-operative.
    Solution: neveropen Link
  2. Given a binary tree,print the nodes in spiral form.I solved this one immediately using two stacks, he was much impressed and told me to wait for next round.
    Solution: Level order traversal in a spiral form

Total 6 students were selected for next round.

3rd ROUND (TECHNICAL INTERVIEW : Around 30 min)

The interviewer was very cool. He immediately asked me questions:

  1. Find the rotation point in a rotated sorted array.It was a stright forward question on binary search.
    Solution: Find the Rotation Count in Rotated Sorted array
  2. Given a linked list separate even and odd numbered nodes such that even numbered nodes are at the front of the list and in order followed by odd numbered nodes. Since it was also a straight forward question. I explained two approaches and he was satisfied and asked me to code it.

    Solution: Segregate even and odd elements in Linked list

  3. 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.

    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
32338 POSTS0 COMMENTS
Milvus
86 POSTS0 COMMENTS
Nango Kala
6707 POSTS0 COMMENTS
Nicole Veronica
11871 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11936 POSTS0 COMMENTS
Shaida Kate Naidoo
6825 POSTS0 COMMENTS
Ted Musemwa
7089 POSTS0 COMMENTS
Thapelo Manthata
6779 POSTS0 COMMENTS
Umr Jansen
6780 POSTS0 COMMENTS