Interview Question Asked For Netflix Screeing Round, Remote Profile.
Summary
This post describes a specific coding question encountered during a Netflix screening round for a remote profile.
Full Experience
You are given an integer array time of size n, where time[i] represents the time taken by the i-th process to send a notification to a single device.
All processes start working simultaneously and operate independently. Each process can send multiple notifications, but it can only send them one at a time, taking time[i] units for each notification.
Given an integer totalDevices, representing the total number of devices that need to be notified, determine the minimum time required to send notifications to all devices.
Interview Questions (1)
Minimum Time to Send Notifications
You are given an integer array time of size n, where time[i] represents the time taken by the i-th process to send a notification to a single device.
All processes start working simultaneously and operate independently. Each process can send multiple notifications, but it can only send them one at a time, taking time[i] units for each notification.
Given an integer totalDevices, representing the total number of devices that need to be notified, determine the minimum time required to send notifications to all devices.