Update article.md
fixed typo
This commit is contained in:
parent
07784d8cfa
commit
ca85093181
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ As we can see, when our function gets a department to sum, there are two possibl
|
||||||
|
|
||||||
The 1st case is the base of recursion, the trivial case, when we get an array.
|
The 1st case is the base of recursion, the trivial case, when we get an array.
|
||||||
|
|
||||||
The 2nd case when we gen an object is the recursive step. A complex task is split into subtasks for smaller departments. They may in turn split again, but sooner or later the split will finish at (1).
|
The 2nd case when we get an object is the recursive step. A complex task is split into subtasks for smaller departments. They may in turn split again, but sooner or later the split will finish at (1).
|
||||||
|
|
||||||
The algorithm is probably even easier to read from the code:
|
The algorithm is probably even easier to read from the code:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue