“…Determining the shortest transformation sequence, TOKEN SWAPPING, is NP-complete [156], even on graphs of treewidth at most two [157], W[1]-hard with respect to the length of the reconfiguration sequence [157], and inapproximable [156]. Algorithmic results include polynomial-time solutions on paths [82], cycles [82], complete graphs [158], stars [159], complete bipartite graphs [139], and complete split graphs [160], as well as approximation algorithms for squares of paths [161], trees [139,156], and general graphs [156], fixed-parameter algorithms for nowhere dense graphs, which include planar graphs and graphs of bounded treewidth [157], and exact algorithms (with matching lower bounds) [156].…”