in the first data_structure,solve the second problem