Deriv.com interview question

How to solve context memory?