The whole thing hit me in two minutes, and I did one line after another and got the whole thing done in 20 minutes."
The entire task struck me in two minutes, and I worked one line at a time, completing everything within 20 minutes.