AKUNA CAPITAL Interview Question

A question involving circular permutation