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

196

16320 readers
2473 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 7 months ago

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

Something something knapsack problem, dynamic programming, something something