Question d’entretien chez Google

time complexities, dynamic programming coding question