Facebook Pixel

What machine coding questions are asked at Amazon?

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.

Verify This Answer

Cross-check this information using these trusted sources:

More FAQs in Machine Coding Interview Experiences From Top Companies

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.

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?

Our courses are taking a Coffee break, but your curiosity shouldn't. Stay engaged with namastedev linkedin, youtube, discord and other resources while you wait.

0