Image Credit: Imgur
There are 3 red boxes on the left, 3 yellow boxes on the right, and 1 empty tile in the middle. (All 7 spots are in a row, as illustrated in the image above.) The red boxes can only move to the right while the yellow boxes can only move to the left. Additionally, they can jump over exactly one box.
Your goal is to switch the positions of the red and yellow boxes. What is the minimum number of steps required to achieve this?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
NOT A PROPER SOLUTION