Tesla interview question

leetcode style data structures and algorithms