Javascript Freecodecamp Algorithm #34: Implement Merge Sort

preview_player
Показать описание
Learn how to solve freecodecamp javascript algorithms in various ways! This series is up-to-date with all ES6 and beyond javascript notations

#javascript #algorithms #freecodecamp
Рекомендации по теме
Комментарии
Автор

I love the fact that you said “it’s relatively easy to implement...uh not really it’s kinda difficult to implement ...” lol keep up the good work

queenieho
Автор

This deserves more views as it was the most thorough breakdown I have seen. Been trying to wrap my head around this for a week on and off.

yaojiang
Автор

I have watched ton of videos and understood nothing out of any video but yours was great, Simple and informative explanation, what a legend

codewithmarwan
Автор

This is a great explanation, thank you, Justin!

Having a look at line 11 in the final solution code, I think it should instead be: `if (leftEl <= rightEl) {`. (So the change I'm suggesting there is from "<" to "<=".) That way this algorithm remains a stable sorting algorithm. As is, if you compare two elements that are the same value, I believe the order gets flipped.

racheljenkins
Автор

Life saver....Didnt have to go through a 2nd part of another hour long video of ...user

fadiajabeen
Автор

*Correction to what you are saying comparing the lookup speed in terms of O(n log n) or O(n^2)
Actually, O(N*log(N)) is far better than O(N^2). It is much closer to O(N) than to O(N^2)

IRLVaporwave
Автор

damn this one is a behemoth. thanks for a great explanation

mohammedamin
Автор

thanks for this video! I appreciate how thorough you are!!

cabejackson
Автор

Me encantan tus explicaciones, muchas gracias por compartir tu sabiduría. Siento el idioma, no me expreso bien en ingles, aun

MarisiverMJ
Автор

Okay, so I really like this video. It really helped me understand Merge Sort, the JS syntax made it much easier, especially with the spread at the return statement. NOW, my question is the following. HOW DO YOU HAVE THE <= combined xD *≤* I didn't know that was valid. Keep up the videos! I've seen 3 of them already, really like them.

Cyber
Автор

Love your videos ! Hate this sort haha

kristenkrofchik
Автор

I wanna help
Is this algo playlist enough for any freshers interview ? For a mern developer.

dheerajrajput
Автор

It is not sorted from least to greatest

angelochristiancabbab
Автор

Very clever solution that I have been searching for. I am glad I came across this.isCool

chahalpawanpreet
visit shbcf.ru