Questions › Technical PM › Top-Interview
Given a list of items with different sizes, write an algorithm to pack these items into the minimum number of batches without exceeding the capacity of each batch.
- Technical PM
- Top-Interview
- Easy
- 20 min
Given a list of items with different sizes, write an algorithm to pack these items into the minimum number of batches without exceeding the capacity of each batch.
What this question tests
- Technical PM
- Structured problem solving
- Communication
- Trade-off reasoning
Practise this question under interview conditions. Answer it out loud against a timer with an AI interviewer that asks follow-ups, then review the scored report.
Related Technical PM questions
- Given a sorted array of integers (which may include negatives), return the squares of the numbers in sorted order. As a follow-up, find the k-th smallest squared value.Top-Interview · Technical PM · Easy
- Build a web crawler with multi-threading.Top-Interview · Technical PM · Easy
- Design an end-to-end batching system for LLM queries.Top-Interview · Technical PM · Easy
- Develop a strategy for OpenAI's fine-tuning capabilities using publicly available docs.Top-Interview · Technical PM · Easy
- What is DevOps?Top-Interview · Technical PM · Easy
- How would you position Cosmos?Top-Interview · Technical PM · Easy
All Technical PM questions · Product manager interview questions by skill area