
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 array

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 array