This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingConcept theory, tags and interview notes for Fractional knapsack.
What this asks
Fill a knapsack with fractions of items to maximize value when whole items do not have to be taken.
Sort items by value per unit weight and take them in that order, filling the last item fractionally.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing