This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You are looking down at nine glasses labeled 1-9. All are half filled with milk and are arranged in a 3 x 3 pattern as shown above. The following actions are performed to the glasses: Glass 4 is switched with glass 6 after glass 8 is emptied into 6. Glass 7 is emptied into glass 1. Glass 8 is moved to where glass 5 sits, while glass 5 moves to where glass 3 sits, and glass 3 is placed where 8 began. Glass 2 is emptied into glass 4. Glass 6 is emptied into glass 7, and switches places with glass 8.
Referring to the actions above, what will be the possible arrangement of the glasses