Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Snapdeal Team. If you also belong to the team, you can get access from here

Snapdeal Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Snapdeal Software Developer Interview Questions, Process, and Tips

Updated 4 Apr 2022

Top Snapdeal Software Developer Interview Questions and Answers

  • Q1. Closest Pair of Points Problem Statement Given an array containing 'N' points in a plane, your task is to find the distance between the closest pair of points. Explanati ...read more
  • Q2. Subtree Check in Binary Trees You are given two binary trees, T and S. Your task is to determine whether tree S is a subtree of tree T, meaning S must match the structur ...read more
  • Q3. Largest Rectangular Area In A Histogram Given an array HEIGHTS of length N , where each element represents the height of a histogram bar and the width of each bar is 1, ...read more
View all 35 questions

Snapdeal Software Developer Interview Experiences

12 interviews found

I was interviewed before Apr 2021.

Round 1 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

It’ll range from the very very basics of programming to the toughest of DPs. In between questions were being popped up on your projects. If you’ve some worth-discussing development projects in your resume(like I’ve my BTP and an Android game), substantial amount of time goes in discussing that.

  • Q1. 

    Nth Fibonacci Problem Statement

    Calculate the Nth term of the Fibonacci series, denoted as F(n), using the formula: F(n) = F(n-1) + F(n-2) where F(1) = 1 and F(2) = 1.

    Input:

    The first line of each test...
  • Ans. 

    The recursive approach involves direct implementation of mathematical recurrence formula. 
    F(n) = F(n-1)+F(n-2)
     

    Pseudocode :

    fibonacci(n):
    	if(n<=1)
    		return n;
    	return fibonacci(n-1) + fibonacci(n-2)

     

    This is an exponential approach. 

    It can be optimized using dynamic programming. Maintain an array that stores all the calculated fibonacci numbers so far and return the nth fibonacci number at last...

  • Answered Anonymously
  • Q2. 

    Inorder Traversal of Binary Tree Without Recursion

    Given a Binary Tree consisting of 'N' nodes with integer values, your task is to perform an In-Order traversal of the tree without using recursion.

    Inpu...

  • Ans. 

    Inorder traversal requires that we print the leftmost node first and the right most node at the end. 
    So basically for each node we need to go as far as down and left as possible and then we need to come back and go right. So the steps would be : 
    1. Start with the root node. 
    2. Push the node in the stack and visit it's left child.
    3. Repeat step 2 while node is not NULL, if it's NULL then pop the topmost n...

  • Answered Anonymously
  • Q3. 

    Largest Rectangular Area In A Histogram

    Given an array HEIGHTS of length N, where each element represents the height of a histogram bar and the width of each bar is 1, determine the area of the largest rec...

  • Ans. 

    Traverse all bars from left to right, maintain a stack of bars. Every bar is pushed to stack once. A bar is popped from stack when a bar of smaller height is seen. When a bar is popped, calculate the area with the popped bar as smallest bar. The current index is the ‘right index’ and index of previous item in stack is the ‘left index’. 
    Following is the complete algorithm.


    1) Create an empty stack.
     

    2) Start fro...

  • Answered Anonymously
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Hard

Director (search) had come along with the recruitment team this time. So, he was only taking the rounds for all the candidates in this round. Summary, two questions were asked.
After these two, he asked me if I’d any questions for him. I asked about the work culture and what kind of people he was looking for. It’ll give you an idea whether you’re selected or not. Be eager to hear the answer he gives and feel attracted to the prospects he puts forward about the company! AGAIN IMPORTANT, DON’T GIVE UP ANY QUESTION. UNTIL HE DECIDES TO MOVE ON TO THE NEXT. If you’re not able to come up with a solution. Don’t panic. Show your fighting spirit.

  • Q1. 

    Search in a Row-wise and Column-wise Sorted Matrix Problem Statement

    You are given an N * N matrix of integers where each row and each column is sorted in increasing order. Your task is to find the positi...

  • Ans. 

    The brute force solution is to traverse the array and to search elements one by one. Run a nested loop, outer loop for row and inner loop for the column
    Check every element with x and if the element is found then print “element found”. If the element is not found, then print “element not found”.
     

    Efficient Approach : The idea here is to remove a row or column in each comparison until an element is found. Start searc...

  • Answered Anonymously
  • Q2. 

    Closest Pair of Points Problem Statement

    Given an array containing 'N' points in a plane, your task is to find the distance between the closest pair of points.

    Explanation:

    The distance between two poin...

  • Ans. 

    Algorithm:
    1) Sort all points according to x coordinates.
    2) Divide all points in two halves.
    3) Recursively find the smallest distances in both subarrays.
    4) Take the minimum of two smallest distances. Let the minimum be d. 
    5) Create an array that stores all points which are at most d distance away from the middle line dividing the two sets.
    6) Find the smallest distance in the created array.
    7) Return the minimum of d...

  • Answered Anonymously
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Easy

