Ponder This — April’s Challenge!

Ponder This Challenge:

PETER+PAN+DISNEYA 7x7x7 cube is centered at the origin of a three-dimensional grid. The exact middle-point of each cell contains one character from the Peter Pan story. All the cells outside the cube are filled with Captain Hooks. Inside the cube some of the cells contain Peter Pans and the others contain Wendys.

The Captain Hook team wins if any one Hook can see at least one Peter Pan, but no Wendy, when looking in the direction of any one of his 26 immediate neighbors. We assume that all cell walls are transparent and you can see through them in any given direction.

Find a way to put at least 161 Peter Pans in the cube without letting Captain Hook win.

Supply your answer as a list of 343 characters: P for Peter Pan and W for Wendy. Start from the top close left corner and move left to right; top to bottom; close to far.

IBM Research will post the names of those who submit a correct, original solution to their website! If you don’t want your name posted then please include such a statement in your submission!

We invite you to send your submission to the webmaster.

If you have any problems you think we might enjoy, please send them in. All replies should be sent to: webmster@us.ibm.com

Search for Jobs
Search for Internships

Follow IBM Recruitment on TwitterFacebookGoogle+; Check out career videos on YouTube.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.