3 ms·
This is interesting. For a while, like a few, I thought the solution was to assume the maximum and then iteratively optimize to shorter sequences. I think I eve
by drudru11 11y ago
This is interesting. For a while, like a few, I thought the solution was to assume the maximum and then iteratively optimize to shorter sequences. I think I even read that in that book on Assemblers and Linkers online. The counter example below by @rer0tsaz showed me that I wasn't thinking hard enough about the problem :-)
Is this a general problem. For example, is this a limited form of Bin Packing?
Or is there a general solution for problems like these?