Frage im Vorstellungsgespräch bei Twin Health

Merge K sorted array list.

Antwort im Vorstellungsgespräch

Anonym

9. Aug. 2022

I was able to solve it using minHeap priority queue with runtime : O(n*mlog(n * m)) and space : O(n*m) Expected time complexity was : O(N Log k)