solve first missing positive and trapping rain water