Most Important here is do not fake your personality here. They’re HR guys, they’re trained to catch the fake ones. So, be genuine.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPASnapdeal interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed before Apr 2021.

Round 1 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Technical Interview round with 2 DSA based questions.

  • Q1. 

    Find Pair with Given Sum in BST

    You are provided with a Binary Search Tree (BST) and a target value 'K'. Your task is to determine if there exist two unique elements in the BST such that their sum equals ...

  • Ans. 

    This problem can be solved using hashing. The idea is to traverse the tree in an inorder fashion and insert every node’s value into a set. Also check if, for any node, the difference between the given sum and node’s value is found in the set, then the pair with the given sum exists in the tree.
    Time Complexity : O(n).

  • Answered Anonymously
  • Q2. 

    Zig Zag Tree Traversal Problem Statement

    Given a binary tree, compute the zigzag level order traversal of the nodes' values. In a zigzag traversal, start at the root node and traverse from left to right a...

  • Ans. 

    This problem can be solved using two stacks.
    Assume the two stacks are current : current level and next level. We would also need a variable to keep track of the current level order(whether it is left to right or right to left). We pop from the current level stack and print the nodes value. Whenever the current level order is from left to right, push the nodes left child, then its right child to the stack next level.&nb...

  • Answered Anonymously
Round 2 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

Technical round with questions on OS and DSA.

  • Q1. 

    Subtree Check in Binary Trees

    You are given two binary trees, T and S. Your task is to determine whether tree S is a subtree of tree T, meaning S must match the structure and node values of some subtree i...

  • Ans. 

    The recursive approach would be to traverse the tree T in preorder fashion. For every visited node in the traversal, see if the subtree rooted with this node is identical to S.
    Time worst-case complexity is O(mn) where m and n are number of nodes in given two trees. 
    Auxiliary space : O(n)

    The above approach can be optimised to O(n) time complexity. The idea is based on the fact that inorder and preorder/postorder un...

  • Answered Anonymously
Round 3 - HR 

Round duration - 30 minutes
Round difficulty - Easy

HR round with typical behavioral problems.

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPASnapdeal interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 5 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Nagarro
Q4. Crazy Numbers Pattern Challenge Ninja enjoys arranging numbers in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more

I was interviewed before Apr 2021.

Round 1 - Face to Face 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical Interview round with questions based on DSA.

  • Q1. 

    LCA of Binary Tree Problem Statement

    You are given a binary tree consisting of distinct integers and two nodes, X and Y. Your task is to find and return the Lowest Common Ancestor (LCA) of these two nodes...

  • Ans. 

    The recursive approach is to traverse the tree in a depth-first manner. The moment you encounter either of the nodes node1 or node2, return the node. The least common ancestor would then be the node for which both the subtree recursions return a non-NULL node. It can also be the node which itself is one of node1 or node2 and for which one of the subtree recursions returns that particular node.

    Pseudo code :

    LowestCommonA...
  • Answered Anonymously
  • Q2. 

    Reverse a Linked List Problem Statement

    You are given a Singly Linked List of integers. Your task is to reverse the Linked List by changing the links between nodes.

    Input:

    The first line of input contai...
  • Ans. 

    This can be solved both: recursively and iteratively.
    The recursive approach is more intuitive. First reverse all the nodes after head. Then we need to set head to be the final node in the reversed list. We simply set its next node in the original list (head -> next) to point to it and sets its next to NULL. The recursive approach has a O(N) time complexity and auxiliary space complexity.
    For solving the question is c...

  • Answered Anonymously
  • Q3. 

    Linked List Cycle Detection

    Determine if a given singly linked list of integers forms a cycle.

    Explanation:

    A cycle in a linked list occurs when a node's next reference points back to a previous node in...

  • Ans. 

    Floyd's algorithm can be used to solve this question.

    Define two pointers slow and fast. Both point to the head node, fast is twice as fast as slow. There will be no cycle if it reaches the end. Otherwise, it will eventually catch up to the slow pointer somewhere in the cycle.

    Let X be the distance from the first node to the node where the cycle begins, and let X+Y be the distance the slow pointer travels. To catch up, t...

  • Answered Anonymously
