I am sorry, if this is a wrong question in this forum.
It has been quite a while since I have coded in C and last week, I decided to finish atleast one Algo book cover to cover(or atleast try), thus revising C. I picked up Sedgewick on the advice of a few friends and also ACCU review.
But is the book really good? Does the code in it work?
I tried running a few and already there are so many errors. I started with the 4th chapter and the code on Josephes election, reversing the list etc are already not working. Infact in solving Josephes election problem using a circular list, I rubbed my eyes when I saw
N--
right at the end of the code, which was there for I dont know why.
Never mind the silly naming style of the variables. Any opinions?
Thanks and I am sorry again if it was not the right forum.
Anoop.