two leetcode answer