Skip to content

Commit 22465b3

Browse files
authored
Merge pull request #43 from gmihov001/patch-16
Replaced Spanish text in English readme
2 parents 4071440 + a2e7e40 commit 22465b3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

exercises/14-Divide-and-Conquer/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# `14` Divide and conquer
22

3+
34
## 📝 Instructions:
45

56
1. Create a function called `mergeTwoList` that expects an array of numbers (integers).
@@ -10,11 +11,12 @@
1011

1112
4. If the number is even number push it to a placeholder array named `even`.
1213

13-
5. Then concatenate the `odd` array to the `even` array, combine them and have the function return one single array.
14+
5. Then add the `even` array to the `odd` array, and have the function return them as one single array.
15+
16+
> Remember, the `odd` array comes first and you have to append the `even` array to it. Use the `.push()` method.
1417
15-
> Remember, the `odd` array comes first and you have to append the `even`.
1618

17-
Ejemplo:
19+
Example:
1820

1921
```js
2022
mergeTwoList([1,2,33,10,20,4])
@@ -25,4 +27,4 @@ mergeTwoList([1,2,33,10,20,4])
2527

2628
### 💡 Hint:
2729

28-
+ Create empty(placeholder) variables when you need to store data.
30+
+ Create local empty ***placeholder*** or ***auxiliary*** variables when you need to store data in a function.

0 commit comments

Comments
 (0)