Upstox Interview Question

write a higher order for reduce function in swift