this post was submitted on 14 Feb 2024
746 points (100.0% liked)

196

16444 readers
1643 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 8 months ago

This sounds like a problem that would be covered in an algorithms class.

Something something knapsack problem, dynamic programming, something something