Caterpillar interview question

To calculate differences across columns instead of rows