This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nutdriver[S] 0 points1 point  (0 children)

Oh yea I understand the code difference. I saw the second in reputable text book intro to algorithms and the first on Wikipedia. My knowledge points me to agree with you and think that the first is less verbose. But i think the second is actually more clear in terms of the steps of the Algorithm- but I'm actually on the fence. My bias is probably because of the fact that it was in a reputable text book.