Domanda di colloquio di Flexible Finance

Leetcode medium question + follow-up