Understanding the Fractional Knapsack ProblemIntroduction Have you ever been in a situation where you need to pick the best candies with a limited bag size? Imagine you’re at a candy shop, and you have a small backpack that can only carry up to 10kg. You want to grab the most delicious (and exp...Sep 13, 2024 · 5 min readrefathex.hashnode.dev
Solving Riddle of Code Efficiency: Understanding Time Complexity with ExamplesIntroduction: In the coding world, we often want to know how fast or slow our code is, especially when dealing with large amounts of data. Big-O notation is like a cheat sheet that helps us understand and compare the efficiency of different code solu...Jan 27, 2024 · 4 min readrefathex.hashnode.dev
Understanding Selection Sort: A Step-by-Step Guide with ExamplesIntroduction: Sorting is like tidying up your room, but for computers. They have different ways of doing it, and one basic method is called Selection Sort. This blog post will help you understand Selection Sort from the ground up, with easy explanati...Jan 25, 2024 · 3 min readrefathex.hashnode.dev
Let’s Explore Linked Lists: Understanding Linked Lists through TrainsIn this blog post, we will explore the concept of linked lists uniquely, their types, advantages, and common use cases. I’ll try to teach you a linked list using the train concept. Concepts of Linked List Linked lists are like digital trains carrying...Jan 11, 2024 · 6 min readrefathex.hashnode.dev