Question d’entretien chez Meta

Two LC-style questions (Both medium difficulty)