Description Usage Arguments Value
Checks whether a list of ranges partitions an entire sequence
1 | valid_ranges(range_list, sequence_length)
|
range_list |
A list of pairs of values (a, b), where (a, b) represents a range from index a to index b |
sequence_length |
The sequence length, we want to check if the ranges together partition all of (1, sequence_length) |
TRUE if range_list partitions (1, sequence_length), error otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.