AKUNA CAPITAL Interview Question

problem solving question similar to LeetCode problems about Min Swap