Domanda di colloquio di Pinterest

Basic Machine Learning question. Need deep understanding.