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...3 min read·lingyundai.hashnode.devJul 10, 2024
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...7 min read·lingyundai.hashnode.devJul 9, 2024
All About Sorting Algorithms - Part 1 - Insertion SortLearn the basics of insertion sort, a stable sorting algorithm, including its time and space complexities5 min read·lingyundai.hashnode.dev1AJun 19, 2024