0
Let's say you are tasked with installing baseboard in a house and there will be n pieces of all different length to be installed, B1, B2,...,Bn.
Stock baseboard comes only in x stock sizes at the store, S1, S2,...,Sx.
Come up with an algorithm which minimizes slack, assuming that each baseboard...