Question d’entretien chez Atlassian

LC medium, not typical leetcode -- try practicing with Hackerrank questions