Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

enter image description here

What language, if any, is used in this book? My school is currently using a terrible book for the algorithms course that I have to take next year and I'd like to convince the department head that Introduction to Algorithms by Cormen is a much, much better book.

share|improve this question
    
What book is your school using now? –  Philip Regan Apr 22 '11 at 17:02
    
Data Structures and Algorithms in Java: goo.gl/HGRc5 –  Joose Apr 22 '11 at 17:36
1  
I'm pretty sure they use the language 'English' in that book, but translations are probably available. –  Alex ten Brink Feb 12 '12 at 0:24
3  
How do you know it's a better book if you haven't read it? –  Karl Bielefeldt Feb 12 '12 at 3:37
    
@Karl: This was my first thought too! –  Sebastian Bauer Feb 12 '12 at 13:18
add comment

2 Answers

No specific programming language -- it uses a sort of natural language/math-y hybrid. "Pseudocode", you might say.*

It's a great textbook; the canonical algorithms text.

* Algorithms are usually expressed in a language-independent manner.

share|improve this answer
    
Does this book offer much in the way of an introduction to data structures? The course is technically called "Introduction to Algorithms and Data Structures". –  Joose Apr 22 '11 at 15:56
    
@brewer2: yes, it does. –  Jerry Coffin Apr 22 '11 at 16:20
    
@brewer2: I don't have my copy handy. I recall it having some parts about trees, heaps, hash tables, graphs, and so forth. It doesn't focus on data structures per se, but it's hard to cover an introduction to algorithms without showing at least some data structure examples, too (the topics are closely intertwined). –  mipadi Apr 22 '11 at 16:20
4  
If you can't translate the pseudocode into your favorite programming language fairly easily, you have weird taste in languages. –  David Thornley Apr 22 '11 at 17:37
    
@joose it isn't really an intro to data structures. The stuff I covered in it was prim's and djikstra's graph algorithms. Had to figure out the basics.on my own –  Jetti Feb 12 '12 at 0:27
add comment

Its language agnostic. No language in particular. To understand the syntax of the pseudo-code you have the explanation of used conventions after first algorithm which I remember was perhaps Insertion Sort.

Yes it does have a treatment on data structures as well.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.