Skip to content
Related Articles

Related Articles

Improve Article

Amazon Interview | Set 54 (On Campus for SDE)

  • Difficulty Level : Expert
  • Last Updated : 18 Jun, 2019

Hi All, I got the following question for the On-Campus placement process. Hopefully it’ll help you too.

Screening Test

Q1. Left View of a tree

Q2. Add three numbers represented as linked lists
n1: 1->2->3
n2: 4->5
n3: 6->7->8->9
sum: 6->9->5->7

Round 1 (F2F Interview)

Connect same level nodes without level order traversal. (Code)

Given an array where all numbers but one occurs in pairs, suggest all ways to find the unique number. What if the array was sorted? (Code)

Round 2 (F2F Interview)

Print cousins of a given node (Not sibling)

Given a 20 GB file and 2GB RAM, how to parse it and detect where to break it, concepts of memory management

Implement 3 stacks in array, all approaches and code

Deepest left leaf of a binary tree

Round 3 (F2F Interview)

Longest path in a tree with just one bend. May or may not start with from the root. (Complete code)

Code for deadlock and how to resolve.

OOPS concepts, polymorphism

Round 4 (Telephonic Interview)

Check if a tree is a subtree of another. (Code)

Convert a given number to Roman numbers.

Thanks a lot to the GeeksforGeeks team again. Appreciate the hard work you guys have put. Also a big thanks to all the contributors.

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon. GoogleE-Litmus and Microsoft Test Serieses.

My Personal Notes arrow_drop_up
Recommended Articles
Page :