techInterview
Answers to technical interview questions - accepting donations for dogs

 
home
faq
reading
feedback
discuss
archive
fogcreek
bug tracking
pets in ny
petfinder



*new* techInterview bible


thank your brain
save a dog's life




 

box o' numbers  aha:!

arrange the numbers 1 to 8 in the grid below such that adjacent numbers are not in adjacent boxes (horizontally, vertically, or diagonally).

       ___
      | 1 |
  =============
  | 6 | 4 | 3 |
  =============
  | 2 | 7 | 5 |
  =============
      | 8 |
      =====

the arrangement above, for example, is wrong because 3 & 4, 4 & 5, 6 & 7, and 7 & 8 are adjacent.

thanks to VJ for this one

solution: box 'o numbers

 



home | software development | bug tracking software | archive

[general software discussion] [dogs new york city] [Software Quality]