Skip to content
Vim Buffer Problem
VIRTUAL REALITY AND MIXED REALITY

Vim Buffer Problem

A few weeks back I tackled the following programming challenge from my colleague Josh Branchaud: > Vim Buffer > > I open up a new Vim buffer and type all the numbers 1 to 10,000, > separated by spaces. Then, my cat walks on the keyboard and somehow activates > a substitution command that replaces all the ‘0’ digits (zeros) with spaces. > If I now sum up all the numbers in the buffer, as delineated by spaces, what > is the total?
JOSH BRANCHAUD

Coverage

2 articles

Related