G-Research Interview Question

Cannot give any hints due to NDA.