Question d’entretien chez Bloomberg

I was asked 2 graph problems