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 isC_{k}_{runs.len()}
where k=runs.len()
-target+1. - sort_
ranged_ ๐items