J
J
Junior932017-06-10 09:52:13
Django
Junior93, 2017-06-10 09:52:13

What algorithms should a web developer know?

Hello, please tell me what algorithms you need to know in order to get a job as a backend developer on django?
like sorting or something else?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
R
Roman Mirilaczvili, 2017-06-10
@Junior93

I don't remember when was the last time I used which algorithm in web development.
Of the algorithms, sometimes only linear and binary search in arrays can be used. In any case, as a rule, such algorithms are implemented in standard libraries and therefore it remains only to call the desired function.
Sometimes you need to calculate something simple, for example, statistics with a selection of different tables in the database or something using a simple formula. Occasionally, a little more difficult tasks come across. But don't expect tasks like dynamic programming or artificial intelligence - such tasks are usually solved by programmers with other qualifications, regardless of web development.
In web development, it is important that the request to the server takes as little time as possible. To do this, you need to quickly access the database, calculate something and return the answer. The user does not like to wait. Sometimes you need to use data caching techniques and some other optimizations.
In my opinion, the main delay factors are:

  1. suboptimal database queries
  2. non-optimal choice of data structures and, as a result, a decrease in speed and increased memory requirements
  3. repetitive code operations
  4. blocking operations in code
  5. non-optimal return of static content by the server

I
Ivan, 2017-06-10
@Za0r

As a beginner, and as a complete zero in mathematics (that’s completely zero, I won’t even solve the problem for the 7th grade), I advise “Groaming algorithms”, just a python is there, but there are typos that are noticeable if you read thoughtfully

D
Dmitri Sinitsa, 2017-06-10
@unabl4

Actually none. More emphasis is better placed on data structures, patterns, architectures, infrastructures, etc., etc.

M
mletov, 2017-06-10
@mletov

Depends on what you are going to program. In most cases, as they wrote above, none, but ... I
worked in one office, there was a tricky task to find optimal combinations, something like combinatorics, none of the three of us solved it, there was not enough knowledge of the materiel, in the end, stupidly busted in the forehead.
It is much more important here not web/mobile/desktop, but the subject area.

H
huwesu, 2017-06-10
@huwesu

Sorting is not needed.
If you sort, you will use ready-made libraries for this.

V
Valentine, 2017-06-10
@vvpoloskin

Only one algorithm - (while 1) open hh.ru, write a resume, apply for a job. If you got a job, stop the cycle.

A
Anton, 2017-06-10
@SPAHI4

Google search

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question