Is there any algorithm book in the front end of web that you can recommend?

my algorithm is not good. I forgot all the things I learned in school before. Is there any basis for algorithm books to recommend? I am doing the front end of web

.
Apr.11,2021

javascript-algorithms

but then again, algorithms and data structures are not attached to programming languages. If you work as a web front end, I think you can handle most of the interviews or practical questions you deal with with the following:

  • data structures: queues, stacks, trees
  • algorithm: dichotomy, sorting, recursion
  • algorithm thought: divide-and-conquer method, greedy method

if you want to study further, because you are already working, it is difficult to find a whole piece of time to read a book (or read a book if you can). You might as well take the time to brush through the exercises once a day. After all, practice leads to true knowledge.


data structures and algorithms, js data structures


"Learning javascript data structures and algorithms" can be matched with leetcode exercises


do not play with algorithms at the front end. It's good to be able to play frame 6

algorithm, play more with the OJ, front end of C and Java, and seldom use the hand-torn binary tree

it is recommended to take a look at the books related to ES6 and read less old books. After a while, we will come back to study the closures and factories in the old books


1. javascript-algorithms

2.leetcode
3. Introduction to algorithms

Note: in fact, the front end does not have much to do with the algorithm, the algorithm is more of an idea, and the language is only a tool for implementation. However, in view of the limited front-end contact algorithms, we can devote more energy to low-and medium-level algorithms. As for those dynamic programming and so on, it would be good to have a look.


algorithms have nothing to do with the front end, just find some classic algorithm books to read, but you may use js when you implement these algorithms in the future.


leetcode


I think any algorithm book can be read, and most of the algorithms are language-independent.

however, because JS is a dynamic scripting language, runs at runtime, and has its own data structures, the time and space complexity of many static languages can vary greatly, which should be noted here.

I recommend programming Zhuji and programming Zhuji (continued).


https://leetcode-cn.com

Menu