Snapdeal Interview Experience | Set 6 (On Campus)

Hi, Snapdeal visited our campus recently, and here’s my interview experience!

Written Round:
20 Aptitude Questions.
2 Coding Questions – 1. Given points of two lines A(x1,y1 x2,y2) & B(x3,y3 x4,y4) find whether the points intersect or not!
2. Overlapping paintings, find no. of paintings that can be seen distinctly, extreme co-ordinates of paintings are given!

Some simple puzzles.

Second Round Interview :

1. Tell me the logic of the program written in the first round!Improve it, try for O(n) complexity!

Now make some changes in the same code in order to get O(1) complexity in most cases.(Use Dynamic Programming!)

Puzzle : a glass, a tap given! fill the glass half without the use of any measuring instruments!

Third Round Interview :

Write a program to print “Hello” and “World” infinitely using two threads, such that one thread prints the String “Hello” and the other prints “World”!
– Why sleep() cannot be used?
– Why have you used synchronized keyword?
– How will a deadlock occur in this program?
– What will be the solution for breaking the deadlock?

Write a program in Java to find whether a given tree is a subtree of another one or not! both iterative as well as recursive!

Fourth Round Interview : HR Round
Tell me something about yourself!
How were the interviews?
How were the interview questions?

What are the demerits in SnapDeal?
Rank SnapDeal?

Suggestions?

Questions?

I would like to thank w3wiki for a exhaustive set of interview questions and study material, which indeed has helped me a lot!

If you like w3wiki and would like to contribute, you can also write an article and mail your article to review-team@w3wiki.net.

All Practice Problems for Snapdeal !

Contact Us