3 ms·
if you store it with log2(n) you could easily store everything with a single byte. That brings the storage requirements down considerably. Though you still ha
by simcop2387 13y ago
if you store it with log2(n) you could easily store everything with a single byte. That brings the storage requirements down considerably. Though you still have huge issues with storage, not to mention input. For input you'd need 4096 combinations!
- dbaupp 13y agoYou can even do 2 numbers per byte (11 takes 4 bits).