solutions of leetcode problems