• Skip to main content
  • Skip to primary sidebar
BMA

BeMyAficionado

Inspire Affection

Let’s Do Iterative Merge Sort After A Hectic Day At Office

June 27, 2021 by varunshrivastava Leave a Comment

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 energy in me. Because I’m the kind of guy who gets bored very quickly if there’s nothing new to do.

And just to keep me sane, I’ve started a youtube channel. It’s just for the hobby. After all, I need to do something else apart from my work. Not only this… There is a reason why I chose to start a youtube channel. That’s because I got interested in filmmaking. People who know me probably be laughing… and I’m totally cool with that because I was also laughing the other day when I spent 3 hours editing a video that doesn’t even have that many clips 😆. And after editing my first video (which has nothing to do with film-making at all) I got to know that it’s not easy.

Being creative is a mindset.

You get to take your mind off completely from other stuff and immerse yourself into it. it’s more like writing. Putting up your thoughts on a piece of paper, or in this modern world, a computer screen. So I started a youtube channel because I wanted to teach myself editing. Editing quickly and making it interesting.

Also, a very popular YouTuber once said – Film is made twice — The first time shooting and the second time in the editing. And editing plays a bigger role when it comes to conveying a story.

I don’t know why I’m writing all this here. Because this article is about Iterative Merge Sort — But also about sharing my youtube video 🧐

Let’s start with that.

Merge Sort

This algorithm is amazing. This was the first algorithm that got me interested in the world of… algorithms. Well, my vocab is poor. Bare with me. Feelings ko samjho.

This is a very neat algorithm to understand the divide and conquer strategy. You take a big array and then you break it in half. Then you break both the halves into another half and you continue to do so until you have reached the last element.

A perfect place to implement the recursion.

But we are not going to do it recursively, we will do it iteratively.

Not because I can’t do it recursively (well now when I think about it, I don’t know, haven’t tried it from a long time) but because you will find a ton of articles out there doing the same thing via recursion.

We will do it iteratively, also known as Bottom up Merge Sort.

Bottom Up Merge Sort Visualize
Look at this beauty 😍

And I will not explain anything here. Because then you will not watch my video… and I want you to watch that video… and not just watch that video but also to subscribe my channel. Haha… But seriously, just do it, support this poor boy.

But I won’t just leave you with the video. I know some of you just want the code. So, just take it.

I hope it helps.

And don’t forget to subscribe the channel. There’s a lot more to come in the future. And trust me it won’t just be about programming.

Last but not least… this is just a hobby channel, I really don’t expect an audience through this — but still it would be great if you subscribe it and show some support and share some feedback… make it brutal… will be very useful for some of the other projects that I’m working on right now.

Till then,

hejdå

Related

Filed Under: Blogging, Programming Tagged With: algorithms, bottom-up, elementary sorting algorithms, iterative, merge sort

Primary Sidebar

Subscribe to Blog via Email

Do you enjoy the content? Feel free to leave your email with me to receive new content straight to your inbox. I'm an engineer, you can trust me :)

Join 874 other subscribers

Latest Podcasts

Recent Posts

  • Is The Cosmos a Vast Computation?
  • Building Semantic Search for E-commerce Using Product Embeddings and OpenSearch
  • Leader Election with ZooKeeper: Simplifying Distributed Systems Management
  • AWS Serverless Event Driven Data Ingestion from Multiple and Diverse Sources
  • A Step-by-Step Guide to Deploy a Static Website with CloudFront and S3 Using CDK Behind A Custom Domain

Recent Comments

  • Varun Shrivastava on Deploy Lambda Function and API Gateway With Terraform
  • Vaibhav Shrivastava on Deploy Lambda Function and API Gateway With Terraform
  • Varun Shrivastava on Should Girls Wear Short Clothes?
  • D on Should Girls Wear Short Clothes?
  • disqus_X5PikVsRAg on Basic Calculator Leetcode Problem Using Object-Oriented Programming In Java

Categories

  • Blogging
  • Cooking
  • Fashion
  • Finance & Money
  • Programming
  • Reviews
  • Software Quality Assurance
  • Technology
  • Travelling
  • Tutorials
  • Web Hosting
  • Wordpress N SEO

Archives

  • November 2024
  • September 2024
  • July 2024
  • April 2024
  • February 2024
  • November 2023
  • June 2023
  • May 2023
  • April 2023
  • August 2022
  • May 2022
  • April 2022
  • February 2022
  • January 2022
  • November 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016

Tags

Affordable Hosting (4) algorithms (4) amazon (3) aoc-2020 (7) believe in yourself (4) best (4) database (4) earn money blogging (5) education (4) elementary sorting algorithms (4) experience (3) fashion (4) finance (6) Financial Freedom (7) food (7) friends (3) goals (5) google (5) india (10) indian cuisine (5) indian education system (4) java (16) life (16) life changing (4) love (4) make money (3) microservices (9) motivation (4) oops (4) podcast (6) poor education system (4) principles of microservices (5) problem-solving (7) programmer (5) programming (28) python (5) reality (3) seo (6) spring (3) success (10) success factor (4) technology (4) top 5 (7) typescript (3) wordpress (7)

Copyright © 2025 · Be My Aficionado · WordPress · Log in

Go to mobile version