Definitely, appreciate the feedback here. It's easiest to share the explanations that come to me, but I love finding a few different ways to look at things, and as they emerge I like to include them.
As a simple example, here's the formula for adding the numbers 1...n:
The explanation I was originally given (pair the first and last items, and count the pairs) seems gnarly because you have even/odd issues, off-by-one errors, etc. There are others which click better.
As a simple example, here's the formula for adding the numbers 1...n:
http://betterexplained.com/articles/techniques-for-adding-th...
The explanation I was originally given (pair the first and last items, and count the pairs) seems gnarly because you have even/odd issues, off-by-one errors, etc. There are others which click better.