There are six buttons in a row. Each button shows an arrow pointing left (L) or right (R). When you press a button, all buttons in the direction of its arrow (not including itself) rotate 180 degrees.
Find the least number of button presses required to get from RRRLLL to LRLRLR.
hey! I have got it in 3 moves.. anybody took less than that??????
|
Posted by sachin
on 2006-10-15 04:09:57 |