first missing positive and max diff