Deriv.com Interview Question

How to optimize the application?