Schmid, Andreas Algorithms and Complexity, MPI for Informatics, Max Planck Society;
Schmid, A., & Schmidt, J. M. (2018). Computing 2-Walks in Polynomial Time. ACM Transactions on Algorithms, 14(2): 22. doi:10.1145/3183368.