Marshall Wace interview question

cant say, but practice leetcode