Food ordering app with a menu, search, filters (veg/non-veg, price), and cart (add, remove, quantity, total). 90 minutes. Focus on cart logic and filters. Handle empty cart and no search results.
Machine Coding Interview Experiences From Top Companies
What machine coding questions are asked at Swiggy?
The answer
More FAQs in Machine Coding Interview Experiences From Top Companies
Autocomplete search bar with debounce and keyboard navigation (up/down/enter). 90 minutes. Implement debounce from scratch (no lodash). Keyboard navigation is a must. Handle no results and special characters.
OTP input component with auto-focus, backspace navigation, and paste support. 60 minutes. Paste support is often forgotten, so implement it. Numeric-only input and submit when filled.
Pagination component (page numbers, ellipsis, current page) followed by a throttle implementation as a follow-up. 90 minutes. Ellipsis for many pages is important. Be ready to implement throttle from scratch.
Still have questions?
Browse all our FAQs or reach out to our support team
Want to upskill yourself?
Your learning library
Small steps. Big possibilities.
Find your next course. Build something great.