All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
Eight Buttons (Posted on 2023-03-21) Difficulty: 3 of 5
There are precisely eight 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.

Determine the least number of button presses required to get from RRRRLLLL to LRLRLRLR.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: computer solution Comment 2 of 2 |
(In reply to computer solution by Charlie)

Still later I recognized that reversing the string before or after the l or r was not equivalent to physically flipping the buttons. After the flip it would still be necessary to change l's to r's and vice versa.


I made that change, and it still found no solutions, so the individual rotation still is the proper interpretation.

  Posted by Charlie on 2023-03-21 17:26:29
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (8)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information