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
Preparation
Duration: 2 months
Topics: DSA, System Design, LLD, HLD, Redis, Kafka, Elastic Search.
Tip
Tip

Tip 1 : You're never 100% ready for the interview, either you succeed in the interview or you learn from the interview.
Tip 2 : Read concepts regarding System design, it'll always help you.

Application process
Where: Referral
Eligibility: 2+ YOE
Resume Tip
Resume tip

Tip 1 : Keep your resume clean and to the point, don't add photos and hobbies.
Tip 2 : Write explanation in work experience using bullet points and not in paragraphs.

Interview rounds

01
Round
Medium
Online Coding Test
Duration30 minutes
Interview date20 Apr 2021
Coding problem2

DSA round. Timing were flexible according to availability
2 DSA questions.
Friendly interviewer

1. Remove Boxes

Moderate
15m average time
85% success
0/80
Asked in companies
AppleMeeshoFlipkart limited

You are given several boxes with different colours represented by different positive numbers. For moving the boxes you can remove them in multiple iterations until there are no boxes left. Now, every time you can choose some continuous boxes with the same color (i.e., composed of 'k' boxes, 'k' >= 1), remove them and get 'k' * 'k' points for removing them.

Your task for the problem is to find and return the maximum points you can get by removing those boxes.

For Example:
Input: boxes = [1, 3, 2, 2, 2, 3, 4, 3, 1]
Output: 23
Explanation:
[1, 3, 2, 2, 2, 3, 4, 3, 1] 
----> [1, 3, 3, 4, 3, 1] (Remove 3 boxes with number 2, 3*3=9 points) 
----> [1, 3, 3, 3, 1] (Remove one box with number 4, 1*1=1 points) 
----> [1, 1] (Remove 3 boxes with number 3, 3*3=9 points) 
----> [] (2*2=4 points)
Problem approach

Step 1 : Sorted the array. using any sort technique of time complexity O(nlogn)
Step 2 : Start with index 1, and check with the next element in the array.
Step 3 : Increase the step as Step = Step + i + 1.
Step 4 : Return the Steps.

Try solving now

2. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
PhonePeChegg Inc.Barclays

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Try solving now
02
Round
Easy
Online Coding Test
Duration90 minutes
Interview date23 Apr 2021
Coding problem1

2nd round was Machine coding round.

1. Ninja Game

Hard
20m average time
75% success
0/120
Asked in companies
AmazonAtlassianMeesho

Ninja and his friend are playing a game. They are having ‘N’ piles and each pile contains ‘A[i]’ amount of stones in it. Ninja will make the first move.

In each move, a player can choose any pile and remove any number of stones ( at least one ) from that pile. The player who cannot make a move loses the game.

Assuming both players play optimally, output 1 if Ninja wins the game and 0 if Ninja loses the game.

Example :
N = 3
A = [ 3, 4, 5 ]

Explanation : 

One of the optimal ways to play the game is : 

Ninja removes 3 stones from the first pile : [ 0, 4, 5 ].
Friend removes 3 stones from the second pile : [ 0, 1, 5 ].
Ninja removes 3 stones from the third pile : [ 0, 1, 1 ].
Friend removes 1 stone from the second pile : [ 0, 0, 1 ].
Ninja removes 1 stones from the third pile : [ 0, 0, 0 ].

Thus Ninja wins the game here.
Try solving now
03
Round
Easy
Video Call
Duration60 minutes
Interview date27 Apr 2021
Coding problem1

This was the Hiring Manager round.

1. Technical Questions

Given few scenarios to implement the Database and what kind of database suits better in the particular situation.

Few questions were also asked regarding Redis, Kafka implementation. 

Basic questions based on resume.


 

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
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Meesho
3744 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Meesho
2154 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by Meesho
3082 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 5 problems
Interviewed by Meesho
1700 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29570 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6677 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5176 views
0 comments
0 upvotes