Xtrades Interview Question

How would you architect this?