
This actually happened. :) Also, the algorithms I saw on the internet were using recursion and I wasn't.
Blackadder: Now, where the hell are we?
George: Well, it's difficult to say, we appear to have crawled into an area marked with mushrooms.
Blackadder: What do those symbols denote?
George: Pfff. That we're in a field of mushrooms?
5 comments:
did it work?
if it is my algo you are talking about, it worked.
Rule #1 of programming: Never write what you can find a library function for.
Also, why loop when you can recurse?
@Ess Dee: I was analyzing the algo and trying to understand why it is considered to be one of the most efficient. Why would I write an entire program that just sorts when that routine has been implemented 10^6 times by various SDKs? :)
Indeed that is cool. It seems you don't have much work nowadays. Let's play cricket.
Post a Comment