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

SDE - 1

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

Interview preparation journey

expand-icon
Preparation
Duration: 7 months
Topics: Data Structures, Algorithms, OOPS, OS, DBMS
Tip
Tip

Tip 1 : Work on Competitive Programming skills. That is one thing most companies look out for during hiring. Solve at least 100 
questions from every topic.
Tip 2 : You should have at least 2 good projects on your resume. Only write the things that you are completely sure of.
Tip 3 : Work on CS fundamentals as well like -OOPS, OS, and DBMS. There will be MCQ questions from this in the coding round as well as in the 1:1 round

Application process
Where: Referral
Eligibility: No Backlogs
Resume Tip
Resume tip

Tip 1 : Need at least 2 good projects on the resume. Write a short 2-3 lines summary of the project and the tech stack used.
Tip 2 : Resume should be 1 page only. Try to keep the Resume short with useful information only.
Tip 3 : Your Resume should clearly mention the skillset you have. Companies sometimes filter out Resume based on skillset only

Interview rounds

01
Round
Easy
Face to Face
Duration60 minutes
Interview date22 Mar 2021
Coding problem2

This round was totally focused on data structures. Two questions to code were given. One was from array and the second one was a basic string related question

1. Subarray With Given Sum

Moderate
15m average time
85% success
0/80
Asked in companies
Thought WorksAdobeInfo Edge India (Naukri.com)

Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals to S or not. If any subarray is found, return the start and end index (0 based index) of the subarray. Otherwise, consider both the START and END indexes as -1.

Note:

If two or more such subarrays exist, return any subarray.

For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].

Problem approach

It can be solved via 2 pointers / sliding window approach

Try solving now

2. Reverse String

Moderate
0/80
Asked in companies
IBMMcAfeeAdobe

You are given a string ‘S’. You are also given ‘M’ integers in an array ‘A’. You perform ‘M’ operations on this string. The operations are given in an array ‘A’ of size ‘M’.

You perform the operations in the order they appear in the array ‘A’. In the ‘i’th operation, you reverse the substring of ‘S’ from the position ‘A[i]’ to ‘len(S)’ - ‘A[i]’ - 1 (0 based).

Your task is to find the string after performing all the operations.

Example :
‘S’ = “aabcd”, ‘M’ = 2, ‘A’ = [0, 1]
After 1st operation i.e, reversing from [0, 4], ‘S’ = “dcbaa”.
After 2nd operation i.e, reversing from [1, 3], ‘S’ = “dabca”.
Hence, the answer is “dabca”.
Problem approach

I reversed the string by simply using stack

Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date25 Mar 2021
Coding problem3

It was a total mixed round. The interviewer was right at the time and he started with the introduction. After the short introduction, he started with the questions about Operating System followed by Questions related to DBMS and a coding ques related to linked list

1. Operating System

  • What is multitasking?
  • What is caching?
  • What are interrupts?
  • What are the advantages of semaphores?
  • What is the difference between preemptive and non-preemptive scheduling?
Problem approach

Tip 1 : You have to focus on CS Fundamentals - OS, OOPS, DBMS, CN
Tip 2 : Practice for top asked interview questions of Operating System

2. DBMS

  • What are the main differences between Primary key and Unique Key?
  • Explain Entity, Entity Type, and Entity Set in DBMS?
  • What is E-R model in the DBMS?
  • What is BCNF in the DBMS?
  • What are the different types of joins in SQL?
Problem approach

Tip 1 : You have to focus on CS Fundamentals - OS, OOPS, DBMS, CN
Tip 2 : Solve SQL Queries from internet

3. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
GrabThalesSterlite Technologies Limited

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


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


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Problem approach

I used Hare and Tortoise Algorithm

Try solving now
03
Round
Easy
Face to Face
Duration60 minutes
Interview date30 Mar 2021
Coding problem1

This round was basically based on System Design. One single question of system design in this round. I think I was good enough for that So, I was sent the offer letter after this round in around 2 weeks.

1. System Design

I was asked to design a Parking Lot

Problem approach

Tip 1 : Practice HLD and LLD on some commonly asked designs
Tip 2 : You should know about basics like Caching, CAP Theorem

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 | 5 problems
Interviewed by Snapdeal Ltd.
984 views
1 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