mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): remove first person language from merge sort workshop (#67399)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ The merge sort algorithm mainly performs three actions:
|
||||
- Sort the items in the sub-parts
|
||||
- Merge the sorted sub-parts
|
||||
|
||||
The above happens recursively until the sub-parts are merged into the complete sorted sequence. Let's start by dividing the sequence.
|
||||
The above happens recursively until the sub-parts are merged into the complete sorted sequence. Start by dividing the sequence.
|
||||
|
||||
First, replace the `pass` keyword with a variable `middle_point`. Use the integer division operator (`//`) to divide the length of the `array` list by 2 and assign the result to your new `middle_point` variable. Remember to indent your code.
|
||||
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ The merge sort algorithm performs three actions:
|
||||
- Sort the items in the sub-parts
|
||||
- Merge the sorted sub-parts
|
||||
|
||||
The above happens recursively until the sub-parts are merged into the complete sorted sequence. Let's start by dividing the sequence.
|
||||
The above happens recursively until the sub-parts are merged into the complete sorted sequence. Start by dividing the sequence.
|
||||
|
||||
First, replace the `pass` keyword with a variable `middle_point`. Use the integer division operator (`//`) to divide the length of the `array` list by 2 and assign the result to your new `middle_point` variable. Remember to indent your code.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user