raghav singh wrote:Can someone guide me here? I know nothing about algorithms and data structures.Is there any good books where I can start learning it.
Should I also learn advanced mathematics?
"Leadership is nature's way of removing morons from the productive flow"  Dogbert
Articles by Winston can be found here
I've managed for 35 years with my grade 'D' ALevel
raghav singh wrote:Or it there something like some base algorithms from which all algorithms are derived from??
Paweł Baczyński wrote:
raghav singh wrote:Or it there something like some base algorithms from which all algorithms are derived from??
Short answer: no.
Longer answer:
Yes, it is:
1. get the input
2. produce an output
raghav singh wrote:About algorithms, how many are known?
Should I learn all of them. Or it is an infinite list.
Or it there something like some base algorithms from which all algorithms are derived from??
"Leadership is nature's way of removing morons from the productive flow"  Dogbert
Articles by Winston can be found here
Paweł Baczyński wrote:No problem.
I think that there is no general universal algorithm.
The only things various algorithms have in common is that they require some data, they process it and return some result.
This could be listed in two steps as I did.
And those two steps can be considered an algorithm itself
When I started learning Java there were several reliable ways to wind up Elizabeth who was teaching. Speaking French was one, saying, “bubble sort” was another.Winston Gutkowski wrote: . . . simple Bubble sort). . .
Campbell Ritchie wrote:It is worth learning about the complexity of a few of those sort algorithms, and why bubble sort is the least efficient known to modern science.
raghav singh wrote:How does one study algorithms and data structures?.I mean what are the approach you guys use to study algorithms and data structures?
"Leadership is nature's way of removing morons from the productive flow"  Dogbert
Articles by Winston can be found here
Paweł Baczyński wrote:
1. get the input
2. produce an output
Ulf Dittmer wrote:Coincidentally, the Feynman Problem Solving Algorithm also has 3 steps: 1) Write down the problem, 2) Think very hard, 3) Write down the answer.
"Leadership is nature's way of removing morons from the productive flow"  Dogbert
Articles by Winston can be found here
Ulf Dittmer wrote:TAOCP is not a good book for beginners  it's more a reference than a tutorial or introduction to be read from start to finish. Wirth's Algorithm and Data Structures is still of interest (and freely available as PDF), and (somewhat newer) Cormen/Leiserson/Rivest's Introduction to Algorithms is not bad.
raghav singh wrote:How does one study algorithms and data structures?.I mean what are the approach you guys use to study algorithms and data structures?
No more Blub for me, thank you, Vicar.
chris webster wrote:
raghav singh wrote:How does one study algorithms and data structures?.I mean what are the approach you guys use to study algorithms and data structures?
There's still time to join the free online course in Algorithmic Thinking from Coursera, which just started on Monday.
Several JavaRanchers seem to be following the course  https://coderanch.com/t/638573/BunkhouseLounge/OnlineAlgorithmicThinkingRiceUniversity
raghav singh wrote:Also I might algorithm join part I and part 2 which also seem interesting.It will start on September 5.
Matthew Brown wrote:
raghav singh wrote:Also I might algorithm join part I and part 2 which also seem interesting.It will start on September 5.
Those are excellent (I haven't done Algorithmic Thinking, so I can't comment). And the examples and assignments are in Java, which is an advantage if that's what you're familiar with.
There are only two hard things in computer science: cache invalidation, naming things, and offbyone errors
fred rosenberger wrote:I've been a fan of Polya's How to Solve It. It is kind of an algorithm on how to come up with your algorithm.
"Leadership is nature's way of removing morons from the productive flow"  Dogbert
Articles by Winston can be found here
Did you just should on me? You should read this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn KlassenKoop
https://coderanch.com/wiki/718759/books/BuildingWorldBackyardPaulWheaton
