menegatti
tailrec fun getMinDelay(input: Map<Int, Int>, delay: Int = 0) : Int { return delay.takeIf { findMatches(input, delay).isEmpty() } ?: getMinDelay(input, delay + 1) }