Round 2 - Face to Face 

(3 Questions)

Round duration - 45 minutes
Round difficulty - Medium

Technical round with questions on DSA and DBMS.

  • Q1. What is an Inner Join?
  • Ans. 

    It is a type of join operation in SQL. Inner join is an operation that returns combined tuples between two or more tables where at least one attribute is in common. If there is no attribute in common between tables then it will return nothing. 

    Syntax: 

    select * 
    from table1 INNER JOIN table2
    on table1.column_name = table2.column_name;

  • Answered Anonymously
  • Q2. What is an outer join?
  • Ans. 

    It is a type of Join operation in SQL. Outer join is an operation that returns combined tuples from a specified table even if the join condition fails. There are three types of outer join in SQL i.e. 

    Left Outer Join
    Right Outer Join
    Full Outer Join

    Syntax of Left Outer Join: 
    select *
    from table1 LEFT OUTER JOIN table2
    on table1.column_name = table2.column_name;

  • Answered Anonymously
  • Q3. 

    Count Unique Rectangles in Grid

    Given a grid with 'M' rows and 'N' columns, calculate the total number of unique rectangles that can be formed within the grid using its rows and columns.

    Input:

    The firs...
  • Ans. 

    If the grid is 1×1, there is 1 rectangle. 

    If the grid is 2×1, there will be 2 + 1 = 3 rectangles 

    If it grid is 3×1, there will be 3 + 2 + 1 = 6 rectangles. 

    we can say that for N*1 there will be N + (N-1) + (n-2) … + 1 = (N)(N+1)/2 rectangles

    If we add one more column to N×1, firstly we will have as many rectangles in the 2nd column as the first, 

    and then we have that same number of 2×M rectangles.&nb...

  • Answered Anonymously
Round 3 - Face to Face 

(3 Questions)

Round duration - 40 minutes
Round difficulty - Easy

