Pergunta de entrevista da empresa Amazon

leetcode: ship k in d days, whats min capacity