leetcode:algorithm description