#21 leetcode work
from tengjing