Domanda di colloquio di Petuum

Medium leetcode question and one ML question.