How sorting the holes and mices separately is a way to find solution? quest. says mice can move only 1 step left or right in 1 minute. Should this be included in the answer after sorting?
You misinterpret the question. Mice are allowed to move as many steps but one step left or right takes one minute.