Question d’entretien chez Affirm

A hard OOD problem which can be found on leetcode