Notes on brush questions of sword finger Offer

Mind map remarks: Most of the questions and solutions of the sword finger Offer are the crystallization of the leaders in the solution area. They are only used for personal learning Positive sequence Edition 03 duplicate number in array Title: find duplicate numbers in the array. All numbers in an array num of length n are in the ra ...

Posted by alecapone on Sat, 22 Jan 2022 08:40:18 +0100

Design and Simulation of two-dimensional path planning algorithm based on particle swarm optimization

catalogue 1 particle swarm optimization 2 two dimensional environment modeling 3 path planning 3.1 initialization 3.2 fitness function  ​3.3 simulation results 1 particle swarm optimization yes Particle swarm optimization The summary is as follows: particle swarm optimization algorithm is a population-based search process, in whic ...

Posted by mvidberg on Sat, 22 Jan 2022 07:22:45 +0100

OI linear algebra - matrix

OI linear algebra - matrix This chapter only discusses linear algebra in OI. For too advanced knowledge of linear algebra, please refer to other textbooks. Matrix and vector Matrix is a mathematical concept, which corresponds to a two-dimensional array in a computer. For example: A ...

Posted by jamfrag on Sat, 22 Jan 2022 05:48:41 +0100

NOJ-Python programming assignment of Northwest University of technology 31-40

Northwest University of technology NOJ-Python programming problem set: Noj Python Programming: Season 1: season 1-easy (1-10) Noj Python Programming: Season 2: Season 2 snippet (11-20) Noj Python Programming: Season 3: season 3-loop (21-30) NOJ-Python programming: Season 4: enumeration algorithm (31-40) NOJ-Python programming: Season 5: modular ...

Posted by ypkumar on Sat, 22 Jan 2022 05:21:27 +0100

Niuke IOI week 27 - popularity group

A. Little H's kitten Title Link meaning of the title Take the x-axis and y-axis as the wall, the origin as the corner, and the kitten is in the corner. Give several points to find out whether the kitten can be surrounded in the corner with the fence around the point, and find the shortest total length of the fence thinking 1. A sim ...

Posted by coja1 on Sat, 22 Jan 2022 04:52:09 +0100

HiveSql interview question 29 -- find the maximum number of people online and the peak time period [accumulator idea, timing analysis]

catalogue 0 demand analysis 1 data preparation 2 data analysis 3 Summary 0 demand analysis The data is the anchor ID,stt represents the start time and edt represents the next time. idsttedt10012021-06-14 12:12:122021-06-14 18:12:1210032021-06-14 13:12:122021-06-14 16:12:1210042021-06-14 13:15:122021-06-14 20:12:1210022021-06-14 15:12:12 ...

Posted by Mzor on Sat, 22 Jan 2022 04:45:39 +0100

OpenCV53: Image Denoising

target In this chapter, you will learn Nonlocal mean denoising algorithm for removing noise in imageLearn different functions cv2.fastNlMeansDenoising()cv2.fastNlMeansDenoisingColored()cv2.fastNlMeansDenoisingMulti()cv2.fastNlMeansDenoisingColoredMulti() theory In the previous chapters, we have seen many image smoothing techniques, such ...

Posted by ICKelly on Sat, 22 Jan 2022 02:59:50 +0100

Machine learning notes 2 -- K-nearest neighbor method and kd tree

1. Theoretical part 1.1 K nearest neighbor method 1. k k k-nearest neighbor method is a basic and simple classification and regression method. k k The basic method of k-nearest ...

Posted by sixdollarshirt on Sat, 22 Jan 2022 02:37:44 +0100

[data structure and algorithm] - time complexity and space complexity

Algorithm efficiency Measuring the quality of an algorithm depends on the efficiency of the algorithm, and the efficiency of the algorithm is measured by two dimensions of time and space, namely time complexity and space complexity. Time complexity mainly measures the speed of an algorithm, and space complexity measures the additional spac ...

Posted by hayw0027 on Fri, 21 Jan 2022 23:33:27 +0100

[platinum sulfide] central cities and towns

Central town problem Problem solution In essence, it is a very classic long chain dissection dp problem. We can remember d p u , i ...

Posted by Chafikb on Fri, 21 Jan 2022 20:23:06 +0100