I applied through a recruiter. The process took 1 day. I interviewed at Myntra (Bengaluru) in Jun 2018
Interview
I got a call from Myntra recruiter who saw my profile in Naukri and shortlisted for the F2F discussion. Due to a year-end sale, the panel wasn't available on the scheduled day so my interview was rescheduled again for the next week.
So on the day of the interview.
Round 1: A Decent interviewer. A Decent way of approach. An honest interest to know my abilities and technical skills required for the role.
Round 2: The guy who took this round... Man :D Talks with an attitude like he was the one who invented the "Computer" and the moment I lost the way to derive a solution he turns out to talk like Thomas H. Cormen of Dartmouth and when I failed again to solve my last problem, he started to crush the paper in front of my face as if I've disappointed the CodeJam king Gennedy Krotoveich himself. His final words were "You couldn't solve three simplest problems!". Dude seriously? Why are you talking like someone who could leave Thomas Cormen into dust? Anyway, the attitude isn't my problem, This is just an alert, and if you are bound to face such situation, keep yourselves calm and focus on solving the problems.
Round 3: Two people came. The questions they asked were very difficult and I couldn't arrive at a solution through a framework. They were belittling the framework I'd developed right from the beginning. I assume it to be a behavioral interview. So I didn't think much about it.
Few words about the preparation
- Array sorting is the core problem-solving questions that the interviewers are focussed on. Also, integer array problems as a whole are the niche of this process.
- Guys, they will look down upon you. It may be due to Walmart acquisition of Flipkart or their expertise or their ego or whatever it is. Let it not affect you.
- Keep the results aside and prepare insanely well. Prepare the questions which I've given here as well. If you got at least one, thank me later.
Afterword
- Never hesitate to call the recruiter now and then and inform him that you'd done with the round and you're waiting in the room or lobby or whatever. Forget about how he thinks. If you do not call, you gonna lose time that day.
- You know how you'd performed. Kindly follow up but do not overdo it.
End of the day, if it's your day, it is your day mate. And every dog has its day!
All the very best
Interview questions [4]
Question 1
Round 1:
- Implement an ArrayList Class for Integers which has the methods - add(int i), remove(), get(int i), get(int val)
- Problem Solving: String compression
i/p: aabbbcccc
o/p: 2a3b4c
Round 2:
- What is the difference between - String, StringBuilder, StringBuffer?
- What is the difference between - Abstract Class vs Inheritance?
- When will you go for Abstract Class and When will you go for Interfaces?
- Given arr1 = {1, 12, 15, extra space1, extra space 2, ... ,extra space N}, arr2 = {2, 4, 35}. Merge these two sorted arrays in arr1 without the help of a third array. Makes sure that arr1 is also sorted. Give an O(1) solution.
- Balance the given parentheses.
- Given an array - Find the sum pairs which satisfies the condition a+b = c+d in the array
Round 3:
- Explained the API framework I've developed and answered the questions on enhancing it.
- Given an array find the equilibrium index of that array - Make sure that you give O(n) solution for the same.
- Given a problem statement, design the validation framework for the same.
Problem Statement: There's a queue which has N producers at one end and N consumers at the other end. The Producers get their input from an SDK. The queue actions can be controlled by APIs. Now When there are 1000+ orders placed in a minute in Myntra portal, come up with a solution in the framework on how you will validate the packets sent and received are the same in the Queue?
Note: Here there are N producers and N consumers. Any consumer can receive a packet from any producer. There can also be scenarios that Queue is blocked and not flushed at for a very long time. Due to high traffic, the queue may not drain all the packets at the regular period of interval. Keep all the negative scenarios in mind while designing this framework.