Lately, my days are passing in a snap. I'm working more than 10 hours a day without break. And not because someone is forcing me to but because the work is so interesting. Almost everything around me is new and I really can't stop absorbing the essence of it all. Today was one such day. I was quite busy from the start. I don't know how long can I keep up this positive … [Read more...] about Let’s Do Iterative Merge Sort After A Hectic Day At Office
elementary sorting algorithms
Selection Sort Is A Good Way To Get Started With Algorithms
Lately I have been coming across posts and questions on the forums asking how to learn programming quickly. This question is pretty vague but shows an intent that the person is looking for guidance on how to start on a path to becoming a software developer that would probably become a full-time career. And if that is the case then I would recommend you to start with any … [Read more...] about Selection Sort Is A Good Way To Get Started With Algorithms
QuickSort – Understanding the QuickSort Algorithm and Implementation
QuickSort algorithm is a brilliant idea of Tony Hoare. This algorithm is so effective that if implemented well, it can be 2x or 3x faster than its competitors merge sort and heap sort. I personally like quick sort algorithm because of its simplicity and speed. But I'm surprised to see that so many people get confused with quick sort algorithm. But worry not, because I … [Read more...] about QuickSort – Understanding the QuickSort Algorithm and Implementation
Time Complexity Comparison Sheet Of Elementary Sorting Algorithms
It is always good to sharpen your blade from time to time. Data structures and algorithms is my sword. Recently, I visited all the elementary sorting algorithms. And it is always fun to understand the complexity and mindset behind it. This time I thought of writing a small program to run all the algorithms against a variable set of inputs to generate the time complexity … [Read more...] about Time Complexity Comparison Sheet Of Elementary Sorting Algorithms