Help for this page

Select Code to Download


  1. or download this
    @lists =(  (12..17), (25..42), (44..50)  );
    @gap_fillers = (m..n) - intersection( (m..n), @lists );
    
  2. or download this
    $lists = Set::Infinite->new([12,17], [25,42], [44,50]);
    print Set::Infinite->new([m,n])->minus($lists);