Skip to content

Instantly share code, notes, and snippets.

Will Ward willjw3

  • Tokyo, Japan
Block or report user

Report or block willjw3

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mergeSort.js
function mergeSort(array) {
if (array.length > 1) {
let mid = Math.floor(array.length / 2);
let lhs = mergeSort(array.slice(0, mid));
let rhs = mergeSort(array.slice(mid));
return merge(lhs, rhs);
} else {
return array;
View demotivation.json
"quotes": [
"quote": "Accept that you're just a product, not a gift",
"author": "Konrad"
"quote": "TEAMWORK: A few harmless flakes working together can unleash an avalanche of destruction.",
"author": "Justin Sewell"
You can’t perform that action at this time.