- or download this
1..10 - interval
and
2..5 - subinterval
4..7 - subinterval
- or download this
1->0
2->1
...
8->0
9->0
10->0
- or download this
#!/usr/bin/perl
...
$start = $max+1 ;
}
- or download this
|interval| = X
...
O(X^2) - not good if implemented naively