Posts by digao_mb • 101 points
1 post
-
0
votes2
answers764
viewsA: Count sequence and number distance in an array
Whereas the array is ordered, and you only need to know the number of sequences and the GREATEST distance between the numbers (got this). Just go through the array, looking at two consecutive…