Question d’entretien chez Applied Intuition

Leetcode problem in between medium and hard