G-Research interview question

brain teaser type. More complicate than usual.