Question d’entretien chez Amazon

three some problem from Leet code with optimization, LP of amazon