Pregunta de entrevista de Tinder

Design a data pipeline. Code problem to find subsets