Question d’entretien chez J.P. Morgan

Leetcode easy/medium from 3rd party. Timed