Who's Winning? Boyer-Moore Majority Vote Algorithm Simple BreakdownLet's say we have a club with 501 members and are picking a new club leader. Let's assume you can vote for two candidates—one named A and the other named B. The majority vote is guaranteed because we have an odd number of members, and each member mus...Jul 10, 2024 · 3 min readlingyundai.hashnode.dev
All About Sorting Algorithms - Part 2 - Merge SortIn this article, we will discuss one of the main sorting algorithms that every software engineer should know: merge sort. I will explain the algorithm based on what I have learned. I hope you will learn something from the article. Let me know what yo...Jul 9, 2024 · 7 min readlingyundai.hashnode.dev
All About Sorting Algorithms - Part 1 - Insertion SortIn this article, we will discuss one of the main sorting algorithms that every software engineer should know: insertion sort. I will explain the algorithm based on what I have learned. I love to explain things in the simplest way (hopefully)! I hope ...1AJun 19, 2024 · 5 min readlingyundai.hashnode.dev