what is the best way to sort a huge array. say I have 1G RAM, array is 16G. What is the most efficient method to do this? I got enough disk for files.
-
Which programming language are you intending to use? You seem to be most concerned about memory usage. What's the state of the virtual memory; do you even need to care? What's your definition of 'best' - time, minimized swapping, or other?p.campbell– p.campbell2011-02-24 02:37:46 +00:00Commented Feb 24, 2011 at 2:37
-
@p.campbell not a practical problem. Focus on algorithm and solution. Thanks :)Josh Morrison– Josh Morrison2011-02-24 02:38:52 +00:00Commented Feb 24, 2011 at 2:38
-
@p.campbell yeah kinda. I met another big file question before. so came up with this one. still preparing for Amazon interview. LOL~Josh Morrison– Josh Morrison2011-02-24 02:52:07 +00:00Commented Feb 24, 2011 at 2:52
Add a comment
|