Myntra pvt ltd interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

Myntra pvt ltd
upvote
share-icon
4 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, React JS, JavaScript, DBMS, Algorithms
Tip
Tip

Tip 1 : Practise DSA/coding consistently
Tip 2 : Choose a techstack and Make side hobby projects
Tip 3 : Give mock interviews for your preperation evaluatiom

Application process
Where: Referral
Eligibility: 1 YOE
Resume Tip
Resume tip

Tip 1 : Pointers about your current job responsibility.
Tip 2 : Side Projects with tech stack.

Interview rounds

01
Round
Medium
Face to Face
Duration60 Minutes
Interview date17 Dec 2021
Coding problem3

1. Delete Kth node From End

Moderate
15m average time
95% success
0/80
Asked in companies
WalmartWells FargoChegg Inc.

You have been given a singly Linked List of 'N' nodes with integer data and an integer 'K'.


Your task is to remove the 'K'th node from the end of the given Linked List and return the head of the modified linked list.


Example:
Input : 1 -> 2 -> 3 -> 4 -> 'NULL'  and  'K' = 2
Output: 1 -> 2 -> 4 -> 'NULL'
Explanation:
After removing the second node from the end, the linked list become 1 -> 2 -> 4 -> 'NULL'.

altImage


Problem approach

Explained the approach by using 2 traversals - First to find the length of list and then to delete the node.
Also, discussed an approach to do it in one traversal.

Try solving now

2. Check If One String Is A Rotation Of Another String

Moderate
15m average time
85% success
0/80
Asked in companies
AmazonAmerican ExpressSAP Labs

You are given two Strings 'P' and 'Q' of equal length.


Your task is to return 1 if String 'P' can be converted into String 'Q' by cyclically rotating it to the right any number of times ( Possibly Zero ), else return 0.


A cyclic rotation to the right on String 'A' consists of taking String 'A' and moving the rightmost character to the leftmost position. For example, if 'A' = "pqrst", then it will be "tpqrs" after one cyclic rotation on 'A'.


For example:
Consider the two strings 'P' = "abfyg" and 'Q' = "gabfy" 

If we cyclically rotate String 'P' to the right once. The resulting string P becomes "gabfy" which is equal to String 'Q'. 

Therefore it is possible to convert String 'P' to String 'Q'.
Problem approach

Concatenate the string twice and check if the string is a substring of the concatenated one.

Try solving now

3. Minimum Parentheses

Easy
10m average time
90% success
0/40
Asked in companies
HSBCDisney + HotstarAmazon

Given a string "pattern", which contains only two types of characters ‘(’, ‘)’.

Your task is to find the minimum number of parentheses either ‘(’, ‘)’ we must add the parentheses in string ‘pattern’ and the resulted string is valid.

Condition for valid string-

Every opening parenthesis ‘(’ must have a correct closing parenthesis ‘)’.

Example - ‘(()(()))’, ‘()()()’, ‘((()))’ are valid string, and ‘(((’, ‘(()’, ‘)(())’ are invalid string.

Note:
1. You are not required to print the output explicitly, it has already been taken care of. Just implement the function and return the minimum number of parentheses required to make a string valid.
Problem approach

Use stacks and insert opening parenthesis until it reaches the desired number. Also insert the number to know the number of parenthesis already there in the stack. And if there is a number that is smaller than the top of stack, pop elements from the stack until it satisfies the number.

Try solving now
02
Round
Hard
Face to Face
Duration60 Minutes
Interview date17 Dec 2021
Coding problem3

1. Delete Node In A Linked List

Easy
15m average time
80% success
0/40
Asked in companies
HSBCAdobeCIS - Cyber Infrastructure

You are given a Singly Linked List of integers and a reference to the node to be deleted. Every node of the Linked List has a unique value written on it. Your task is to delete that node from the linked list.

A singly linked list is a linear data structure in which we can traverse only in one direction i.e. from Head to Tail. It consists of several nodes where each node contains some data and a reference to the next node.

Note:

• The reference to the head of the linked list is not given.
• The node to be deleted is not a tail node.
• The value of each node in the Linked List is unique.
• It is guaranteed that the node to be deleted is present in the linked list.

A sample Linked List-

singly_linkedlist

Try solving now

2. Balanced parentheses

Moderate
10m average time
90% success
0/80
Asked in companies
WalmartMakeMyTripGoldman Sachs

Given an integer ‘N’ representing the number of pairs of parentheses, Find all the possible combinations of balanced parentheses with the given number of pairs of parentheses.

Note :

Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.

2. Open brackets must be closed in the correct order.

For Example :

()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Problem approach

Using stack, push ( and for every ), check and pop from the stack.

Try solving now

3. Minimum Number of Platform Needed

Easy
23m average time
85% success
0/40
Asked in companies
Thought WorksGoldman SachsIntuit

You are given the arrival and departure times of N trains at a railway station in a day. You need to find the minimum of platforms required for the railway station such that no train waits i.e No train should wait for the platform to be clear or free.

Problem approach

The idea is to take every interval one by one and find the number of intervals that overlap with it. Keep track of the maximum number of intervals that overlap with an interval. Finally, return the maximum value.

Try solving now
03
Round
Easy
Face to Face
Duration60 Minutes
Interview date21 Dec 2021
Coding problem1

Round 3(Hiring Manager Interview): Very detailed discussion on your current job responsibilities and work. Explaining the tech stack, API design, use cases, and implementation.

Discussion on designing and building logic for a chess app.

Discussion on implementing a small program that reads a book(in form of a file) and creates the audio version of that entire book.

1. Questions on Javascript and ReactJS

Why a page might refresh multiple times?
Lifecycle methods
State Management in React
Design an API to dynamically position components on a page.

04
Round
Easy
HR Round
Duration30 Minutes
Interview date21 Dec 2021
Coding problem1

Round 4(HR Interview): Discussion on my personal projects.

1. Basic HR Questions

General Questions like –
Strengths & Weaknesses.
Most challenging experience in any project.
Best advice received.
Why I am looking for a new job?

Why do you want to join Myntra?

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
3 rounds | 4 problems
Interviewed by Myntra pvt ltd
0 views
0 comments
0 upvotes
Software Engineer
3 rounds | 3 problems
Interviewed by Myntra pvt ltd
3111 views
0 comments
0 upvotes
SDE - 1
3 rounds | 5 problems
Interviewed by Myntra pvt ltd
2260 views
0 comments
0 upvotes
Software Engineer
4 rounds | 7 problems
Interviewed by Myntra pvt ltd
1163 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7874 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes