HARVEY Interview Question

Source matching with strings and intervals.