CoinTracker interview question

Basic LeetCode questions on CoderPad.