CodePudding user response:
Because of the length of the list every time reduced by 1, circulation first delete the first 1, the second time to delete the second after an arrayCodePudding user response:
Because of the length of the list every time reduced by 1, circulation first delete the first 1, the second time to delete the second after an array