• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

Algorithmic Thinking: A Problem Based Introduction

 
Ranch Hand
Posts: 497
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


The book looks interesting. The Amazon description didn't say what language the examples use.
While many algorithms apply across the board to many languages equally, do you find that certain algorithms or classes of algorithms are better suited to certain languages?

 
Author
Posts: 34
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Paul and all,

I do think so, especially for low-level data structures/algorithms topics like some of those in the book.

For example, hash tables. In C, we don't have them, so we have to write them ourselves. In Python and Java, they're hidden by dictionaries/maps. Since I wanted to explore the core of these data structures, and build them ourselves, I used C for the book.

Thank you,
Dan
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the book. The fact it is written in C makes it even more interesting (at least to me). What level of C-specific experience is required would you say? Thanks again Daniel.
 
Daniel Zingaro
Author
Posts: 34
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sebastian,

Thank you! I've done my best to stick to only core C features, nothing too out there. So there are arrays, structs, printf, scanf, dynamic memory when we need it, things like that.

What I recommend in the intro is to just dive in -- and then if a reader gets stuck on something related to C (and if they want a full understanding of those finer points), they can search online or in a C reference to fill in any gaps. I do give a brief tour of a few C features that might be new to some readers.

For those out there who are not familiar with C/C++/Java syntax and instead use Python or another language: I suspect you'll be OK, too, but if any readers want to let me know about any sticking points, that would be appreciated! Most of this stuff looks very similar in many different languages.

Dan
 
paul nisset
Ranch Hand
Posts: 497
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Dan . Your reason for using C is good and should make the book  better for learning the logic behind HashMaps etc.....
 
I wasn't selected to go to mars. This tiny ad got in ahead of me:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic