more old leetcode solutions