Home > front end >  The collapse of an array
The collapse of an array

Time:09-24

1. What is the array collapse?
when to delete an array unit operations, will be deleted unit after unit forward, will replace delete unit location, appeared on the position of the removed unit, resulting in a decrease of the length of the array, it is called the collapse of an array,

Case:

Solution:

CodePudding user response:

But why did not delete, var I=arr1. Length - 1. I>=0; I -
  • Related