Personal solutions for leetcode problems