Shell Sort | Code Tuturial


The Code can be found at:

Follow me on Instagram @graphoarty as I’m super active on there if you have any follow-up questions!

HELP ME GET TO 10k Subs!

If you learned something new and w – show your boy some love.

I post about the projects I’m working on:
✔ Instagram:
✔ Twitter:
✔ Snapchat: @graphoarty


❌ Do not click this link:

I do not claim to own any of the code explained in the video unless I explicitly mention that I own the code. It is usually inspired by various websites and I have tried to make some of my own changes for the sake of this tutorial.

Send me an email or comment below if you want to be credited.


Xem thêm bài viết khác:


  1. thank you! my class is moved to online and I had no clue what my professor is teaching, you saved my life!

  2. Numerical recipes in C has code which look nice
    One of the YAHOO users showed how to generate Pratt sequence

  3. From the look of this it seems as though the big Oh is O(n logn) for best case but what about average and worst case? Is the big o O(N^2) as a result of the nested for loops?

  4. Thanks a lot, this is the video that finally made me understand Shell Sort. One of the trickiest sorting algorithm for me to grasp.

    Can you do an in depth video like this for Merge Sort as well?



Please enter your comment!
Please enter your name here