Pantheon Systems interview question

2 easy problems from leetcode Code Review with a sample code General questions about how to approach a problem, etc