## CSAPP experiment record: Malloc lab

CSAPP experiment record (IV): Malloc lab This experiment requires the implementation of its own storage allocator, especially the implementation of malloc, free and realloc functions. The only document we will modify and submit is mm.c. The mdriver.c program is a driver that can evaluate the peUTF-8...

Posted by bluebyyou on Wed, 06 Oct 2021 04:10:54 +0530

## Data structure 2 - linear table - summary and sorting of knowledge points

0. Thought map of basic operation of linear table 1. What is a linear table The reason why a linear table is called a linear table is naturally because its storage form is linear. Generally speaking, for each element in the table (except the first and last element), there is only one element iUTF-8...

Posted by o3d on Thu, 07 Oct 2021 09:30:18 +0530

## C language learning - Weng Kai (Chapter 5 notes)

C language learning - Weng Kai - Chapter 5 Chapter V 5.1.1 for loop Factorial n! = 1 * 2 * 3 * 4 * 5 * ...* nWrite a program, let the user input n, and then calculate the output n!Variable: Obviously, reading the user's input requires an n of int, and then the calculation result needs to be savUTF-8...

Posted by DragonFire-N[R] on Thu, 07 Oct 2021 13:49:00 +0530

## Deep solution - Advanced pointer (Advanced C language) (10000 words long text)

preface Pointer (pointer variable) is not only one of the most powerful functions of C language, but also one of the most difficult functions. Although pointer is easy to be misused by us, its low position is unshakable. Learning pointer well can make us use C language more flexibly. Learning UTF-8...

Posted by filmixt on Thu, 07 Oct 2021 23:30:41 +0530

## Data structure and algorithm practice: linked list

Basic theory of linked list The linked list belongs to the element of linear list. Different from the sequential list, although the linked list is logically continuous, its physical storage is not necessarily continuous. Each element of the linked list is also called a node. Each node is a spaUTF-8...

Posted by gchouchou on Sat, 09 Oct 2021 13:32:25 +0530

## Dynamic open point segment tree

Pre cheese Segment tree introduce In an ordinary line segment tree, we usually open 4 N 4N 4N array to avoid out of bounds. However, in some topics, space constraints do not allow us to do so. At this time, we need to use the dynamic open point line segment tree. Dynamic open point segment treeUTF-8...

Posted by Who27 on Sat, 09 Oct 2021 14:15:27 +0530

## Detailed explanation - realize universal bubble sorting (Advanced C language)

preface When we learn a programming language, the most basic function should be the sorting function. However, once the type to be sorted changes (integer sort - > string sort), we have to rewrite the sorting of a type, which is more troublesome. So can you write a universal sorting function? UTF-8...

Posted by sunder on Sat, 09 Oct 2021 15:52:02 +0530

## [homework] [C language] Joseph Ring problem

Problem introduction Problem description A description of the Joeph problem is that n individuals numbered 1, 2,..., n sit around in a clockwise direction, and each holds a password (positive integer). At the beginning, select any positive integer as the upper limit value of M, start from the UTF-8...

Posted by hem.bhatt1787 on Sat, 09 Oct 2021 16:02:49 +0530

## D-OJ topic brushing diary: chain storage structure and operation of linear table topic No.: 455

Please define a linked list. You can "insert some elements before an element", "delete elements at a certain position", "find an element", "get elements at a certain position", "traverse and output all elements", "find the length of the linked list", etc. Enter some commands from the keyboard UTF-8...

Posted by gaspower on Sat, 09 Oct 2021 18:26:50 +0530

## Basic concepts of &lt;C and Pointer &gt;|[02], eBooks are free!!!!

Preface The following exercises were arranged while reading the basic concepts in Chapter II of "C and Pointer", for your reference only. If there are any errors, I hope to point out in the commentary area, thank you.😁😊 1.Comments do not allow concatenation in C. What happens when a statementUTF-8...

Posted by alcedema on Sat, 09 Oct 2021 22:48:40 +0530