Day 19: dynamic memory management
Today's learning effect is unsatisfactory. I interrupt from time to time and only learn a little content. I use the structure to make the address book and optimize the address book with the knowledge of dynamic memory allocation. It seems that one mind and two uses are also a skill worth mastering.
1. Why is there dynamic memory allocation
...
Posted by Horizon88 on Wed, 16 Feb 2022 13:03:41 +0100
2022-02-16 swipe questions and punch in every day
1, ACWing:900 Integer partition
(1) Problem description
A positive integer nn can be expressed as the sum of several positive integers, such as: n=n1+n2 +... + nkn=n1+n2 +... + nk, where n1 ≥ n2 ≥... ≥ nk,k ≥ 1n1, n1 ≥ n2 ≥... ≥ nk,k ≥ 1.
We call such a representation a partition of positive integer nn.
Now, given ...
Posted by Formula on Wed, 16 Feb 2022 12:59:32 +0100
Using C# to explore different machine learning tasks in ML.NET
catalogue
What is ML.NET?
Install ML.NET
Tasks that support automatic ML
Binary classification
Multi category classification
regression
recommend
ranking
Other solution types
Forecast time series data
clustering
anomaly detection
image classification
Object detection
conclusion
What is ML.NET?
ML.NET is Microsoft's open s ...
Posted by Jenling on Wed, 16 Feb 2022 12:11:26 +0100
Write a calculator in Python
Source code in python learning exchange q group: 733089476
preface
There are two common computing AIDS. One is the abacus invented by the ancients, and the other is the calculator invented by our modern people. Compared with the abacus, the calculator is better than the abacus in terms of convenience and computing speed. In this paper, we use ...
Posted by Rojay on Wed, 16 Feb 2022 12:06:03 +0100
Using OpenYurt to manage WasmEdge | lightweight edge computing solution
OpenYurt, Vivian Hu (WasmEdge)
Edge calculation It is a distributed application architecture that places computing resources (such as CPU and storage) close to the data source. In this way, it provides low latency, high performance and strong security for various applications.
However, similar to cloud computing in data center, edge computi ...
Posted by timcapulet on Wed, 16 Feb 2022 12:02:58 +0100
Concurrent programming 5: detailed explanation of the underlying principle of java Concurrent thread pool and source code analysis
Detailed explanation of the underlying principle and source code analysis of java Concurrent thread pool
Performance comparison between thread and thread pool
The first part analyzes Java threads. Now let's analyze the java thread pool. Before analyzing the thread pool, let's think about whether the more threads we create, the better. Obv ...
Posted by Jay2391 on Wed, 16 Feb 2022 12:01:10 +0100
Enhancing Kubernetes network security with Cilium
TL;DR
In this article, we use Kubernetes' native network strategy and Cilium's network strategy to realize the isolation of Pod network level. The difference is that the former only provides the network strategy based on L3/4; The latter supports L3/4 and L7 network policies.
Improving network security through network strategy can greatly r ...
Posted by AQHost on Wed, 16 Feb 2022 11:50:17 +0100
30 - design principles and design patterns
Design principles and design patterns
Common design principles----------------------------------------
Software development process: requirements analysis document, outline design document, detailed design document, coding and testing, installation and debugging, maintenance and upgrading
Common design principles---------------------------- ...
Posted by fitchn on Wed, 16 Feb 2022 11:42:02 +0100
Sequence traversal of binary tree
1. Sequence traversal
Sequence traverses a binary tree. It is to traverse the binary tree layer by layer from left to right. In order to realize sequence traversal, we need to use an auxiliary data structure, namely queue. Queue first in first out conforms to the logic of layer by layer traversal, while stack first in last out is suitab ...
Posted by matt_4013 on Wed, 16 Feb 2022 11:09:54 +0100
Operating system learning notes - semaphore related problems
prefaceLearning the operating system and taking notes.(add the types of problems related to semaphores and solutions) reference material:
Operating system (essence and design principles, 6th Edition)
Royal postgraduate entrance examination: 2019 Kingway postgraduate entrance examination operating system_ Beeping beeping beeping beeping beepin ...
Posted by WebGeek182 on Wed, 16 Feb 2022 10:40:03 +0100