My submission for LeetCode