From a2e7e4019e5338a717f4f4b8530c4072c6c11259 Mon Sep 17 00:00:00 2001 From: George Mihov <53583283+gmihov001@users.noreply.github.com> Date: Fri, 3 Sep 2021 11:08:43 -0400 Subject: [PATCH] Replaced Spanish text in English readme Emphasized the use of .push() in this exercise. --- exercises/14-Divide-and-Conquer/README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/exercises/14-Divide-and-Conquer/README.md b/exercises/14-Divide-and-Conquer/README.md index ec3c77f1..43f43c75 100644 --- a/exercises/14-Divide-and-Conquer/README.md +++ b/exercises/14-Divide-and-Conquer/README.md @@ -1,5 +1,6 @@ # `14` Divide and conquer + ## 📝 Instructions: 1. Create a function called `mergeTwoList` that expects an array of numbers (integers). @@ -10,11 +11,12 @@ 4. If the number is even number push it to a placeholder array named `even`. -5. Then concatenate the `odd` array to the `even` array, combine them and have the function return one single array. +5. Then add the `even` array to the `odd` array, and have the function return them as one single array. + +> Remember, the `odd` array comes first and you have to append the `even` array to it. Use the `.push()` method. -> Remember, the `odd` array comes first and you have to append the `even`. -Ejemplo: +Example: ```js mergeTwoList([1,2,33,10,20,4]) @@ -25,4 +27,4 @@ mergeTwoList([1,2,33,10,20,4]) ### 💡 Hint: -+ Create empty(placeholder) variables when you need to store data. ++ Create local empty ***placeholder*** or ***auxiliary*** variables when you need to store data in a function.