Questions › Technical PM › Top-Interview
01 Matrix
- Technical PM
- Top-Interview
- Hard
- 45 min
01 Matrix
Additional context: Given an M x N binary matrix, calculate the distance of each cell to the nearest 0. Return a new matrix where each cell contains this distance.
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
- What was the most frustrating part of fine tuning or building a model, and how did you handle it?Top-Interview · Technical PM · Medium
- Design a payment processing system, accounting for retries, idempotency, and correctness under failure.Top-Interview · Technical PM · Medium
- Detect bad words in a string.Top-Interview · Technical PM · Medium
- What is a high-order component?Top-Interview · Technical PM · Medium
- Maximum Path Quality of a GraphTop-Interview · Technical PM · Medium
- Design WhatsApp.Top-Interview · Technical PM · Medium
All Technical PM questions · Product manager interview questions by skill area