Background Recently, I was installing updates on my pc with Pacman (I use arch btw) and noticed the order it downloaded files was like this Start with the largest 4 downloads When a download completes, start downloading the next biggest file. Since the biggest file takes the longest to download, you'll often see the second or third biggest actually complete first. Interesting. Challenge Given a list of download sizes, eg 50, 40, 30, 20, 11, and the amount of downloads that can be running simu...