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.