Pregunta de entrevista de AKUNA CAPITAL

problem solving question similar to LeetCode problems about Min Swap