High precision algorithm

  catalogue 1. High precision realization of the n-th power of 2 2. High precision factorial  3. High precision addition 4. High precision subtraction 5. High precision multiplication 6. High precision factorial and 7. High precision calculation sequence and 1. High precision realization of the n-th power of 2 Corresponding li ...

Added by Wetzut on Sun, 06 Feb 2022 23:40:56 +0200

Chapter 7, learning notes

A Graph is composed of a finite non empty set of vertices and a set of edges between vertices. It is usually expressed as: G(V,E), where g represents a Graph, V is the set of vertices in Graph G, and E is the set of edges in Graph G. Graph is a more complex data structure than linear table and tree. In the graph structure, the relationship bet ...

Added by LLeoun on Sun, 06 Feb 2022 23:13:55 +0200

Toothless world

Write before: 1. This code cannot pass OJ, even if you use the code accepted in 2016, OJ still cannot pass; 2. This code is output in strict accordance with the format of sample output. There is no newline after the last line is unknown, resulting in bloated code. If you don't care about the format, you can delete 2 / 3 of the output code; De ...

Added by covert215 on Sun, 06 Feb 2022 23:12:05 +0200

Learn CSS selector, read this article is enough (nearly 20000 words in detail)

Long time no see, I miss you very much! hello everyone! I'm breeze Yangyang. Today's article is to talk to you about CSS selectors in detail. I hope you can gain something after reading them. Then my hard codewords are worth it. If you have the greatest motivation to lose and like your creation, I might as well continue to support you. The nex ...

Added by Topsy Turvey on Sun, 06 Feb 2022 21:47:32 +0200

[on data structure] basic concept and function implementation of heap (full binary tree) (with source code)

1. Concept of reactor 1.1 definitions If there is a key set K = {k0, k1, k2,..., kn-1}, all its elements are stored in a one-dimensional array in the order of complete binary tree, and meet the following requirements: ki < = k2i + 1 and Ki < = k2i + 2, it is called small heap (or large heap). The heap with the largest root node i ...

Added by abselect on Sun, 06 Feb 2022 21:20:38 +0200

Algorithm brush questions [Luogu P1185] to draw binary tree

Whimsical journey: my original blog is completely knocked by hand, absolutely not carried, and there can be no repetition in the whole network; I don't have a team, I only share it for technology lovers, and all the content doesn't involve advertising. All my articles are only published in CSDN and personal blog (must be the domain name of fant ...

Added by snorcha on Sun, 06 Feb 2022 20:07:37 +0200

LeetCode 71 Biweekly Contest

Broken thoughts It was absent-minded because the game started ten minutes after the start of all sorts of things. Because of the last rush to brush rankings, the mood is very urgent, ideas are not sorted out on the code As a result, only the first three questions are AC ed, and the last one is really in no mood 5984. Minimum sum of four dig ...

Added by kingleo on Sun, 06 Feb 2022 19:25:33 +0200

Link Cut Tree App Three

February 06, 2022, 17th 1. Title Link: P2542 [AHOI2005] Route Planning Ideas: L C T LCT LCT Plus Set Solution, Time Complexity O ( ...

Added by rash on Sun, 06 Feb 2022 19:11:23 +0200

Two dimensional array of "100 lectures on zero basis of algorithm"

catalogue Lesson 3 matrix 1, Knowledge points 2, Title 1. Total assets of richest customers 2. Special position in binary matrix 3. Flip the image 4. Rotate the image 5. Transpose matrix 6. Convert one-dimensional array into two-dimensional array 7. Judge whether the matrix is consistent after rotation 8. Two dimensional network migr ...

Added by Dustin013 on Sun, 06 Feb 2022 08:54:09 +0200

Hierarchical tree building and traversal of C + + binary tree

Summary Traversal: left and right roots first; Middle order traversal: left root right; Post order traversal: left and right roots.If you select a hierarchy to build a tree, you need a chained queue to assist the implementation (specify, don't ask why).The specific operation process of the auxiliary queue (key understanding): the data field p ...

Added by ccooper on Sun, 06 Feb 2022 05:35:49 +0200