Skip to content

Commit

Permalink
Merge pull request #168 from hprobotic/master
Browse files Browse the repository at this point in the history
Remove comma at end of array
  • Loading branch information
kelvinlauKL authored Jul 19, 2016
2 parents ab2d1a2 + 9f96077 commit 86b2fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Merge Sort/README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Assume you're given an array of *n* numbers and you need to put them in the righ

Let's say the numbers to sort are `[2, 1, 5, 4, 9]`. This is your unsorted pile. The goal is to keep splitting the pile until you can't split anymore.

First, split the array into two halves: `[2, 1,]` and `[5, 4, 9]`. Can you keep splitting them? Yes you can!
First, split the array into two halves: `[2, 1]` and `[5, 4, 9]`. Can you keep splitting them? Yes you can!

Focus on the left pile. `[2, 1]` will split into `[2]` and `[1]`. Can you keep splitting them? No. Time to check the other pile.

Expand Down

0 comments on commit 86b2fe3

Please sign in to comment.