Merge and sort the first Hard problem of LeetCode (the number of the sum of LeetCode 327 intervals), Shuai

Hello, I'm Monday.We have talked about merging and sorting in recent algorithms. We'll open another one today. Two more questions.1, Greater than twice the number on the rightI'm afraid everyone will forget Merge sort , so practice with a question first.1. Title DescriptionFind the number in the given array that the current number is greater th ...

Posted by sean72 on Tue, 30 Nov 2021 07:41:28 -0800

Common algorithms of binary tree

1. Traversal of binary tree 1.1 preorder traversal Middle - > left - > right public static void preOrderRecur(Node head){ if(head == null){ return; } //Printing at the beginning is the first order traversal, printing at the middle position is the middle order traversal, and printing at the end is the second order traversal. System ...

Posted by walter8111 on Tue, 30 Nov 2021 06:58:40 -0800

[model training] ubuntu compiles Darknet and YOLO training

Welcome to my official account, reply to 001 Google programming specification.  O_o   >_<   o_O   O_o   ~_~   o_O   Hello, I'm Jizhi horizon. This paper introduces the method of compiling darknet and yolo training on ubuntu.1. Compiling darknet1.1 compiling opencv     I won't say much about the installation of cuda and ...

Posted by surajkandukuri on Tue, 30 Nov 2021 05:17:38 -0800

LeetCode notes (C language version, September)

Day Practise - 3 problems one day 2021.9.16 1 - 3 2021.9.17 4 - 6 2021.9.18 7 - 9 2021.9.19 10 - 12 2021.9.20 13 - 15 2021.9.21 16 - 18 2021.9.22 19 - 21 3h 2021.9.23 22 - 24 2h 2021.9.24 25 - 27 1h40m 2021.9.25 28 - 30 1h8m 2021.9.26 31 - 33 1h28m 2021.9.27 34 - 36 34m 2021.9.28 37 - 39 2h10m 40 - 1h4 ...

Posted by jauson on Tue, 30 Nov 2021 03:53:26 -0800

[model training] ubuntu compiles Darknet and YOLO training

Welcome to my official account, reply to 001 Google programming specification.   O_o   >_<   o_O   O_o   ~_~   o_O   Hello, I'm Jizhi horizon. This paper introduces the method of compiling darknet and yolo training on ubuntu. 1. Compiling darknet 1.1 compiling opencv   I won't say much about the installation of cuda and ...

Posted by AZDoc on Tue, 30 Nov 2021 03:30:32 -0800

Tree array to solve the number of pairs in reverse order (including introduction to tree array)

Before learning the tree array to solve the reverse pair. First, let's briefly learn about tree arrays. First, let's explore four problems. 1. What is a tree array? See the name and meaning, is to use arrays to simulate tree structures. Then another question arises, why not make achievements directly? The answer to this question is not ne ...

Posted by trassalg on Mon, 29 Nov 2021 22:04:12 -0800

PKU data structure and algorithm -- external sorting

Computer memory External memory characteristics Advantages: permanent storage capacity, portability Disadvantages: long access time Principle: minimize the number of accesses to external memory External memory data access mode It is divided into two stages: location and access External memory is divided into fixed length storage space ...

Posted by philwong on Mon, 29 Nov 2021 22:00:39 -0800

leetcode lecture on algorithm interview in Dachang 12. Heap

leetcode lecture on algorithm interview in Dachang 12. HeapVideo Explanation (efficient learning): Click to learncatalog:1. Introduction2. Time and space complexity3. Dynamic planning4. Greed5. Binary search6. Depth first & breadth first7. Double pointer8. Sliding window9. Bit operation10. Recursion & divide and conquer11 Pruning & ...

Posted by dynamicallystatic on Mon, 29 Nov 2021 20:57:55 -0800

[C + + learning] IO Library

Part II C + + standard library The core of the standard library is many container classes and a family of generic algorithms. These facilities can help us write concise and efficient programs. The standard library will pay attention to the details of bookkeeping operations, especially memory management, so that our programs can devote all thei ...

Posted by clodagh2000 on Mon, 29 Nov 2021 20:56:48 -0800

Complexity analysis of algorithm (time complexity and space complexity)

1. Algorithm complexity: The time complexity and space complexity of the algorithm are collectively referred to as the complexity of the algorithm. Time complexity: time complexity refers to the calculation workload required to execute the algorithm; Space complexity: it is a measure of the amount of storage space temporarily occupied by ...

Posted by maca134 on Mon, 29 Nov 2021 20:45:55 -0800