57 questions · from 12 interviews

Myntra interview questions

Every question candidates reported from their Myntra interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Myntra coding and DSA questions

  1. 01

    Largest Rectangle in Histogram with One Removal

    Given an array of building heights and an integer M, you may remove exactly one building. Find the maximum rectangle area that can be formed such that the area does not exceed M. The problem is a variant of the classic Largest Rectangle in Histogram and can…

    From Myntra Ramp Up Interview Experience | 6-month SDE Internship | Selected

  2. 02

    Minimum Swaps to Group Elements ≤ K

    Given an array of integers and a threshold K, determine the minimum number of swaps required to bring all elements less than or equal to K together in a contiguous subarray.

    From Myntra Ramp Up Interview Experience | 6-month SDE Internship | Selected

  3. 03

    Smallest Binary Multiple of n

    Find the smallest positive integer that consists only of the digits 0 and 1 and is divisible by a given integer n. The solution typically uses BFS over the remainder space to build the number digit by digit.

    From Myntra Ramp Up Interview Experience | 6-month SDE Internship | Selected

  4. 04

    Minimum Edge Reversals to Reach Warehouse 0

    In a directed graph representing warehouses and routes, compute the minimum number of edge reversals required so that every warehouse can reach warehouse 0.

    From Myntra Ramp Up Interview Experience | 6-month SDE Internship | Selected

  5. 05

    Server Cluster Load Balancer RAM Capacity Check

    Given a list of server usage intervals with start time, end time, and RAM usage, determine whether at any point the total RAM usage exceeds the cluster's capacity. This can be solved using a difference array, prefix sum, or sweep line technique.

    From Myntra Ramp Up Interview Experience | 6-month SDE Internship | Selected

  6. 06

    Customizable Tours with GoWorld

    Customizable Tours with GoWorld. Full problem statement available at the provided link.

    From Myntra | Tech Lead | BLR | OA

  7. 07

    Count Distinct Palindromic Substrings

    Given a string s consisting of lowercase English letters, determine how many distinct substrings of s are palindromes. Constraints: 1<=len(s)<=5000 Each character s[i] is in the range a-z. E.g: I/P: aabaa O/P: 5 (a,b,aa,aba,aabaa)

    From Myntra | Tech Lead | BLR | OA

  8. 08

    Burning Tree Problem

    He gave me a problem based on the “Burning Tree” concept. I quickly explained my approach and logic, and the interviewer was very supportive and interactive throughout the discussion. He then asked me to code the solution. I implemented it, but initially, the…

    From Myntra SWE Internship Interview Experience (Myntra Ramp Up 2026– Off Campus)

  9. 09

    Find Unique Element in Sorted Array

    Given a sorted array where all elements appear twice, except for one element which appears only once, find that unique element. For example, in [1,1,2,3,3] , the unique element is 2.

    Medium · From My Myntra SDE Interview Experience

  10. 10

    3-Sum Problem

    Given an integer array nums , return all the triplets [nums[i], nums[j], nums[k]] such that i != j , i != k , and j != k , and nums[i] + nums[j] + nums[k] == 0 . The solution set must not contain duplicate triplets.

    Medium · From My Myntra SDE Interview Experience

  11. 11

    Linked List Cycle Detection

    During one of my technical rounds, I was asked a question related to detecting cycles in a linked list. This typically involves determining if a linked list contains a cycle and possibly finding the starting point of the cycle.

    Medium · From Myntra-Bengaluru || Onsite || SDE-1 DATA

  12. 12

    Next Greater Element I & II

    During the technical round, I was asked to solve problems related to finding the next greater element. Based on the phrasing, these were likely similar to LeetCode's 'Next Greater Element I' and 'Next Greater Element II'. These problems typically involve…

    From Myntra | SDE-1 | Bengaluru [Reject]

  13. 13

    First Missing Positive

    I was asked to solve the First Missing Positive problem.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  14. 14

    Minimum Bit Flips to Convert Number

    I was presented with the problem to find the minimum number of bit replacements to convert one binary string to another.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  15. 15

    Set Matrix Zeroes

    Solve the Set Matrix Zeroes problem.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  16. 16

    Search in Rotated Sorted Array

    I was given a DSA question based on binary search and was asked to write pseudocode to search for a target value in a sorted array that has been rotated at some pivot.

    Medium · From Myntra walk-interview experience ~ SDE1 ~ 2+ YOE

  17. 17

    Find Peak Element

    A peak element is an element that is strictly greater than its neighbors. Given a 0-indexed integer array nums, find a peak element, and return its index. If the array contains multiple peaks, return the index to any of the peaks. I had to write the solution…

    Medium · From Myntra | Senior Software Engineer | Bangalore | Aug 2024 [Offer]

  18. 18

    Longest Increasing Path in a Matrix

    Given an m x n integers matrix, return the length of the longest increasing path in matrix. From each cell, you can either move in four directions: left, right, up, or down. You may not move diagonally or move outside the boundary (i.e., no wrap-around is…

    Hard · From Myntra | Senior Software Engineer | Bangalore | Aug 2024 [Offer]

  19. 19

    Merge Intervals

    Given an array of intervals, merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.

    From Myntra - SDE1 - 2 YoE - Interview Experience

  20. 20

    Delete Nodes And Return Forest

    Given the root of a binary tree, where each node in the tree has a distinct value, and a list of values todelete. The goal is to delete all the nodes with values in todelete. After deleting a node, if it has any children, those children become the roots of…

    From Myntra - SDE1 - 2 YoE - Interview Experience

  21. 21

    Connect N Ropes with Minimum Cost

    During the OA round, one programming question was similar to 'Connect N Ropes with Minimum Cost'. The goal is to connect N ropes of varying lengths into a single rope with the minimum possible cost, where the cost of connecting two ropes is the sum of their…

    From Myntra | Software Engineer - Backend (M1) | Bangalore | March-2022 [Accepted]

  22. 22

    Merge K-Sorted Linked Lists

    In the DS Algo round, one of the problems required me to merge k sorted linked lists into a single sorted linked list. We had a detailed discussion about different strategies and their implications.

    From Myntra | Software Engineer - Backend (M1) | Bangalore | March-2022 [Accepted]

  23. 23

    Longest Increasing Subsequence (LIS)

    Another question in the DS Algo round was to find the Longest Increasing Subsequence (LIS) within a given sequence. The interviewers hinted towards an efficient O(nLogn) approach for this problem.

    From Myntra | Software Engineer - Backend (M1) | Bangalore | March-2022 [Accepted]

  24. 24

    Reverse Nodes in k-Group

    Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.

    From Myntra | SSE | Bangalore | December 2020 [Rejected]

  25. 25

    Convert X to Y with Multiply by 2 or Subtract 1

    Convert number x to y. Only two operations are supported: Multiply the number by two, Subtract one from the number.

    From Myntra | SSE | Bangalore | December 2020 [Rejected]

2 more in the Myntra write-ups.

Myntra system design questions

  1. 01

    Google Meet Feature Design

    Discuss the features of Google Meet and design one of its key features at a high level.

    Medium · From My Myntra SDE Interview Experience

  2. 02

    High-Level Design for Payment System

    I was asked to design a High-Level Design (HLD) for a payment system. The discussion narrowed down to a cash-on-delivery payment system after initial solutions were challenged.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  3. 03

    Design a Log Ingestion Service

    Create a service that helps to feed logs from any other service. The service should support different log levels and assign a unique ID to each log entry.

    From Myntra | Senior Software Engineer | Bangalore | Aug 2024 [Offer]

  4. 04

    Design a Rate Limiter

    Design a system to limit the number of requests a client can send to an API within a specified time window. Functional requirements: To limit the number of requests a client can send to an API within a time window. To make the limit of requests per window…

    From Myntra | Senior Software Engineer | Bangalore | Aug 2024 [Offer]

  5. 05

    Design a Distributed Job Scheduler

    Design a system to schedule jobs at a given time, handling recurring jobs at specific frequencies. The system must execute millions of jobs per day and requires more than one server for triggering, with an accepted margin of error of 1 second. The focus was…

    From Myntra | SSE | Bangalore | December 2020 [Rejected]

  6. 06

    Design Google Drive

    Design Google Drive.

    From Myntra | SSE | Bangalore | December 2020 [Rejected]

Myntra behavioural and HR questions

  1. 01

    Why Leave Current Organization?

    Why do you want to leave your current organization?

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  2. 02

    Why Should We Hire You?

    Why should we hire you?

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  3. 03

    What Are Your Weaknesses?

    What are your weaknesses?

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  4. 04

    Transition to Software Development

    How did you transition from an Electrical Engineering graduate to a Software Developer?

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  5. 05

    Task Estimation Discrepancy

    What would you do if you estimated that a task would take 5 days but later realized it would take more time? How would you handle it?

    From Myntra walk-interview experience ~ SDE1 ~ 2+ YOE

  6. 06

    Teamwork vs. Independent Work Preference

    Do you prefer team discussions or working independently?

    From Myntra walk-interview experience ~ SDE1 ~ 2+ YOE

  7. 07

    Flexibility for Backend Work

    What if you're asked to work on the backend as well?

    From Myntra walk-interview experience ~ SDE1 ~ 2+ YOE

  8. 08

    Conflicts with Team Members

    How do you handle conflicts with team members?

    From Myntra | Senior Software Engineer | Bangalore | Aug 2024 [Offer]

  9. 09

    Reacting to Frequent Project/Manager Changes

    How do you react if your project or managers changes frequently?

    From Myntra | Senior Software Engineer | Bangalore | Aug 2024 [Offer]

  10. 10

    Reason for Company Switch

    What is your reason for seeking a company switch?

    From Myntra | Senior Software Engineer | Bangalore | Aug 2024 [Offer]

  11. 11

    Behavioral: Conflict and Deadlines

    In the Hiring Manager round, I was presented with situation-based questions to gauge my problem-solving and interpersonal skills. Specific scenarios included 'what if I had a conflict with my manager' and 'what if I could not meet a deadline.'

    From Myntra | Software Engineer - Backend (M1) | Bangalore | March-2022 [Accepted]

  12. 12

    Standard HR Questions

    Standard behavioral and situational questions asked by the hiring manager.

    From Myntra | SSE | Bangalore | December 2020 [Rejected]

Myntra other questions

  1. 01

    Design a Python Automation Script

    Discussion around designing a Python automation script based on my personal projects, focusing on design choices and implementation details.

    From My Myntra SDE Interview Experience

  2. 02

    RAG Chatbot Design

    Discussion around a RAG (Retrieval-Augmented Generation) chatbot project, delving into its architecture, challenges, and specific technologies used.

    From My Myntra SDE Interview Experience

  3. 03

    Performance Benefits of Promises

    Discuss the performance benefits of using promises in JavaScript.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  4. 04

    Predict JavaScript Code Output

    I was given a JavaScript code snippet and asked to predict its output.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  5. 05

    Virtual DOM and Reconciliation

    Discuss topics such as the Virtual DOM and reconciliation.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  6. 06

    JavaScript Concurrency Model & Event Loop

    Explain JavaScript's concurrency model, event loop, and lifecycle hooks.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  7. 07

    JavaScript Pass by Value vs. Pass by Reference

    Evaluate a JavaScript code snippet and explain its output, focusing on concepts like pass by value vs. pass by reference.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  8. 08

    CSS Media Queries

    Discuss CSS media queries and how to apply them effectively.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  9. 09

    CAPTCHA Generation and Authentication

    Discuss CAPTCHA generation and authentication mechanisms.

    From Myntra | SDE-1 | Banglore | Sept 2024 | Offer

  10. 10

    JavaScript Core Concepts

    I was asked various questions covering fundamental JavaScript concepts, including how objects work, the behavior of the this keyword, and the concept of hoisting.

    Easy · From Myntra walk-interview experience ~ SDE1 ~ 2+ YOE

  11. 11

    ReactJS Concepts and Optimizations

    The round focused on ReactJS. I was asked about the differences between functional and class components, React performance optimizations like useMemo , useCallback , and React.memo , and the concept of the Virtual DOM, along with other general React topics.

    Medium · From Myntra walk-interview experience ~ SDE1 ~ 2+ YOE

  12. 12

    DBMS Concepts: Indexing and 3NF

    During the Hiring Manager round, I was asked several questions related to Database Management Systems. These included inquiries such as 'what is indexing,' 'why it is used,' and a comprehensive discussion about 'Third Normal Form (3NF).'

    From Myntra | Software Engineer - Backend (M1) | Bangalore | March-2022 [Accepted]

Myntra interview questions FAQ

What questions are asked in Myntra interviews?

Candidates reported 57 distinct questions across 12 Myntra interviews. 27 coding and DSA questions, 6 system design questions, 12 behavioural and HR questions, 12 other questions.

How difficult are Myntra interview questions?

Of the questions candidates rated, 11% were easy, 78% medium and 11% hard.