Leetcode Coding Exercise On Empty