What if elements of nums2 are stored on disk, and the memory is limited such that you cannot load all elements into the memory at once?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.