## Sorting algorithm: fast sorting and merging

Sort Template Quick Sort and Merge Sort of Primary Records Quick sorting mainly deals with the left and right ends before recursion Merge sort is recursive first, on both the left and right ends of the process Topic Overview: Give you an integer column of length n. Please use Quick Sort to sort this column from smallest to larges ...

Posted by dspeer on Fri, 22 Apr 2022 20:02:54 +0300

## N states of prime number solution

Introduction of this issue 🍖 This paper mainly introduces how to quickly screen prime numbers, and explains in detail the N states of trial division and screening 👀. catalogue 🍖 prefaceTrial division Realm 1 (Trial Division from 2 - (n-1))Realm 2 (excluding the sum of multiples of 2)Realm 3 (Trial Division from 2 to sprt(n)) Scree ...

Posted by bdbush on Thu, 21 Apr 2022 20:42:58 +0300

## [C language] array

1, One dimensional array creation and initialization. 1. An array is a collection of elements of the same type. How to create an array: type_t arr_name [const_n]; //type_t is the element type of the index group //const_n is a constant expression that specifies the size of the array Instance of array creation: //Code 1 int arr1[1 ...

Posted by bigMoosey on Wed, 20 Apr 2022 09:43:33 +0300

## [initial stage of binary tree] first, middle and last sequence traversal + sequence traversal + basic exercises

🌌 preface This article will use vernacular and diagrams to explain the traversal of the initial order of binary tree and related exercises. Xiaobai, who is a beginner of binary tree, will see it at a glance. The addition, deletion, query and modification of ordinary binary tree is of no value. It is too troublesome to store data with i ...

Posted by Charles Wong on Tue, 19 Apr 2022 13:58:51 +0300

## C language guessing game

Hello, friends. I'm Muxi Xi. You can call me Xiaomu 💕 Author home page: Muxi Xi's personal blog home page.🎉 Series column: c language practice. 🎉 Like friends, Xiaomu likes editing and typing code every day 🤭， Lose weight and become addicted to study. It is a great honor to share what I have learned with you, make progress with you, and be ...

Posted by loci on Tue, 19 Apr 2022 03:21:05 +0300

## Force buckle 566 Remodeling matrix - C language implementation - simple questions

subject Portal In MATLAB, there is a very useful function reshape, which can reshape a matrix into another new matrix of different sizes, but retain its original data. A matrix represented by a two-dimensional array and two positive integers r and c are given to represent the number of rows and columns of the matrix to be reconstructed res ...

Posted by dipenmistry on Mon, 18 Apr 2022 15:25:30 +0300

## [II. Airplane games]

[II. Airplane game (1)] In this section, we will be in the previous section Bounce Away Complete a simple aircraft game based on the implementation. scanf controls aircraft movement We can use scanf function to detect the input, using a, s, D and W respectively To control the X and Y coordinates to realize the movement of the aircraft. ...

Posted by pablogosse on Mon, 18 Apr 2022 06:59:45 +0300

## First meet C language, C language learning 04

# preface: The codeword is not easy. Thank you for your likes, comments and collections. If you think it's OK, I hope you can pay attention to it. Thank you for watching. 🌹💖 ヾ (≥ ▽≤ *) o (refueling together) Keyword typedef typedef: as the name suggests, type definition is a type definition, which can be understood here as renamin ...

Posted by Chris16962 on Mon, 18 Apr 2022 04:17:59 +0300

## Using ePump framework to write TCP server

ePump framework based on non blocking, multithreading and event driven model can well solve the problems of complex thread scheduling and efficient communication. Using ePump framework can quickly develop various communication server systems, such as common HTTP Web server, RTMP streaming media server, timely communication message system and so ...

Posted by dniry on Mon, 18 Apr 2022 00:38:01 +0300

## String and generalized table

strand (1) String is a finite sequence of zero or more characters, also known as string. The value of a string can be a number, letter, or other character. (2) The number of characters in the string is called the length of the string, and the string with zero characters is called an empty string with a length of 0 (3) The subsequence composed o ...

Posted by abhishekphp6 on Sun, 17 Apr 2022 16:26:11 +0300