Meesho interview experience Real time questions & tips from candidates to crack your interview

SDE - 2

Meesho
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
I was interested in software and technologies from very beginning of my college life, I started doing DSA problems for fun, used to participate in coding contests on codechef, codeforces, hackerrank etc. I started paying more attention when I realised the companies need DSA for cracking interviews especially in online coding test. So I started doing DSA more and more from my 3rd year and also took DSA course as an elective since I was from Electrnics, I couldn't crack the internship but I got the path for cracking IT jobs. In my 7th semester I got placed in OYO and in my 8th semester I went for intern in a logistics startup based out of gurgaon RIVIGO, I got the PPO in RIVIGO so I preferred to join there, it taught me how things work in backend and I decided to pursue my career in backend development only. I got to learn and work on many technologies like Java, Spring, Spring boot, mysql, pgsql, docker, JPA, Hibernate, JDBI, Kafka. After working there for more than 2 years (intern + FTE) I decided to switch gears and explore a new opportunity. I started giving many interviews finally received offer from 2 companies, Razorpay and meesho and decided to go with meesho. Since then I am working in meesho only as SDE-2 backend developer in returns team
Application story
A recruiter reached to me from Huntingcube with several opportunities, she asked me if you would be interested in applying in meesho, I happily applied for meesho, then after few days I received the invite for 1st round DSA and problem solving, I cleared it with Strong hire feedback from the recruiter of meesho, then 2nd round was based on machine coding, that also I cleared with Strong hire feedback, last round was hiring manager round which was very chill and finally I cleared all the rounds with green flags.
Why selected/rejected for the role?
I was selected because I cleared all the rounds and it was a strong positive feedback from all the rounds
Preparation
Duration: 2 months
Topics: Data Structures, OOPS, Algorithms, DP, Graph, Binary Search, Pointers, Trees
Tip
Tip

Tip 1 : Practice different types of problems from different topics
Tip 2 : Be consistent
Tip 3 : Start with easy, then go to medium level problems and few hard problems if you become comfortable with medium

Application process
Where: Other
Eligibility: Sine I applied for SDE-2 position 1+ YOE was needed
Resume Tip
Resume tip

Tip 1: It should not exceed 1 page
Tip 2: List only significant projects

Interview rounds

01
Round
Easy
Video Call
Duration60 mins
Interview date10 Mar 2022
Coding problem2

The Interview took place in the evening, interviewer was helpful and was trying to give me hints if I got stuck and I was able to catch those hints. It was a DSA and Problem Solving round where I was supposed to solve 2 problems in a span of 1 hr.

1. Reduce Array Size to The Half

Easy
15m average time
85% success
0/40
Asked in company
Meesho

Your friend gifted you ‘N’ balls. Each ball has a number associated with it, the numbers associated with the balls are given in the array 'ARR'. But your cupboard has slots such that only N/2 balls can be kept. So, you decided to remove the balls following an operation.

In one operation, you can select a ball numbered ‘x’ and remove all the balls which are numbered ‘x’.

You are supposed to minimize the number of operations such that at least half of the balls are removed from ‘N’ balls.

Note:

Numbers on the balls may not be unique.
Try solving now

2. Minimum steps to reach target by a Knight

Moderate
25m average time
60% success
0/80
Asked in companies
MicrosoftIntuitGroww

You have been given a square chessboard of size ‘N x N’. The position coordinates of the Knight and the position coordinates of the target are also given.

Your task is to find out the minimum steps a Knight will take to reach the target position.

alt text

Example:
knightPosition: {3,4}
targetPosition: {2,1}

alt text

The knight can move from position (3,4) to positions (1,3), (2,2) and (4,2). Position (4,2) is selected and the ‘stepCount’ becomes 1. From position (4,2), the knight can directly jump to the position (2,1) which is the target point and ‘stepCount’ becomes 2 which is the final answer. 

Note:

1. The coordinates are 1 indexed. So, the bottom left square is (1,1) and the top right square is (N, N).

2. The knight can make 8 possible moves as given in figure 1.

3. A Knight moves 2 squares in one direction and 1 square in the perpendicular direction (or vice-versa).
Problem approach

I had already solved this problem before I was aware that this can be solved using BFS so I quickly told the interviewer that we can solve this using BFS and he said ok you can start with the coding so I quickly jumped to the coding part since I knew the logic already, So my luck worked in the 2nd problem.

Try solving now
02
Round
Easy
Video Call
Duration150 mins
Interview date25 Mar 2022
Coding problem1

This round also took place in evening, it was a machine coding round. Interviewer was good, he explained me the problem statement patiently and I was free to ask any doubts I had, I clarified few assumptions with the interviewer.

1. Snake and Ladder

Moderate
30m average time
60% success
0/80
Asked in companies
MeeshoVisaMicrosoft

You have been given a Snake and Ladder Board with 'N' rows and 'N' columns with the numbers written from 1 to (N*N) starting from the bottom left of the board, and alternating direction each row.

For example

For a (6 x 6) board, the numbers are written as follows:

6*6 Board

You start from square 1 of the board (which is always in the last row and first column). On each square say 'X', you can throw a dice which can have six outcomes and you have total control over the outcome of dice throw and you want to find out the minimum number of throws required to reach the last cell.
Some of the squares contain Snakes and Ladders, and these are possibilities of a throw at square 'X':
You choose a destination square 'S' with number 'X+1', 'X+2', 'X+3', 'X+4', 'X+5', or 'X+6', provided this number is <= N*N.
If 'S' has a snake or ladder, you move to the destination of that snake or ladder.  Otherwise, you move to S.
A board square on row 'i' and column 'j' has a "Snake or Ladder" if board[i][j] != -1. The destination of that snake or ladder is board[i][j].
Note :
You can only take a snake or ladder at most once per move: if the destination to a snake or ladder is the start of another snake or ladder, you do not continue moving - you have to ignore the snake or ladder present on that square.

For example, if the board is:
-1 1 -1
-1 -1 9
-1 4 -1
Let's say on the first move your destination square is 2  [at row 2, column 1], then you finish your first move at 4 [at row 1, column 2] because you do not continue moving to 9 [at row 0, column 0] by taking the ladder from 4.

A square can also have a Snake or Ladder which will end at the same cell.
For example, if the board is:
-1 3 -1
-1 5 -1
-1 -1 9
Here we can see Snake/Ladder on square 5 [at row 1, column 1] will end on the same square 5.
Problem approach

Tip 1: Try to absorb and understand the problem statement properly, ask if any sort of doubts if you have
Tip 2: Think over the problem, how you will design and implement it without directly jumping to the code
Tip 3: Write production level ready code, since the expectation is to write production ready code, user proper naming for the variables, use SOLID principles and design patterns and design principles

Try solving now
03
Round
Easy
Video Call
Duration45 minutes
Interview date2 Apr 2022
Coding problem1

It was a hiring manager round, it also took place in the evening, the environment was very friendly and the interviewer was also very chill. We were just having the normal conversation like I am talking to my colleague

1. Technical discussion

He just asked me to tell him about the projects I have done so far and what could have been improved in those projects, how could we have increase the scale of the system and optimise it further, he basically just asked me questions on my resume.

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by Meesho
4761 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Meesho
3812 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Meesho
2219 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 5 problems
Interviewed by Meesho
1757 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29892 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6766 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5281 views
0 comments
0 upvotes