![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Mar 2005
Posts: 40
Rep Power: 0
![]() |
DSA Book and Link Lists
Hello ...
I've been studying data structures and alogrithms at unvierstiy... The book college recommeneded us is Mark Alan Weiss' book on Data Structures, is it a good book? i have no idea about it, i read some reviews and all of them said that it has the weirdest approach to subject ... The second question is about linked list ... How to make polynomial class in C++ ??? and how to define the member function, I tried to do it, but struct and class are too different, it showed me almost 100+ errors when i made a class .... ![]() |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Jun 2005
Location: India, The great.
Posts: 435
Rep Power: 4
![]() |
I recently wrote a polynomial class in C++ for a college assignment. But that uses the STL list and not a hand coded Linked list. If you want that PM me.
__________________
PFO - My daily dose of technology. |
|
|
|
|
|
#3 |
|
Professional Programmer
![]() Join Date: Sep 2005
Posts: 419
Rep Power: 4
![]() |
>is it a good book?
Yes and no. The organization bites, so you'll be well into the next topic and see code and figures for the last topic. He covers a lot of ground in a mediocre way, and his code examples are cheesy and far from what I would consider realistic. Deletion is too often left as an exercise for the reader on the grounds that it's "too complicated" and "beyond the scope of this book". In a private correspondence he told me that he never implemented deletion for those data structures when I expressed my concern over that fact, which makes me suspicious. My honest opinion is that he just restates what is better described elsewhere. He tries to do too much and fails to do anything useful at all, though if you're already familiar with the topics you may find some interesting stuff if you read between the lines. You would be better off with Knuth, but several books on the subject won't hurt.
__________________
Even if the voices aren't real, they have some pretty good ideas. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|