力扣原题,1easy1medium