Seven jack-o'-lanterns are arranged in a circle. When a jack-o'-lantern is touched, the candles in that jack-o'-lantern and its left and right neighbors will change states: each will light if it was unlit or will be extinguished if it was lit.
If they all are lit, what is the fewest number of touches you need to make to extinguish all the jack-o'-lanterns?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
if we blow each and every pumpkin it would result in blowing a same pumpkin
thrice(since we blow it and its 2 neighbors)
so each pumpkin will
extinguish→light→extinguish
therefore each and every pumpkin extinguishes on blowing each and every
one of them