2 ms·
n is the number of words, according to Wikipedia. https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Minimum_raggedness https://en.wikipedia.org/wiki/Line_wr
by sp332 11y ago
n is the number of words, according to Wikipedia. https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Minimum_raggedness https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Minimu...
- jimktrains2 11y agoThat's what I meant, it's O(n^2) for the words per paragraph I thought, not the entire document.
- sp332 11y agoOh right... yeah I guess that's true.