Can you draw 4 triangles in this 5 by 5 grid, covering all dots?
Your challenge is to draw 4 triangles in a regular 5 by 5 grid. Of course, there are some restrictions:
Give it some thought!
If you need any clarification whatsoever, feel free to ask in the comment section below.
I originally found this puzzle in the Puzzling Stack Exchange website.
Congratulations to the ones that solved this problem correctly and, in particular, to the ones who sent me their correct solutions:
Join the list of solvers by emailing me your solution!
There are many different solutions to this problem.
Jerry, from the USA, submitted the solution that I am most fond of:
This solution is my favourite because of the vertical symmetry between the two larger triangles and because the two smaller triangles are rotations of the other.
Just for reference, here is another possible solution (among the many that exist!); this one was from Martin, picked randomly among the others.
Don't forget to subscribe to the newsletter to get bi-weekly problems sent straight to your inbox.
+35 chapters. +400 pages. Hundreds of examples. Over 30,000 readers!
My book βPydon'tsβ teaches you how to write elegant, expressive, and Pythonic code, to help you become a better developer. >>> Download it here ππ.