Re:Sorting 1 million 8-digit decimal numbers in 1MB of RAM
by ChuckMcM on Sunday October 21, 2012 @02:05PM
(#4680305)
Actually it can. I'll leave it up to you to figure it out. Proving that the adjusted algorithm works in all cases gets into some interesting number theory (think Galois Fields).
[ Parent
| on HN ]
Re:Sorting 1 million 8-digit decimal numbers in 1MB of RAM
by alecco on Sunday October 21, 2012 @02:10PM
(#4680318)
I rather spend my time with a useful solution than this path. Also it's a BS question anyway.
Re:Sorting 1 million 8-digit decimal numbers in 1MB of RAM
by ChuckMcM on Sunday October 21, 2012 @11:28PM
(#4681729)
Well in the case of Google's interviewing techniques they don't really care about the question per se, what they look for is how folks reason about things. You can start down one path, back up, head down another, and explore a variety of paths to possible solutions. The only bad answer is "That's a silly question, why would I ever need to do that?" or something similar. An unwillingness to engage in a discussion, even about 'impossible' problems, was the most common reason I saw on feedback where Google passed on the candidate.
Re:Sorting 1 million 8-digit decimal numbers in 1MB of RAM
by alecco on Monday October 22, 2012 @09:13AM
(#4682950)
> Well in the case of Google's interviewing techniques they don't really care about the question per se
From my experience interviewing for Google, I beg to differ. Many other accounts seem to confirm this.