SDE2 @ Swiggy
Bangalore, India
Mar 2023
--
Applied through career page
📌 Write pollyfill of JSON.stringify?
📌 Pollyfill of bind?
RESULT - stucked 😥
Design an application similar to a shopping cart which has the following features 👇
👉 Based on stock value in response, show “in stock” or “out of stock”.
👉 Stock will reduce on adding to the bag.
👉 Allow adding to the bag only till the stock is greater than zero.
👉 The list must be searchable on the name and description fields.
👉 The list must be filterable on category and stock (in stock/ out of stock).
👉 Cart/Bag must have quantity increase and decrease buttons. The price multiplied by the quantity to be shown in the sub total.
Good to have Pagination, Formatting of long descriptions and sort by price
RESULT - Went average
Be the first to share your thoughts!
No comments yet.
Start the conversation!
Help Others Succeed
Give Back to Community
Share Your Knowledge
Share your interview journey and help thousands of developers prepare better. Your experience can make a real difference in someone's career! 🚀
104
3
153
69
174
138
Subscribe to FrontendGeek Hub for frontend interview preparation, interview experiences, curated resources and roadmaps.
All in One Preparation Hub to Ace Frontend Interviews. Master JavaScript, React, System Design, and more with curated resources.
© 2026 FrontendGeek. All rights reserved