Microsoft , Online Assessment for SWE Internship | N clients who have ordered N handmade items | 2023

Microsoft · Question · Posted Jul 2023

Question 1 There are N clients who have ordered N handmade items. The K-th client ordered exactly one item that takes T[K] hours to make. There is only one employee who makes items for clients, and they work in the following manner: • spend one hour making the first item; •if the item is finished, the employee delivers it to the client immediately; •if the item is not finished, they put it after the N-th item for further work; •the ...

The full answer & interview discussion are available to premium members.

Log in Create a free account