Answer the question
In order to leave comments, you need to log in
Where to start learning algorithms?
Hello! I recently signed up for codewars.... Today I reached the 5th kuy. And I noticed that almost all tasks are time out .. That is, algorithms are needed .. So, where to start learning algorithms? Or do you have to invent them yourself? (Target: 1kuy on codewars..).
Answer the question
In order to leave comments, you need to log in
Read Knuth "The Art of Programming" and Cormen's "Algorithms: Construction and Analysis".
In general, many tasks can be reduced to the correct choice of data structure. Yes, yes, there are all sorts of problems of finding the shortest path, greedy algorithms, dynamic programming. But in general, the problems that appear on sites like codewars or interviews can be solved one way or another by choosing the right data structure.
I advise you to methodically solve all the tasks from this section of the hackerrank https://www.hackerrank.com/domains/data-structures . In the past, it has increased my skill and given me a lot of self-confidence. Good luck!
There is also a book "Groaming Algorithms", which is also not bad.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question