Knapsack problem/Unbounded/Python dynamic programming: Difference between revisions

Content added Content deleted
m (→‎{{header|Python}}: Removed "header" template and adapted header levels)
m (→‎Ancillary module: Fixed typo (independant→ independent))
Line 136: Line 136:
'''
'''
Return Size, an extended namedtuple that represents a container
Return Size, an extended namedtuple that represents a container
of N integer independant dimensions, e.g. weight and volume
of N integer independent dimensions, e.g. weight and volume
a dimension cannot be less than zero and will instead force all
a dimension cannot be less than zero and will instead force all
dimensions to zero.
dimensions to zero.