K
K
Kettle King2021-08-12 20:08:34
JavaScript
Kettle King, 2021-08-12 20:08:34

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

3 answer(s)
W
Wataru, 2021-08-12
@wataru

Read Knuth "The Art of Programming" and Cormen's "Algorithms: Construction and Analysis".

D
Demian Smith, 2021-08-12
@search

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!

D
Dima Polos, 2021-08-12
@dimovich85

There is also a book "Groaming Algorithms", which is also not bad.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question