Skip to content
Related Articles

Related Articles

Amazon Interview | Set 46 (On-campus for Internship)
  • Difficulty Level : Medium
  • Last Updated : 17 Jun, 2019

Written:
20 MCQ on basics of C, OS, Networking + 2 Coding.
1) Left view of Binary Tree.
2) Rotate a matrix by 90 degree.

Interview (Round-1)
1. You have to find p,q of matrix p*q such that it fill n elements(n given) Such that
a) matrix should be nearest to a square matrix and
b) 0<=((p*q)-n)<=2 2. Zig-zag traversal of tree

3. You are given an array of length k and it have numbers from 0 to n (where k>>>n) in O(n) time and no extra space find occurrences of each element in O(n) time only

Round-2
1. You are given row and column wise sorted matrix you have to find and delete an element such that it is still sorted in O(n) time.

2. Find if sum of any 2 elements in an array equal to k in O(n) time using extra space.



3. In a BST to every element add sum of elements greater than it.
Result –> Got Selected from Campus Internship Interviews.

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. 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 and Microsoft Test Serieses.

My Personal Notes arrow_drop_up
Recommended Articles
Page :