How prefix-sum binary search makes text line-breaking O(log n) with zero allocation

· Dev.to