Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
Greenhorn
Posts: 3
  • 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
 
Marshal
Posts: 16598
278
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: 20
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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic