Pregunta de entrevista de URS Systems

He asked my pyramid number problem and coin change problem using dynamic programming.