Brodal, G. S., R. B. Lyngsø, A. Östlin, and C. N. S. Pedersen. “Solving the String Statistics Problem in Time O(n Log N)”. BRICS Report Series, vol. 9, no. 13, Mar. 2002, doi:10.7146/brics.v9i13.21731.