Andrey Hihlovskiy

Professional blog on groovy, gradle, Java, Javascript and other stuff.

Tag Archives: climb

Simple arithmetic: snail climbing a pole

A snail climbs all the way up a pole 12m high. It climbs 3m each day but slides down 2m each night. How long will it take the snail to reach the top of the pole?