+ 7
How do I learn the algorithms and logic of programming
Is there an app for learning the algorithms and logic of programming in a specific language or are we suppose to figure it out ourselves after learning the basics??
5 odpowiedzi
+ 16
This is a free PDF book for Algorithms
https://goalkicker.com/AlgorithmsBook/
+ 5
I have this app, which explains a lot of algorithms (with animations)
http://algorithm.wiki/en/app/
On sololearn: You will find a lot of lessons for different languages. (Use the search bar of the learning section --> algorithms)
You can also search for books or videos on youtube.
+ 3
I like the book: 'Grokking Algorithms' by Aditya Bhargava.
+ 3
Read books and online resource material on algorithms and use them in your code.
0
i would suggest the approach focuses more of Maths where most logic and formulas that actually work lurk. seldom meet good programmers that cant count.
one of my lecturers was a great programmer but he was a better at maths Algebra Calculuis all the fun subjects.
and he was also a joker able to grasp his jokes better than the average student...
take this as an example and dont fall for the “proof” soon in software u encounter the dreaded division by zero, then u come across a maths joker that hits you with this... the good maths folks spot the flaw
two non-zero numbers x and y
x = y.
Then x2 = xy.
Subtract the same thing from both sides:
x2 - y2 = xy - y2.
Dividing by (x-y), obtain
x + y = y.
Since x = y, we see that
2 y = y.
Thus 2 = 1, since we started with y nonzero.
Subtracting 1 from both sides,
1 = 0.
What's wrong with this "proof"?
reminder for students to always check when they are dividing by unknown variables for cases where the denominator might be zero.
The Math Behind the joke
The problem with this "proof" is that if x=y, then x-y=0. Notice that halfway through attempted divide (x-y)
books are good people are better pick the brains of the teachers they hide the answers inside their heads lol