Caterpillar Interview Question

To calculate differences across columns instead of rows