Selects fractions of items to maximize total value given a weight constraint by taking items with the highest value-to-weight ratio first.
Explain code with DocComment! Try out your own code!