4 ms·
Looks like a job for dynamic programming! It's a classic packing problem - searching for phrases of exact pixel width, where each of the unknown number of lett
by cypherpunks01 9y ago
Looks like a job for dynamic programming!
It's a classic packing problem - searching for phrases of exact pixel width, where each of the unknown number of letters contributes a different number of pixels.
- senatorobama 9y agoIs it even tractable?