I was asked this question in one of the rounds which I believe to be a bar riser because of the minimum info provided and also the open-endedness of it. I bombed it :(
Given 'x' runtime it takes for a process to complete, return the time at which the process will complete. Design an Algorithm
Info gathered from follow up questions:
While the more I thought about it, it sounded like an variation of Meeting rooms problem https://leetcode.com/problems/meeting-rooms-ii/. Please share your thoughts.