Simplest Yet Toughest puzzle ever

It is interesting to see how some of the easiest puzzles becomes the toughest to solve and how stupid we feel when we discover the answer. We just came across a puzzle or rather a brain teaser on the internet which sounded easy but was hard as hell.Want to know it and see if you can solve it? Don't worry even if you don't we have the answer for you right at the end of post.

Problem -

Consider an arrangement of twelve toothpicks as show below :

source - quora

The objective of the puzzle is to turn the above into three perfect squares using exactly three moves and keeping in mind the following constraints.

Constraints -

  1. One move is considered as moving one toothpick in any manner.
  2. You cannot break or modify a toothpick.
  3. You cannot put two toothpicks right next to each other and count that as one side.
  4. You must use exactly three moves as mentioned above. No less, no more.
  5. All three squares must be of the same size.
  6. Every toothpick must be part of a square.

Now go ahead and see if you can solve it. The solution is provided below

Solution - 

Source - quora
source - quora

source - quora

Go ahead and share the fun!!