leetcode: several solutions