several leetcode problems