Ebury interview question

There were 2 rather simple coding exercises