Question d’entretien chez Google

leetcode style question, whiteboard coding pretty much