Pergunta de entrevista da empresa AQR Capital Management

Algorithm questions as me not having any algorithms background.