AKUNA CAPITAL interview question

A question involving circular permutation