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
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
Getting Started With Algorithms For Budding Computer Science Engineers
This article is going to be different from a ton of articles out there on the internet. It will be different because I'm going to explain it in a way that would directly get inside of you (doesn't matter what your IQ is). I will not be going to copy-paste the definitions from books to bore you rather I would try to make you understand from the best of my knowledge. In … [Read more...] about Getting Started With Algorithms For Budding Computer Science Engineers