Jardox Interview Question

Question 1 - Leetcode style data structure.