5 ms·
I'd start by reading through the links on Wikipedia: http://en.wikipedia.org/wiki/Word_wrap#Knuth.27s_algorithm http://en.wikipedia.org/wiki/Word_wrap#Knuth.27s
by cbhl 12y ago
I'd start by reading through the links on Wikipedia: http://en.wikipedia.org/wiki/Word_wrap#Knuth.27s_algorithm http://en.wikipedia.org/wiki/Word_wrap#Knuth.27s_algorithm