Warner Bros. Discovery interview question

Merge n sorted list and sort it.