We have a different type of puzzle which consists of 4x4 board with numbers on it;
Your task is to put numbers in the correct order as given in the diagram above.
In each step, you can take one number from a color and one number from another color and interchange them. In other words, if you take a number from yellow square, you can interchange that number with only white backgrounded numbers.
So what is the minimum number of steps to obtain the correct order given above for the question below?