Well, Obama's locked up the geek vote, at any rate.
When visiting Google's headquarters last year, he was reportedly asked a question that would have stumped even a few techos: "What's the most efficient way to sort a million 32-bit integers?"
In the thoughtful, deliberate way we've come to admire so much, the Democratic candidate answered that he thought the bubble sort would be the wrong way to go. I'm sure he'll arrive at the correct algorithm with the help of his advisers, but it's good to know that his instincts were correct, as always. And there's at least one country that he could be President of in a heartbeat.
It could be disastrous to elect a person with a poor sorting policy, especially in these difficult economic times when we can't afford to waste resources. I'm told McCain couldn't answer the same question when he visited the Google campus a few months earlier. And I'm sure Sarah Palin's answer would have involved stacking the numbers as far right as they'd go...
When visiting Google's headquarters last year, he was reportedly asked a question that would have stumped even a few techos: "What's the most efficient way to sort a million 32-bit integers?"
In the thoughtful, deliberate way we've come to admire so much, the Democratic candidate answered that he thought the bubble sort would be the wrong way to go. I'm sure he'll arrive at the correct algorithm with the help of his advisers, but it's good to know that his instincts were correct, as always. And there's at least one country that he could be President of in a heartbeat.
It could be disastrous to elect a person with a poor sorting policy, especially in these difficult economic times when we can't afford to waste resources. I'm told McCain couldn't answer the same question when he visited the Google campus a few months earlier. And I'm sure Sarah Palin's answer would have involved stacking the numbers as far right as they'd go...
No comments:
Post a Comment