[problem solving report] (lesson 23) string algorithm - string segmentation
Zero, write in front
This is the 23rd day of clock in. Today's topic is a little difficult. The main knowledge points are
100 lectures on zero fundamentals of algorithms (Lecture 23) string algorithms (III) - string segmentationhttps://blog.csdn.net/WhereIsHeroFrom/article/details/1208 ...
Posted by Cogen on Fri, 12 Nov 2021 12:15:18 -0800
6. Arrays and Sorting
Catalog
1. Array base
1.1. Introducing arrays
Initial Value and Creation of 1.2 Array
1.3 Array Practice
2. Array Expansion
2.1 Custom Array Expansion
2.2 System-defined Array Expansion Method
3. Method encapsulation in arrays
3.1 References on Methods
3.2 Variable parameters
Return value of 3.3 method returns array
4. Sorting
4.1 ...
Posted by langer on Fri, 12 Nov 2021 10:15:32 -0800
1200_ Statistical issues
subject
Description
The page numbers of a book are encoded sequentially from natural number 1 until natural number n. The page numbers of a book are arranged according to common practice. Each page number does not contain an extra leading number of 0. For example, page 6 is represented by number 6, not 06 or 006. The number counting problem r ...
Posted by FatalError on Fri, 12 Nov 2021 09:14:30 -0800
NOIP-2012-J1-real problem analysis
1, Multiple choice questions
1. A. basic questions. Check the computer hardware system. The core of the computer host includes memory and processor. It will not start without memory 2. B. the queue is a first in first out linear table 3. A. basic questions, review computer knowledge 4. B. basic question. Check the binary conversion. The binary ...
Posted by iovidiu on Fri, 12 Nov 2021 07:04:57 -0800
Programming problem set
Exercises
1. Calculate the factorial of the input number Loop and recursion
(1) Recursion
public static int func1(int n){
int res = 1;
if(n==1){
return 1;
}
for (int i = 1; i <= n; i++) {
res*=i;
}
return res;
}
(2) Recursion Recursive conditions:
Recursive calls can be used to reduce the scale of the problem, and the new p ...
Posted by sujithnair on Fri, 12 Nov 2021 06:08:57 -0800
Quick sorting (radish pit filling algorithm) [must know knowledge]
Quick sort
in other words, it's called fast platoon, but it will become slow platoon under certain circumstances. OK, OK, enter the text
Fast platoon also adopts a divide and conquer strategy. The basic idea of this method is:
1. Find a base number first. I usually use the first number2. Then, the left side of the square smaller ...
Posted by exa_bit on Fri, 12 Nov 2021 02:56:02 -0800
Chapter 5 of Blue Bridge Cup algorithm competition series - depth first search (DFS)
Welcome back to: meet blue bridge, meet you, not negative code, not negative Qing!
catalogue
1, Introduction: depth first search (DFS)
2, Classic examples
Example 1. Scope and of binary search tree
Title Description
Problem solution
Code execution
Example 2. Number of islands
Title Description
Problem solution
...
Posted by homchz on Thu, 11 Nov 2021 17:35:52 -0800
The tragedy of test algorithm training
The tragedy of test algorithm training
subject
Resource constraints
Time limit: 1.0s memory limit: 512.0MB
Problem description
English preparation gzp is a funny (tu) than (hao). In order not to fail in the upcoming English quiz, gzp forgets to eat and sleep and reviews the English appendix word list, just like a human tragedy. But G ...
Posted by joyser on Thu, 11 Nov 2021 15:17:33 -0800
[algorithm thousand question case] daily LeetCode punch in - 75. String addition
📢 preface
🚀 Algorithm problem 🚀
🌲 Punching out an algorithm problem every day is not only a learning process, but also a sharing process 😜🌲 Tip: the problem-solving programming languages in this column are C# and Java🌲 To maintain a state of learning every day, let's work together to become the great God of algorithm ...
Posted by timmybuck on Thu, 11 Nov 2021 14:11:48 -0800
How to solve bracket related problems
https://labuladong.gitee.io/algo/4/32/135/
After reading this article, you can not only learn the algorithm routine, but also win the following topics on LeetCode:
20. Valid parentheses (simple)
921. Minimum addition to make parentheses valid (medium)
1541. Minimum insertion of balanced bracket string (medium)
-—–
Judge legal bracket string
T ...
Posted by Begby on Thu, 11 Nov 2021 10:42:52 -0800