Leetcode Breakdown in C: Merge Sorted Array

Today, we’re going to go through a LeetCode coding challenge. We’ll visit the LeetCode website and do the LeetCode 88: Merge Sorted Array coding challenge. I’ll write the code in C, and you’ll get to see the breakdown of my thought process as I tackle this challenge.

If you’re unfamiliar with LeetCode, it’s an online platform offering coding challenges that typically take between half an hour to an hour. These challenges provide valuable training in implementing algorithms and solving common coding problems. Additionally, they are beneficial for preparing for software job interviews, where you might encounter similar challenges. By practicing LeetCode coding challenges, you’ll be well-prepared for these interviews.

In this coding challenge, I’ll also provide a bonus by going over a simple sorting algorithm—Bubble Sort. It’s an algorithm that is easy to understand and was one of the first algorithms I learned in university. If you’re not familiar with Bubble Sort, stay tuned, as I’ll cover it in this video.

In this video, you’ll learn:
✅ where to find practice coding challenges
✅ how to tackle LeetCode’s “Merge Sorted Array” challenge
✅ the bubble sorting algorithm

Thank you for watching, and happy coding! 💻🧡
-Henrik