# Snapdeal Interview Questions : set2

By | May 1, 2014

Hi my name is Rohit I appeared for snapdeal interviews recently .I’m sharing here my interview experience so that someone else from crackdinterview interview community may get benefited from it .

Round 1(Telephonic interview)

1. Two linked list are merging at a point.Find merging point.
2. Lowest Common Ancestor of two nodes in binary tree.I wrote code for this.Then interviewer drew a tree and asked to print stacktrace on it.
3. You are given two ropes.Each rope takes exactly 1 hour to burn. How will you measure period of 45 minutes.
4. Singleton Design pattern.

Round 2(F2F interview)

1. Reverse linked list without recursion.
2. Number of rectangles in MxN matrix.
3. All anagrams of a string.He called it anagram but i think he wanted to ask all possible substrings of a string.
4. Which Design patterns you have used.I said Decorator,Factory,Singleton.Then he asked about Decorator design pattern.

Round 3(F2F interview)

1. Tell me about yourself.Then by looking at my resume he said you don’t have hands on experience in Java as i was working in php.I said though i don’t have hands on experience but i am good in programming and oops concepts.
2. There is four digit number in aabb form and it is a perfect square.Find out the number.
3. You have a deck of 10 cards.You take one card out and put it on table and put next card in the end of deck.You repeat this sequence till all cards are on the table.Sequence formed on the table is 1,2,3,4,5…10. What was the original sequence of card.
After doing some exercise i answered 1,6,2,10,3,7,4,9,5,8.Then he asked me to write a function for this which takes a number and return the array.

Round 4(F2F interview)

1. Same tell me about yourself.
2. 3 mislabeled jar puzzle.
3. What are inner join and outer join in sql.
4. A linked list contains loop.Find the length of non looped linked list.

Have got some interview questions submit it here.So that we can help other candidates like you to land their dream job