---
title: "Lin Dai (@lingyundai) | Hashnode"
description: "Software Engineer. Read the latest articles by Lin Dai on Hashnode."
url: "https://hashnode.com/@lingyundai"
---

@lingyundai

# Lin Dai

@lingyundai · United States · Joined May 2024

Software Engineer

[Website](https://lingyundai-protfolio.vercel.app/)

### [Who's Winning? Boyer-Moore Majority Vote Algorithm Simple Breakdown](https://lingyundai.hashnode.dev/whos-winning-boyer-moore-majority-vote-algorithm-simple-breakdown?utm_source=hashnode&utm_medium=feed)

Let'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.dev](https://lingyundai.hashnode.dev/whos-winning-boyer-moore-majority-vote-algorithm-simple-breakdown?utm_source=hashnode&utm_medium=feed)

[Jul 10, 2024](https://hashnode.com/posts/whos-winning-boyer-moore-majority-vote-algorithm-simple-breakdown/668ef1dc30abe2a1729020a6)

### [All About Sorting Algorithms - Part 2 - Merge Sort](https://lingyundai.hashnode.dev/all-about-sorting-algorithms-part-2-merge-sort?utm_source=hashnode&utm_medium=feed)

In 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.dev](https://lingyundai.hashnode.dev/all-about-sorting-algorithms-part-2-merge-sort?utm_source=hashnode&utm_medium=feed)

[Jul 9, 2024](https://hashnode.com/posts/all-about-sorting-algorithms-part-2-merge-sort/668d673ed9c6de2cbe42aefd)

### [All About Sorting Algorithms - Part 1 - Insertion Sort](https://lingyundai.hashnode.dev/all-about-sorting-algorithms-part-1-insertion-sort?utm_source=hashnode&utm_medium=feed)

Learn the basics of insertion sort, a stable sorting algorithm, including its time and space complexities

5 min read · [lingyundai.hashnode.dev](https://lingyundai.hashnode.dev/all-about-sorting-algorithms-part-1-insertion-sort?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/all-about-sorting-algorithms-part-1-insertion-sort/66722476bbc31c79d6507633) [Jun 19, 2024](https://hashnode.com/posts/all-about-sorting-algorithms-part-1-insertion-sort/66722476bbc31c79d6507633)
