Algorithm 1
From: On the parameterized complexity of the median and closest problems under some permutation metrics

\(\textsf{Permut}_\textsf{BI}(s)\)
From: On the parameterized complexity of the median and closest problems under some permutation metrics
\(\textsf{Permut}_\textsf{BI}(s)\)