https://123dok.net/document/y6eldxoo-computing-the-longest-unbordered-substring.html