[LC] Added solution to merge k sorted lists using treeset.