Four glasses are placed in the four corners of a square rotating table (like a lazy susan). You wish to turn them all in the same direction, either all up or all down. You may do so by grasping any two glasses, feeling their orientation, and optionally turning either over. There are two catches: you are blindfolded and the table is spun after each time you touch the glasses. Assuming that a bell rings when you have all the glasses up or all the glasses down, how do you do it?

Rotating Solution

lib/DbaDatabase.php:134: Warning: dba_replace() [<a href='function.dba-replace'>function.dba-replace</a>]: You cannot perform a modification to a database without proper access