Skip to content

Instantly share code, notes, and snippets.

View russoz's full-sized avatar
🤪
wazzzuuuuuup

Alexei Znamensky russoz

🤪
wazzzuuuuuup
  • Auckland, New Zealand
  • 05:25 (UTC +13:00)
View GitHub Profile
"""
Knapsacks have weight capacity; items have weight and value.
We want to find the allocation of items which maximizes the total
carried value.
"""
from typing import List, Set, Tuple