Pregunta de entrevista de NxtWave Disruptive Technologies

DSA question on Dynamic Programming and 8 Queries in MySQL.