Looks like some LabVIEW beginner was just playing with various array operations. Doesn't seem to do anything useful.
The upper loop Creates a 2D array where each row depends on the input array. The first element is the number of valid elements following on the same row. then length is calculated from the difference of elements N+1 and N. The rest of the row is an increasing ramp with increment 1, starting with the number from the (input array +1).
This is repeated for each element in the input array except for the last.
The second loop reads the first element to get the lenght back and then gets the following valid elements. When you press stop, it processes the next row until you run out of rows.