Pregunta de entrevista de Tudor Investment Corporation

Closest True in a numpy array of boolean values