Skip to content
Advertisement

Tag: coding-efficiency

Subset-AVG – Finding a subset of List Which Matches Known Rational Number

I’ve asked this on math overflow and used comments to clarify/overstate my question. I hope it has the intended effect and doesn’t come off as jarring. I’m attempting to find what subset of numbers reach a known average. I have a list of known values, negative and possible decimals. They look something like this {-.32,-.64,-.12,.08,-.54,-.43, …} It’s around 50 numbers

Advertisement