Swissquote Interview Question

About design pattern and Swift