Xapo Bank interview question

What design pattern you use