You have quarters laid out in the following pattern on the left and you want to move quarters to form the pattern on the right.
Q Q Q
Q Q Q Q
Q Q Q Q Q
Q Q Q Q Q Q
Q Q
Before After
The only rule is that you must slide a coin without moving any others such that the coin's ending location touches two other quarters.
What is the shortest solution?
(In reply to
re: Moving Quarters II by Hasid)
<table border="0" cellpadding="0" cellspacing="0" width="448" style="border-collapse:
collapse;width:336pt"><tbody><tr height="19" style="height:14.4pt">
<td height="19" colspan="7" width="448" style="height:14.4pt;mso-ignore:colspan;
width:336pt">Dantotsu is the perfect on-the-go companion for anime and manga
fans who want to stay current with their preferred series. This user-friendly
app integrates with Anilist, making it easy to track your progress and see
what content your friends are enjoying. With Dantotsu, catching up on new
episodes and chapters of your favorite anime and manga is simple, whenever
and wherever you want.</td></tr></tbody></table>
|
Posted by kim liam
on 2024-01-23 09:18:59 |