Mamaearth / Honasa interview experience (SDE)
Summary
I had a two-round interview experience for an SDE role at Mamaearth/Honasa. The rounds covered theoretical questions on Magento, API optimization, caching, database query optimization, and a specific DSA problem. I am expecting an offer.
Full Experience
Total 2 rounds:
1) This round was with engineering manager discussion: Here all are theoritical questions on magento (as there primary tech is magento), few from resume and question like: how I will improve a API call from 1 service to another, for example Magento to a nodejs service! what steps I will take.
2) In this round, the interviewer was very chill, he first start off with discussion on caching, DB query optimization some DB level theory question and at last 1 DSA question was asked to store all 0's, 1's in order without using any addition storage and solution must be in o(logn). Pretty easy question though.
The interview went smooth and good, expecting a offer from them, just waiting for HR confirmation.
Interview Questions (2)
Improve API Call Performance Between Services
How would you improve an API call from one service to another, for example, from a Magento service to a Node.js service? What steps would you take?
Sort 0s and 1s In-Place with O(log n) Complexity
Design an algorithm to store all 0's and 1's in order without using any additional storage, and the solution must have O(log n) time complexity.