迹忆客 EN >

所有文章

The road to learning sorting algorithms - Hill sort

发布时间:2025/03/19 作者:JIYIK 分类:ALGORITHM

The road to learning sorting algorithms - Hill sort

Hill sort is named after the designer of the algorithm, Hill. It is an improvement of Hill on the basis of insertion sort and can be said to be a special insertion sort. Here are the properties of insertion sort: First of all, the insertion...

查看全文

Things about the singleton design pattern

发布时间:2025/03/19 作者:JIYIK 分类:ALGORITHM

The singleton design pattern is one of the most commonly used design patterns. The singleton design pattern, just by its name, you can roughly know its meaning. Single means one; instance means instance object. So a singleton has only one i...

查看全文

The road to learning sorting algorithms - merge sort

发布时间:2025/03/19 作者:JIYIK 分类:ALGORITHM

The road to learning sorting algorithms - merge sort

Let's first look at the definition of merge sort Merge sort is an effective sorting algorithm based on the merge operation. This algorithm is a very typical application of the Divide and Conquer method. Merge the ordered subsequences to obt...

查看全文

The road to learning sorting algorithms - quick sort

发布时间:2025/03/19 作者:JIYIK 分类:ALGORITHM

The road to learning sorting algorithms - quick sort

Quick sort is a sorting algorithm developed by Tony Hall. On average, sorting n items requires O(n log n) comparisons. In the worst case, O(n2) comparisons are required, but this is uncommon. In fact, quick sort is often significantly faste...

查看全文

The road to learning sorting algorithms - heap sort

发布时间:2025/03/19 作者:JIYIK 分类:ALGORITHM

The road to learning sorting algorithms - heap sort

Like other sorting algorithms, let's first look at the definition of heap sort. Heapsort : refers to a sorting algorithm designed using the heap data structure. A heap is a structure that approximates a complete binary tree and satisfies th...

查看全文

Common sorting algorithms

发布时间:2025/03/19 作者:JIYIK 分类:ALGORITHM

This article introduces several commonly used sorting algorithms in software engineering. The core codes of all sorting algorithms are introduced in "Core Codes of Common Sorting Algorithms" 1. Insertion Sort The basic idea of ​​inserti...

查看全文

The road to learning sorting algorithms - bubble sort

发布时间:2025/03/19 作者:JIYIK 分类:ALGORITHM

The road to learning sorting algorithms - bubble sort

Bubble sort is also a simple and intuitive sorting algorithm. The idea is that it repeatedly visits the sequence to be sorted, compares two elements at a time, and swaps them if they are in the wrong order. The work of visiting the sequence...

查看全文

扫一扫阅读全部技术教程

社交账号
  • https://www.github.com/onmpw
  • qq:1244347461

热门文章

热门标签

扫码一下
查看教程更方便