several leetcode questions