Expand description
This file contains code to find sorted runs in a set if ranged items and along with the best way to merge these items to satisfy the desired run count.
Structsยง
- Merge
Items ๐ - Sorted
Run ๐ - A set of files with non-overlapping time ranges.
Traitsยง
Functionsยง
- find_
sorted_ ๐runs - Finds sorted runs in given items.
- merge_
all_ ๐runs - reduce_
runs ๐ - Reduces the num of runs to given target and returns items to merge.
The time complexity of this function is
C_{k}_{runs.len()}
where k=runs.len()
-target+1. - sort_
ranged_ ๐items