Answer the question
In order to leave comments, you need to log in
Is it possible to upgrade algorithms without good knowledge of syntax?
Hello.
I'm learning js, haven't returned to it for some time. Recently I saw some problem and could not do it.
On the one hand, there was not enough knowledge of the syntax, on the other hand, I simply did not understand how to do it.
Tell me if it is possible to upgrade algorithms without a good knowledge of syntax, how important are algorithms in general, where they can definitely come in handy and where not, and where can they be upgraded?
Answer the question
In order to leave comments, you need to log in
Imagine you and your team have to do some work, let's say build a wall. You are the boss. You should have an algorithm for solving this problem in your head - make a mortar, replace the mortar, bring bricks, lay a layer of mortar, lay a layer of bricks, if the wall height is less than the specified one, repeat the steps described above. Having decomposed the task into steps and linking them together, you got a solution algorithm that you send to the executor for execution.
Likewise in programming. You are given a task, first of all you have to break it down into some simpler actions and link them together. Now you can describe this algorithm - in Russian, in English, in Chinese .... Or you can use the C ++ or Java Script programming language. Here sorting algorithms are generally demonstrated in the language of dance. Nice and easy to understand :-).
https://habr.com/en/post/117200/
Of course, when we talk about programming, you need to know some things - what is computer memory, how can data be stored there and how to extract it from there, etc.
But the cycle is not a concept from programming, but in different languages it is simply implemented a little differently. And comparison and choice - also stem from ordinary life and are only embodied in languages in a special way.
So the language you are using is only a means of describing algorithms, not a necessary tool.
Tell me if it is possible to upgrade algorithms without a good knowledge of syntax, how important are algorithms in general, where they can definitely come in handy and where not, and where can they be upgraded?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question