David Garden

Recent Blogs

  • Byte order and Bit order

    Oct 20, 2025

  • cpp memory model

    Oct 20, 2025

  • Structured Concurrency

    May 16, 2025

  • CPP standard networking proposal(execution)

    May 13, 2025

  • c++ reflection(introspection) and code generation

    Apr 10, 2025

  • code reuse in work with using type erasure

    Mar 21, 2025

  • Hazard Pointer

    Feb 12, 2025

  • Memory barriers are like source control operation

    Feb 09, 2025

  • Memory ordering at Runtime

    Feb 09, 2025

See 63 more →

Home

❯

Area

❯

All Blogs

❯

bin packing problem

bin packing problem

Dec 08, 20231 min read

problem: we have one object have two attribute: a and b and one box can hold N attribute a and M attribute b. now we have k objects and every object a and b

ask: how many boxes we need to hold the k objects using minimum boxes ?

packing problem

https://developers.google.com/optimization/pack/bin_packing

reference

  • google or-tools
  • packing problem
  • knapsack problem
  • leetcode 1986

Graph View

Backlinks

  • No backlinks found
  • packing problem
  • reference

Created with Quartz v4.4.0 © 2026

  • GitHub