Winter SalePremium questions, over 25% offUnlock all premium questions for over 25% off
Assign Books To Shelves
Medium
Question
A head librarian is setting up a new way to shelve the books that arrive in each shipment. Shelves are indexed from 0 to numShelves - 1 (there are numShelves of them), and at the start none of them holds a book.
...
Asked at:Amazon
More Amazon interview questions
- Minimum Warehouse Redistribution Costmedium
- Detect Obfuscated Abusive Wordshard
- Minimum Variant Conversion Costmedium
- Diagonal Server Redirect Pathhard
- Prefix Frequency Block Partitioneasy
- Smallest Lexicographic Palindromemedium
- Connect Points In Unbounded Matrixhard
- Find Oldest One-Time Visitormedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.