JIYIK CN >

Current Location:Home > Learning >

All

Unicode character set and UTF-8, UTF-16, UTF-32 encoding

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Unicode character set and UTF-8, UTF-16, UTF-32 encoding

ASCII Code In the early days of computing, ASCII codes were used to represent characters. The English language only has 26 letters and a few other special characters and symbols. The following table is an ASCII code comparison table contain...

Full

Base64 encoding pitfalls: ID card number fuzzy query

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

First, I will dig out the pits I encountered in the project. In our project, there is such a requirement that the user's ID number cannot be stored in plain text when it is stored in the database. In view of such a requirement, it is natura...

Full

My understanding of the Paxos algorithm

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

My understanding of the Paxos algorithm

In a distributed system, a core issue is data consistency. Therefore, the consistency algorithm is of utmost importance in a distributed system. The Paxos algorithm is designed to solve the consistency problem, but it has always been consid...

Full

Distributed thinking in Memcached

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Distributed thinking in Memcached

Memcached is known as a high-performance distributed cache system. Speaking of distribution, Memcached is worth analyzing. Its distribution mechanism is different from that of general distributed service systems. In distributed service syst...

Full

PHP finds the common prefix of multiple strings [Case]

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

This article shares with you the application of a small algorithm - finding the common prefix of a string array: array ( 'abcdefg' , 'abcdfio' , 'abcdqle' ) In the above array string, the common prefix is ​​'abcd'. The first thing that...

Full

The road to learning sorting algorithms - Radix Sort (MSD)

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

In the article "Radix Sort (LSD)" , we explained the concept and efficiency analysis of radix sort. We will not repeat it in this article. You can refer to that article to get a general understanding of the idea of ​​radix sort. Next, w...

Full

Learning the Sorting Algorithm - Radix Sorting (LSD)

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Radix Sort : It is a non-comparative integer sorting algorithm. The basic principle of radix sorting is to group integers according to the number of digits in the integer. In the grouping process, the missing digits are filled with 0. Accor...

Full

Core code of commonly used sorting algorithms

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

In the article "Common Sorting Algorithms", we briefly introduced the ideas and implementation steps of various sorting algorithms. In this article, I will share the core codes of these sorting algorithms with you. The complete code of all...

Full

The road to learning sorting algorithms - bubble sort

Publish Date:2025/03/19 Author:JIYIK Category: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...

Full

The road to learning sorting algorithms - selection sort

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

The road to learning sorting algorithms - selection sort

Selection sort is a simple and intuitive sorting algorithm. Its basic idea is to select a maximum (or minimum) element in an unsorted sequence and put it at the end (note: this is the end of the unsorted sequence, which can be considered as...

Full

Common sorting algorithms

Publish Date:2025/03/19 Author:JIYIK Category: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...

Full

The road to learning sorting algorithms - heap sort

Publish Date:2025/03/19 Author:JIYIK Category: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...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial