Algorithm analysis and Design -- the basis of algorithm problem solving

1, Experimental purpose 1. Be familiar with the integrated development environment of C/C + + language; 2. Master the concept of algorithm; 3. Understand the problem solving method; 4. Understand the idea of recursion and learn to write recursion. 2, Experimental principle algorithm An algorithm is a description of the steps of solving a spe ...

Posted by Sera on Sat, 22 Jan 2022 16:34:08 +0100

R language principal component analysis PCA spectral decomposition, singular value decomposition SVD prediction analysis of athlete performance data and dimensionality reduction visualization

Original link: http://tecdat.cn/?p=25067 This paper describes how to} perform principal component analysis (PCA) using R. You will learn how to} use PCA_ Forecast_ New individual and variable coordinates. We will also provide_ PCA results_ The theory behind it.There are two general methods to perform PCA in R:_ Spectral decomposition_ , check t ...

Posted by merebel on Sat, 22 Jan 2022 16:20:18 +0100

Educational Codeforces Round 121 (Rated for Div. 2)A-C problem solution

Blog home page: https://blog.csdn.net/qq_50285142Welcome to praise 👍 Collection ⭐ , attention ❤ Leaving a message. 📝 Please correct any errors 🎈 Click to receive a large number of learning resources 🎈 A. Equidistant Letters A string that requires equal distances between the same letters and rearranges them Find the same letters ...

Posted by mooshuligan on Sat, 22 Jan 2022 12:52:07 +0100

BUPT 2021 autumn calculation introduction eighth experiment

BUPT 2021 autumn calculation introduction eighth experiment Recursive evaluation one Experiment 6_ 1_ Recursive evaluation I (100 points) Existing function f(n), n is an integer greater than or equal to 0. f(n) = 0 when n is equal to 0, f(n)=f(n-1) +n when n is greater than 0 3 Note: this problem requires recursive solution, and global varia ...

Posted by NoReason on Sat, 22 Jan 2022 10:46:18 +0100

The nearest common ancestor of the binary tree of sword finger offer

Words written before: Sword finger offer brushes the questions for the second time. I hope each question can last for seconds. Record your understanding of the topic from the back to the front. Nearest common ancestor of binary tree Problem description problem analysis Nearest common ancestor: according to the definition of encyclopedia, ...

Posted by evaoparah on Sat, 22 Jan 2022 10:24:03 +0100

Find the maximum and minimum values of the array

Find the maximum and minimum values of the array In the program, we often use an array (list) to store a given linear sequence (such as {1,2,3,4}), so how to find the maximum or minimum value in the array (sequence)? There are many algorithms for finding the maximum or minimum value in an array (sequence). Next, we take the {3,7,2,1} sequence ...

Posted by Arbitus on Sat, 22 Jan 2022 09:41:58 +0100

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