• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Advanced Algorithms and Data Structures: Which programming language is used?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Marcello,

Welcome to ranch!
I am curious to know if there is one programming language used in book or multiple?
I tried to find it from contents on manning website’s book provided here but couldn’t find it or missed it 😊

Wish you great success and many more good books like this to come.

Regards.
Pramod Patki
 
Greenhorn
Posts: 23
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Although I haven't read the book, based on one of the appendixes and the fact that no language is mentioned, it seems to me that is most likely written in pseudo code.
Which make all the sense.
But, I guess the author can confirm.

~Nestor
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pseudocode, from what I can tell. Here's an example for Trie:
 
Author
Posts: 22
7
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Pramod Patki wrote:Hello Marcello,

Welcome to ranch!
I am curious to know if there is one programming language used in book or multiple?
I tried to find it from contents on manning website’s book provided here but couldn’t find it or missed it 😊

Wish you great success and many more good books like this to come.

Regards.
Pramod Patki



Hi Pramod,
thanks a lot for your question and for the compliments and good wishes! I really appreciate it
So yes, as Nestor and Junilu (thanks!) already mentioned, the book uses pseudocode. That was decided to try to abstract away all the implementation details that are tied to any specific programming language, and let the readers focus on the logic of the algorithms.

There are a couple of exceptions: chapter 2 shows some Python while talking about profiling, chapter 7 uses Java to explain locks, and appendix E uses JavaScript to show how recursion works.
Besides that, for all chapters there is an implementation in at least one of these three languages, shared on the book's GitHub repo, here: https://github.com/mlarocca/AlgorithmsAndDataStructuresInAction

Cheers!
 
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic