in reply to Re: mini-golf: convert integer into list of powers of two
in thread mini-golf: convert integer into list of powers of two
Very, very nice++
It'd never occurred to me to assign to $_ in grep, but it deals perfectly with the duplication in my attempt. I can see me using that in the future.
|
---|