[algorithm - Primary - array] delete duplicate items in the sorting array (implemented in multilingual version)
[algorithm - Primary - array] delete duplicate items in the sorting array (implemented in multilingual version)πΆ Blog description and thanksπππ Part of the information involved in this article comes from the Internet, including my personal summary and views. The purpose of sharing is to build a community and consolidate myself.πππ If t ...
Added by mb81 on Tue, 11 Jan 2022 18:24:54 +0200
Binary sort tree code implementation
1. Analyze the characteristics of elements in binary sort tree
The binary sort tree must ensure that the elements can be compared in size
How to ensure that elements can be compared in size?
Implement comparator interface
- implement the Comparable interface and rewrite the compareTo method -- internal comparator
- implement Comparator int ...
Added by Res on Tue, 11 Jan 2022 16:59:15 +0200
[strange cup. Blue bridge on cloud - algorithm training camp] week 1
1. Running training
Problem description Xiao Ming wants to do a running training. At the beginning, Xiao Ming is full of physical strength, and the physical strength value is 10000.
If Xiao Ming runs, he will lose 600 physical strength per minute. If Xiao Ming has a rest, he will increase his physical strength by 300 per minute. The loss and ...
Added by Ironmann00 on Tue, 11 Jan 2022 16:20:07 +0200
Search exercises
search
1, Eight queens Checker Challenge
One of the following 6 \times 66 Γ In the checkers board of 6, six pieces are placed on the board so that there is and only one piece in each row and column, and there is at most one piece on each diagonal (including all parallel lines of the two main diagonals). The above layout can be described ...
Added by ghazianibros on Tue, 11 Jan 2022 04:32:33 +0200
You've figured out the prime
π Author: Linux ape
π Introduction: CSDN blog expert ποΌ Huawei cloud sharing expert ποΌ Linux, C/C + +, cloud computing, Internet of things, interview, question brushing and algorithm. Please consult me, pay attention to me and chat privately if you have any questions!
Β π Attention column: attention π₯ Β University algorit ...
Added by impulse() on Tue, 11 Jan 2022 01:27:43 +0200
Implementation of bubble sorting and binary search in java language
Bubble sort: bubble sort exchanges the elements in reverse order in the pairwise comparison of each trip. Each time, two adjacent elements are compared, and the exchange also occurs between the two elements. Therefore, if two elements are equal, they will not be exchanged again; If two equal elements are not adjacent, even if they are adjacent ...
Added by LordRogaine on Mon, 10 Jan 2022 15:16:54 +0200
8 data structure and algorithm
Data structure and algorithm
1. Basic knowledge
1. Relationship between data
Logical structure: it refers to the relationship between data elements, which is imagined by us and is not substantially stored in the computer. β Linear structure: there is a one-to-one relationship between data elements in a linear structure Tree structure: the ...
Added by zuperxtreme on Mon, 10 Jan 2022 13:09:52 +0200
Detailed explanation of data structure lookup table (including common lookup algorithms)
**
1. What is a lookup table
** In daily life, we have to do some searching work almost every day, looking up someone's phone number in the phone book; Find a specific file in the folder of the computer, and so on. This section mainly introduces the data structure used for lookup operation - lookup table.
A lookup table is a collection of da ...
Added by zedd2006 on Mon, 10 Jan 2022 08:21:42 +0200
Crystal's [starch cup Β· blue bridge on cloud - algorithm training camp] week 1 assignment
First week of Blue Bridge Cup preparation
Question 1: running training
Problem description Xiao Ming wants to do a running training. At the beginning, Xiao Ming is full of physical strength, and the physical strength value is 10000.
If Xiao Ming runs, he will lose 600 physical strength per minute. If Xiao Ming has a rest, he will increase hi ...
Added by AndyB on Mon, 10 Jan 2022 07:27:11 +0200
Daily practice (day01)
preface
Today is the first day, so let's simply send it to the topic to play, not for anything else, just for pleasure. Although this is a simple topic, I didn't expect that I didn't pay attention to several variables. I was stunned and adjusted for a long time. You should be more careful.
Sum of two numbers
Given an integer array num ...
Added by johnnycsh on Mon, 10 Jan 2022 07:23:16 +0200