WePay Interview Question

1. array summation 2. currency recognition