ABC Interview Question

1 Leetcode question, and 1 system design question