Using a Scala sorted set
```scala
deleted.dropWhile(_ < deleteKey.head).takeWhile(_ <= deleteKey.parent)
```