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

196

16490 readers
3071 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
[–] Zangoose@lemmy.one 5 points 9 months ago

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

Something something knapsack problem, dynamic programming, something something