posted 7 years ago
Based on my understanding of shell sort, this must be working, but it isn't. (I started writing this code before googling shell sort pseudo codes, and just wrote it based on the logic i perceive.)
Been debugging it for a few hours now. Can't tell what's going wrong.
Tell me if my code "looks" bad. I care.
https://medium.com/@sinameraji/
If you ever look at my code and think the question I'm asking isn't the right question to ask, tell me.