by rrgok · 3y ago · 0 comments
I hope someone can shed some light on this.
https://www.goodreads.com/book/show/425208.The_Algorithm_Des...
It is the same process as learning the elementary algebra in math. You learn a few basic techniques, like moving numbers and variables from one side to the other, and then you compose those to solve expressions you haven't seen before. The only difference is that algorithms is a much larger space, there are way more techniques and problems there so it takes longer to get to a point where it is useful to you.
Go on LC and try various approaches compare time-complexities and it will be obvious why you have to use a certain algorithm.