Technical round with questions on DSA and Puzzles.

  • Q1. You have three jars, each mislabeled. One jar contains only apples, another contains only oranges, and the third contains both apples and oranges. You can pick one fruit from one jar to determine its conte...
  • Ans. 

    1 pick of an eatable is required to correctly label the Jars.


    Solution :
    You have to pick only one eatable from jar C. Suppose the eatable is a candy, then the jar C contains candies only(because all the jars were mislabeled).
    Now, since the jar C has candies only, Jar B can contain sweets or mixture. But, jar B can contain only the mixture because its label reads “sweets” which is wrong.

    Therefore, Jar A contains sweets. ...

  • Answered Anonymously
  • Q2. How can you measure 45 minutes using two identical wires?
  • Ans. 

    If we light a stick, it takes 60 minutes to burn completely. What if we light the stick from both sides? It will take exactly half the original time, i.e. 30 minutes to burn completely.

    0 minutes – Light stick 1 on both sides and stick 2 on one side.

    30 minutes – Stick 1 will be burnt out. Light the other end of stick 2.

    45 minutes – Stick 2 will be burnt out. Thus 45 minutes is completely measured.

  • Answered Anonymously
  • Q3. 

    Find All Anagrams in a String

    Given a string STR and a non-empty string PTR, your task is to identify all starting indices of PTR’s anagrams in STR.

    Explanation:

    An anagram of a string is another string...

  • Ans. 

    Algorithm : 
    Define a map m, n := size of s, set left := 0, right := 0, counter := size of p
    define an array ans
    store the frequency of characters in p into the map m
    for right := 0 to n – 1
    if m has s[right] and m[s[right]] is non zero, then decrease m[s[right]] by 1, decrease counter by 1 and if counter = 0, then insert left into ans
    otherwise
    while left < right{
       if s[left] is not present in m, then incr...

  • Answered Anonymously

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPASnapdeal interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, System Design, Aptitude, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application resume tips for other job seekers

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Final outcome of the interviewRejected

Skills evaluated in this interview

Software Developer Interview Questions & Answers

user image Adithya H K Upadhya

posted on 3 Dec 2015

Interview Preparation Tips

Round: Test
Experience: An aptitude test which was followed by three rounds of technical interviews and finally the HR interview.

Round: HR Interview
Experience: Snapdeal offered placements for 5 students (3 from CS and 2 from IT).

General Tips: Be extremely well prepared for any company. Research about the company's profile extensively before the company's interview. HR panel always looks for candidates who are well aware of the company in order to measure the candidate's interest. Data structures are absolutely necessary for any company. Improve coding skills through frequent participation in competitive programming arena such as codeForces, codeChef, HackerEarth etc. "Software development job profile was offered to me.
Unnecessary and irrelevant questions are to be avoided. We should raise questions only if we have some genuine questions. However any question related to job profile or location preference could be raised. "
"It was very grueling and tiring at first but the sweet taste of placement makes it all worth it.
Placements are a turning point in everybody's career."
Skill Tips: Snapdeal is more focussed on Data structures and object oriented technology.
For data structures, online materials such as GeeksforGeeks are excellent and in case of OOPS concepts, stronghold in either C++ or java programming language is necessary.
Skills:
College Name: NIT Surathkal

Snapdeal interview questions for designations

 Senior Software Developer

 (1)

 Software Engineer

 (5)

 Senior Software Engineer

 (1)

 Content Developer

 (1)

 Data Engineer

 (1)

 Front end Engineer

 (1)

 Sdet

 (1)

Software Developer Interview Questions & Answers

user image Anmol Vijaywargiya

posted on 2 Dec 2015

Interview Preparation Tips

Round: Test
Experience: The first one was an aptitude round. It had 22 MCQs and 3 Coding Questions.Total time given was an hour. A total of 33 students were shortlisted for the next round.

Round: Technical Interview
Experience: The second round was a technical one. 19 students were asked to leave i.e. they were rejected.

Round: coding round
Experience: Then there was the pen and paper round where the rest of the 14 students were given 3 questions each and an hours time to write a fully functional code for as many questions possible.

Round: Technical Interview
Experience: 10 students went through to the final technical round. All the 10 students had to undergo both the technical as well as the HR round. After the technical round was done, the student was immediately sent to the HR round wherein after the interview his/her result was announced to him/her by the HR A total of 5 students were hired and I was glad to be one among them.

General Tips: "It was challenging, rewarding as well as exhausting.
This was a super dream company and because I was already placed, I didn't have the pressure of not getting the job.
I guess it was my day and hence everything went on smoothly"
Skill Tips: Stay calm and focused. All you need to do is believe in yourself and keep telling yourself that the job is yours to take and you are going to bag it.
Be thorough with the algorithmic concepts. Do not panic during the interview; the interviewer will help you if you stuck at some problem.
"I was offered a position of a software developer.
You can always ask them questions about how they find it working at the particular company."

Skills:
College Name: NIT Surathkal

Get interview-ready with Top Snapdeal Interview Questions

Interview Preparation Tips

Round: Test
Experience: Online Test-21 (MCQ) +2 (Coding) in 1 hr. Test conducted on hackerrank21 MCQ had almost 10 aptitude and 11 C output based questions.



Give preference to coding questions. Try to solve both questions ( Pass all test cases for one of the questions and do attempt the other question ( even brute force would pass many test cases )



Aptitude can’t be solved just within a minute. Solve C o/p based questions first.Questions-



1. Overlapping paintings, find no. of paintings that can be seen distinctly, extreme co-ordinates of paintings are given. Ordering of paintings matter. ( Assume heights of all paintings are same, start and end coordinates are given )E.g.



5
1 4
2 6
3 4
8 10
7 10


XXXX
XXXXXX
XX
XXX <- This painting is hidden completely
XXXX Simple O(N^2) solution. Starting from rightmost painting, check if it completely hides any painting or not based on start and end coordinates. ( modification of interval selection problem )2- Given points of two lines segments A(x1,y1 x2,y2) & B(x3,y3 x4,y4) find whether the 2 segments intersect or not.



Simpler approach ( short code )-



-----?module=Static&d1=tutorials&d2=geometry2#line_line_intersectionLength / complicated soln-



----- cut-off -



I solved 2nd question and passed 1 test case for first question ( misunderstood the question during online round !! :p ) and solved 4 MCQ's only ( all fluke )



So my advice, do solve both coding questions for sure and solve C o/p questions in last 15 min
Duration: 60 minutes

Round: Technical Interview
Experience: Avg 20-30 mins. 22 shortlisted



My went on for 1 hr to 1hr 15 minsInternship based dicussion (20-30 mins ). Based on Cloud, Virtualization, Networking



Q1- Given N, find LCM from of all numbers from 2 to N. Give the complexity expressed in the form of Number of prime numbers <= N. Had to be really precise in terms of complexity ( in terms of prime factors, maximum recurrences, each recurrence complexity ). Long dicussion on complexity. Don't say any method whose complexity you cannot prove. (E.g saying that i can use Sieve of Eratosthenes for prime pre-processing will lead to question of complexity of Sieve which is O( Log LogN), that cannot be proved trivally. ) So avoid using any such termsQ3- Spring / Hibernate in JAVA



Told him i work in C/C++ only. No experience in JAVAQ2- Types of SQL- NoSQL and SQL(Relational DBMS ). Why the need of NoSQL- Big Data AnalyticsQ3- How would you design DBMS for Snapdeal's website's shoe section.



Now if you want to further break it into Sports and Casual Shoe would you break the DB into two or add another entity ? Full justificdation



I initially answered with a multi-level indexed structure for DBMS storage. Could not answer on the second part of the question. He asked if i knew DBMS and i told him I do not know DBMS. He skipped the question and ended the interview. Told him i had advanced DBMS lab in my course currenlty and would learn it before graduating.

Round: Puzzle Interview
Experience: Q1- -----/



Q2- -----/



Q3- ----- was the first one to solve all 3 in 45 mins roughly and went for next interview. Shortlisting criteria- 2 questions in 1 hr – 1hr 15 mins even though they said that we had 2 hrs to solve all 3 questions !!

Round: Technical Interview
Experience: 4 shortlisted. This round went for almost 1hr 45 min - 2 hrs for me since I solved the Round 2 question earliest. Other 3 had almost 45 mins interview.Q1- Variation of



-----/



Given a dictionary of words and a number n. Find count of all words in dictionary that can be formed by given number n.



I started by exponential solution and reduced it to polynomial. We discussed various approaches and tried a variety of methods and after 1-1.5 hrs of discussion finally ended up with an O(1) solution with some pre-processing overhead. After achiveing O(1) time complexity, he asked to further optimize the space complexity.



Usage of Trie / TST. Internal Implementation of Hashing structure and replacing the hashing mechanism using Trie / TST.Q2- Given an array of elements. We can perform following operation only- Increase an array element. Cost of operation is the amount of increment made per array element. Now for a given H, we need to make any H ( not necessarily consecutive ) elements of array equal with minimum cost.E.g.



N=6, H=4



2 3 5 6 4 4changes to -> 4 4 5 6 4 4



Cost is ( 4-2 + 4-3 = 3 )N=6, H=3



2 3 5 6 4 4changes to -> 2 4 5 6 4 4



Cost is ( 4-3 = 1 )



Optimal complexity- O(N)

Round: HR Interview
Experience: 3 shortlistedTypical HR round.I would like to thank geeksforgeeks for a exhaustive set of interview questions and study material on data structures-algorithms.

College Name: NA

Interview Questionnaire 

16 Questions

  • Q1. 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
  • Ans. 

    Finding lowest common ancestor of two nodes in binary tree

    • Traverse the tree from root to both nodes and store the paths in separate arrays

    • Compare the paths to find the last common node

    • Return the last common node as the lowest common ancestor

    • Use recursion to traverse the tree efficiently

  • Answered by AI
  • Q2. You are given two ropes.Each rope takes exactly 1 hour to burn. How will you measure period of 45 minutes
  • Q3. Singleton Design pattern
  • Q4. Two linked list are merging at a point.Find merging point
  • Ans. 

    To find the merging point of two linked lists

    • Traverse both linked lists and find their lengths

    • Move the pointer of the longer list by the difference in lengths

    • Traverse both lists simultaneously until they meet at the merging point

  • Answered by AI
  • Q5. Reverse linked list without recursion
  • Ans. 

    Reverse a linked list iteratively

    • Create three pointers: prev, curr, and next

    • Initialize prev to null and curr to head

    • Loop through the list and set next to curr's next node

    • Set curr's next node to prev

    • Move prev and curr one step forward

    • Return prev as the new head

  • Answered by AI
  • Q6. Number of rectangles in MxN matrix
  • Ans. 

    The number of rectangles in an MxN matrix can be calculated using a formula.

    • The formula is (M * (M + 1) * N * (N + 1)) / 4

    • The matrix can be divided into smaller sub-matrices to count the rectangles

    • The number of rectangles can also be calculated by counting all possible pairs of rows and columns

  • Answered by AI
  • Q7. All anagrams of a string.He called it anagram but i think he wanted to ask all possible substrings of a string
  • Q8. Which Design patterns you have used.I said Decorator,Factory,Singleton.Then he asked about Decorator design pattern
  • Q9. 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 an...
  • Q10. There is four digit number in aabb form and it is a perfect square.Find out the number
  • Ans. 

    The number is 7744.

    • The number must end in 00 or 44.

    • The square root of the number must be a whole number.

    • The only possible number is 7744.

  • Answered by AI
  • Q11. 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,...
  • Q12. Same tell me about yourself
  • Ans. 

    I am a software developer with experience in multiple programming languages and a passion for problem-solving.

    • Proficient in Java, Python, and C++

    • Experience with web development using HTML, CSS, and JavaScript

    • Familiarity with agile development methodologies

    • Strong problem-solving and analytical skills

    • Passionate about learning new technologies and staying up-to-date with industry trends

  • Answered by AI
  • Q13. There is a file which contains ip addresses and corresponding url. Example 192.168.1.15 www.abc.com 10.255.255.40 ----- You have to return the subnet mask of the ip and the url after “www.” Output 192.1...
  • Ans. 

    Java function to return subnet mask of IP and URL after www.

    • Read the file and store IP addresses and URLs in separate arrays

    • Use regex to extract subnet mask from IP address

    • Use substring to extract URL after www.

    • Return subnet mask and URL as separate strings

  • Answered by AI
  • Q14. 3 mislabeled jar puzzle.Since i had heard this puzzle many times,i answered it in 2-3 minutes.He said i can make out that you have heard this puzzle already ;)
  • Q15. What are inner join and outer join in sql
  • Ans. 

    Inner join returns only the matching rows between two tables, while outer join returns all rows from one table and matching rows from the other.

    • Inner join combines rows from two tables based on a matching column.

    • Outer join returns all rows from one table and matching rows from the other.

    • Left outer join returns all rows from the left table and matching rows from the right table.

    • Right outer join returns all rows from the...

  • Answered by AI
  • Q16. A linked list contains loop.Find the length of non looped linked list
  • Ans. 

    To find the length of non-looped linked list, we need to traverse the list and count the number of nodes.

    • Traverse the linked list using a pointer and count the number of nodes until the end of the list is reached.

    • If a loop is encountered, break out of the loop and continue counting until the end of the list.

    • Return the count as the length of the non-looped linked list.

  • Answered by AI

Interview Preparation Tips

Round: Technical Interview
Experience: 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.

Skills: Algorithm, Java, OOP, data structure
College Name: NA

Skills evaluated in this interview

Software Developer interview

user image Placement Interview

posted on 28 Oct 2021

Interview Questionnaire 

7 Questions

  • Q1. Little discussion on Final Year Project and the summer training
  • Q2. Basics of DBMS, difference between RDBMS and DBMS, Keys and its types, indices, joins and its types with example, normalization and denormalization
  • Q3. A simple program to check whether a number is palindrome or not
  • Ans. 

    A program to check if a number is a palindrome or not.

    • Convert the number to a string

    • Reverse the string

    • Compare the original and reversed string

    • If they are the same, the number is a palindrome

  • Answered by AI
  • Q4. How would you design DBMS for Snapdeal’s website’s shoe section. Now if you want to further break it into Sports and Casual Shoe would you break the DB into two or add another entity?
  • Ans. 

    For Snapdeal's shoe section, I would design a DBMS with separate entities for Sports and Casual Shoes.

    • Create a main entity for shoes with attributes like brand, size, color, etc.

    • Create separate entities for Sports and Casual Shoes with attributes specific to each category.

    • Link the Sports and Casual Shoe entities to the main Shoe entity using a foreign key.

    • Use indexing and normalization techniques to optimize performanc...

  • Answered by AI
  • Q5. DNS – Domain name servers : what are they , how do they operate?
  • Ans. 

    DNS servers translate domain names into IP addresses to enable communication between devices on the internet.

    • DNS servers act as a phone book for the internet, translating domain names into IP addresses.

    • When a user types a domain name into their browser, the browser sends a request to a DNS server to resolve the domain name into an IP address.

    • DNS servers operate in a hierarchical system, with root servers at the top, fo...

  • Answered by AI
  • Q6. There are two sorted arrays. First one is of size m+n containing only ‘first’ m elements. Another one is of size n and contains n elements. Merge these two arrays into the first array of size m+n such that...
  • Ans. 

    Merge two sorted arrays into one sorted array of larger size

    • Create a new array of size m+n

    • Compare the last elements of both arrays and insert the larger one at the end of the new array

    • Repeat until all elements are merged

    • If any elements are left in the smaller array, insert them at the beginning of the new array

    • Time complexity: O(m+n)

    • Example: arr1=[1,3,5,7,0,0,0], arr2=[2,4,6], output=[1,2,3,4,5,6,7]

  • Answered by AI
  • Q7. Find square root of a number
  • Ans. 

    To find square root of a number, use Math.sqrt() function in JavaScript.

    • Use Math.sqrt() function in JavaScript to find square root of a number.

    • For example, Math.sqrt(16) will return 4.

    • If the number is negative, Math.sqrt() will return NaN.

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: 22 (MCQ) +2 (Coding) in 1 hr. Test conducted on hackerrank
Duration: 60 minutes

Round: Technical Interview
Experience: 2.Find square root of a number
I gave an iterative O(n) solution , He told me to optimize : I did it in O(logn) with binary search.
Further optimize to O(1) : I got stuck ,after a lot of discussion on different techiniques he gave me a hint that he would be using my function a lot of times then I immediately told him to use hash maps and save the previous results.

Skills: OOP, Data structure, DBMS, C++
College Name: NA
Motivation: If you have made till here that means you are selected.The HR guy in snapdeal is the coolest HR I have met .He asked me name of the campanies that have hired me till now&#44;I gave him their names.

Skills evaluated in this interview

Interview Questionnaire 

7 Questions

  • Q1. Discussion on internship at IBM' Cloud Unit
  • Q2. Find LCM of all numbers from 1 to n. Give an algorithm, then correctly estimate the time complexity
  • Ans. 

    Algorithm to find LCM of all numbers from 1 to n and its time complexity

    • Find prime factors of all numbers from 1 to n

    • For each prime factor, find the highest power it appears in any number from 1 to n

    • Multiply all prime factors raised to their highest power to get LCM

    • Time complexity: O(n*log(log(n)))

  • Answered by AI
  • Q3. SQL vs NoSQL. Why NoSQL
  • Ans. 

    NoSQL databases are flexible, scalable, and can handle large amounts of unstructured data.

    • NoSQL databases are schema-less, allowing for easy and flexible data modeling.

    • They can handle large amounts of unstructured data, making them suitable for big data applications.

    • NoSQL databases are highly scalable and can easily handle high traffic and large user bases.

    • They provide horizontal scalability by distributing data across...

  • Answered by AI
  • Q4. Some DBMS designing question relating to Snapdeal website
  • Q5. JAVA-Spring and Hibernate
  • Q6. Variation of -----/ Given a dictionary of words and a number n. Find count of all words in dictionary that can be formed by given number n
  • Ans. 

    The question asks to find the count of words in a dictionary that can be formed by a given number.

    • Iterate through each word in the dictionary

    • Check if the characters in the word can be formed using the given number

    • Increment the count if the word can be formed

  • Answered by AI
  • Q7. Given an array of elements. We can perform following operation only- Increase an array element. Cost of operation is the amount of increment made per array element. Now for a given H, we need to make any H...

Interview Preparation Tips

Round: Test
Experience: I did both coding question ( 1 full and 2nd partial ) and 5 MCQ only and was shortlisted
Tips: Refer to interview sets on Geeksforgeeks.
Do solve both the coding questions first. Not necessary to pass all test cases for both.
Then go for C based o/p questions. At last aptitude.
Duration: 60 minutes
Total Questions: 23

Round: Technical Interview
Experience: I did not know JAVA and DBMS so could not answer any of the last 2 questions. I told him directly thati had no experience in JAVA / DBMS and justified. I had proficiency in Data Structure and Algorithms and I beleive the interviewer liked my internship work on Cloud / Virtualization
Tips: Focus on Data Strucure-Algorithms, JAVA, DBMS, Puzzles

Round: Test
Experience: All repeated questions from previous interviews.
Tips: Refer interview set from geeksforgeeks.org
Duration: 60 minutes
Total Questions: 3

Round: Technical Interview
Experience: For the first question, I started by exponential solution and reduced it to polynomial. We
discussed various approaches and tried a variety of methods and after
1-1.5 hrs of discussion finally ended up with an O(1) solution with some
pre-processing overhead. After achiveing O(1) time complexity, he asked
to further optimize the space complexity.

Usage of Trie / TST. Internal Implementation of Hashing structure and replacing the hashing mechanism using Trie / TST.
Tips: Focus on Tree, Stacks, Queue, Linked List, Hash Maps, Trie, Hashing, String Algorithms, Ternary Search Tree

Round: HR Interview
Experience: Typical HR

General Tips: Practice programming
Skill Tips: Focus on Data Structure-Algorithms and programming in either C++ / JAVA
Skills: Data Structure, Algorithms, Programing, JAVA, DBMS
College Name: Indian Institute of Information Technology, Design and Manufacturing, Jabalpur
Motivation: -
Funny Moments: -

Skills evaluated in this interview

Snapdeal Interview FAQs

What are the top questions asked in Snapdeal Software Developer interview?

Some of the top questions asked at the Snapdeal Software Developer interview -

  1. You have a deck of 10 cards.You take one card out and put it on table and put n...read more
  2. There is a file which contains ip addresses and corresponding url. Example 192....read more
  3. How would you design DBMS for Snapdeal’s website’s shoe section. Now if you...read more

Tell us how to improve this page.

Snapdeal Software Developer Interview Process

based on 1 interview

3 Interview rounds

  • Aptitude Test Round
  • Technical Round
  • HR Round
View more
Snapdeal Software Developer Salary
based on 30 salaries
₹6 L/yr - ₹15.5 L/yr
37% more than the average Software Developer Salary in India
View more details

Snapdeal Software Developer Reviews and Ratings

based on 8 reviews

3.2/5

Rating in categories

4.1

Skill development

3.2

Work-life balance

2.4

Salary

2.8

Job security

3.4

Company culture

2.2

Promotions

3.4

Work satisfaction

Explore 8 Reviews and Ratings
Assistant Manager
104 salaries
unlock blur

₹4 L/yr - ₹12 L/yr

Category Manager
94 salaries
unlock blur

₹6.9 L/yr - ₹24 L/yr

Senior Executive
89 salaries
unlock blur

₹2.8 L/yr - ₹6.6 L/yr

Deputy Manager
59 salaries
unlock blur

₹5.2 L/yr - ₹15 L/yr

Associate Category Manager
50 salaries
unlock blur

₹5.8 L/yr - ₹17.6 L/yr

Explore more salaries
Compare Snapdeal with

Flipkart

4.0
Compare

Amazon

4.1
Compare

Meesho

3.7
Compare

eBay

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview