← ALL NOTES
Array

2141. Maximum Running Time of N Computers

n computers must run simultaneously for exactly t minutes. batteries gives capacities (in minutes). Batteries can be swapped between computers at any instant (but no two in one computer at once).…

Loading…