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

Home > Logic
4x4 Grid Logic II (Posted on 2010-11-04) Difficulty: 2 of 5
Using the information given below, place the letters A to P inclusive in a 4x4 square grid, such that no square is vacant and each square contains a different letter.
  1. I is to the right of H and below B.
  2. C is to the left of N and above H which is to the right of P.
  3. P is below O and to the left of I.
  4. M is below A which is also to the left of I.
  5. K and F are to the right of L which is below G.
  6. J is below D which is to the left of G and M.
  7. E is above K and below B.
Note: "Above/below" refers to two letters in the same column. "Left of / right of" refers to two letters in the same row.

See The Solution Submitted by K Sengupta    
No Rating

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

Charlie, I programmed a full search, and the sole result was the matrix you show! Congratulations! The program took the clues in the order given, and derived equations to match the conditons. I H B -- test condition 1, then C N P -- test condition 2, then O M A -- test conditions 3 and 4, then K F L G -- test condition 5, then D E J -- test conditions 6 and 7. Execution time for completed program c. 0.2 seconds, but probably not optimal. I did not see an easy way to decide what order to take the clues. If my program turned up multiple solutions, I would have had to review the deductions to see if all fit all the conditions.
  Posted by ed bottemiller on 2010-11-05 16:40:36

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 (5)
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