linear-complexity