Question d’entretien chez HackerRank

A DP problem and a binary tree problem