Snapdeal Ltd. interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Snapdeal Ltd.
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 8 months
Topics: Data Structures and Algorithms, C++ i/o questions, Data Base Management and Systems, Computer Networks, OOPS
Tip
Tip

Tip 1 : Solve DSA problems if you don't have enough time for the interview on leetcode otherwise if you are in second year go for competitive programming.
Tip 2 : Be consistent try solve at least 1 problem each day and do up solving in contest.
Tip 3 : Don't forget other fundamental topics as they are important to like OOPS and MySQL.
Tip 4: I didn't have any significant project but try to do one which involves backend and frontend as it will be good in future aspects(after you join the company).

Application process
Where: Campus
Eligibility: No Criteria
Resume Tip
Resume tip

Tip 1 : If you don't have a good CGPA don't mention it in resume or do it at the end.
Tip 2 : Put on those things in resume which you are good in or you are sure about and highlight necessary points in resume as recruiter doesn't have time to read resume.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 minutes
Interview date3 Feb 2022
Coding problem2

It was an online coding round which consisted of 20 mcq and 2 coding questions. 20 question were based on C++ i/o, DBMS, logic and aptitude and MySQL.

1. N-th Fibonacci Number

Moderate
40m average time
70% success
0/80
Asked in companies
MathworksAmazonOracle

You are given an integer ‘N’, your task is to find and return the N’th Fibonacci number using matrix exponentiation.

Since the answer can be very large, return the answer modulo 10^9 +7.

Fibonacci number is calculated using the following formula:
F(n) = F(n-1) + F(n-2), 
Where, F(1) = F(2) = 1.
For Example:
For ‘N’ = 5, the output will be 5.
Problem approach

This is a standard question where you have to print nth fibonacci number

Try solving now

2. Minimum Sum Subarray

Easy
15m average time
85% success
0/40
Asked in companies
Snapdeal Ltd.Zeta

You have been given an array/list 'ARR' consisting of 'N' integers.

Your task is to find the minimum possible sum of a non-empty subarray of this array.

Note:

An array 'C' is a subarray of array 'D' if it can be obtained by deletion of several elements(possibly zero) from the beginning and the end of array 'D'. For example, all the non-empty subarrays of array [1,2,3] are [1], [2], [3], [1,2], [2,3], [1,2,3].

For Example :

Input: 'N' = 3 , 'ARR' =  [-5, 10 , 0]
Output: -5

Explanation : The non empty subarrays possible for 'ARR' are [-5], [10], [0], [-5, 10], [-5, 0], [10, 0], [-5, 10, 0]. The sum of the elements of these subarrays are -5, 10, 0, 5, -5, 10, 5. The minimum of them is -5.
Problem approach

Idea is to use kadane's algorithms where you are taking prefix sum of the array but if prefix sum becomes negative then set it to zero while doing it max prefix sum that you get in the array is the answer.

Try solving now
02
Round
Easy
Video Call
Duration50 minutes
Interview date24 Feb 2022
Coding problem2

Interview was at morning 12 pm and interviewer was pretty cool and helpful throughout the process. Whenever I got stuck he game me some hint about that problem.

1. Divide Two Integers

Easy
10m average time
90% success
0/40
Asked in companies
SAP LabsPayPalIntuit

You are given two integers, ‘dividend’ and ‘divisor’.


You are required to divide the integers without using multiplication, division, and modular operators.


Your task is to return the quotient after dividing ‘dividend’ by ‘divisor’.


Note :

In cases where the dividend is not perfectly divisible by the divisor, you are required to return the integer value of the quotient which is closer to zero.

For example - If the answer is '8.34', we return the integer part, i.e., '8'. Also, If the answer is '-2.67', we return the integer part, i.e., '-2'.

Assume we're dealing with a system that can only store integers in the 32-bit signed integer range: [2^31, 2^31-1]. If the quotient is higher than 2^31 - 1, return 2^31 - 1; if it is less than -2^31, return -2^31. 

For example :

If the answer is ‘9.333’, then return ‘9’, or if the answer is ‘-8.123’, then return ‘-8’.
Problem approach

This can be solved using bit manipulation using left shift .When we apply left shift operator to an integer it gets multiplied by 2. So I keep divisor multiplying by 2 until it become greater than the dividend and then again one time divide it by 2. After that i subtract divisor from dividend. and make the subtracted number divisor and apply the same process again until the dividend becomes less than divisor.

Try solving now

2. Binary to Decimal

Easy
0/40
Asked in companies
SamsungSnapdeal Ltd.

Given a binary number as an integer N, convert it into decimal and print.

Try solving now
03
Round
Easy
HR Round
Duration10 minutes
Interview date15 Mar 2022
Coding problem1

HR round

1. Basic HR Questions

Introduce yourself.

Why do you want to join us?

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
Software Engineer
4 rounds | 7 problems
Interviewed by Snapdeal Ltd.
794 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Snapdeal Ltd.
927 views
0 comments
0 upvotes
SDE - 1
5 rounds | 17 problems
Interviewed by Snapdeal Ltd.
736 views
0 comments
0 upvotes
SDE - 1
3 rounds | 6 problems
Interviewed by Snapdeal Ltd.
854 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes