Answer the question
In order to leave comments, you need to log in
Is it normal to not understand the internal structure of algorithms?
Let's take the tree traversal algorithm A1 . I understand that it is used in cases B1 , B2 , B3 , faster and more economical than algorithms A2 , A3 and A4 in the same situations. I can see the implementations of C1 , C2 and implement this algorithm in the program.
However, it is not intuitively clear to me why the algorithm works the way it does. Why does he go around the branches of trees on the left, and not on the right. Why does it start from root and not from the end. Etc.
For me, this algorithm was taken from nowhere, and it just works efficiently. On my own. I will not be able to imagine the way of thinking of the author, who was able to come to this algorithm. There is no logic or pattern.
Roughly speaking, for me, A1 can be represented like this:
Input --> black box --> result.
The question is - is this normal, or not understanding the structure of the algorithm == not understanding the algorithm?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question