[small Y learning algorithm] ⚡ Daily LeetCode punch in ⚡ ️——3. Longest substring without duplicate characters

📢 preface 🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌻🌲 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 wo ...

Added by thines on Tue, 04 Jan 2022 11:55:47 +0200

[Python tutorial] Chapter 07 string of basic data types

In this article, we will learn the concept of Python string and its basic operation. Python string A string is a sequence of characters. In Python, the content in quotation marks is a string. Quotation marks can be single quotation marks or double quotation marks. For example: message = 'This is a string in Python' message = "This is als ...

Added by jdog on Mon, 03 Jan 2022 10:25:38 +0200

Homework: File typesetting (text file reading and writing)

[problem description] The list of actors in English films is usually typeset and displayed in some way. Given an unformatted file listin Txt, the list of participants in each line of the file is separated into two parts by a colon "ldquo:rdquo", but the format is messy. Words (composed of characters other than spaces and horizontal t ...

Added by cleromancer on Mon, 03 Jan 2022 07:54:37 +0200

[string special session] can only use library functions? The interviewer asked me to go out and turn left

⭐ Introduction ⭐ ️ Hello, everyone. I'm an executive. Today we bring you a set of special training on string processing. No matter you are studying or working, you must have a lot of contact with string. If you deal with string at ordinary times, you must use library functions directly. After all, there are many library functions for strings. ...

Added by Ferdog on Sun, 02 Jan 2022 23:25:28 +0200

Embedded foundation -- pattern matching of parsing string

Following the last article, the author introduces a simpler parsing tool, sscanf. warm-up When you are in C language class and doing c language course design or experiment, you should often contact printf and scanf. The former prints characters to standard output, while the latter reads and parses strings from standard input. sscanf is simil ...

Added by jerryroy on Sun, 02 Jan 2022 16:06:15 +0200

Common operation methods of JavaScript strings and arrays

JavaScript basic II 1. String 1.1 single line string JavaScript strings are represented by characters enclosed by '' or '' "abc" // Double quotation mark 'abc' // Single quotation mark If you want to output '' or ', you need to add escape characters Escape characters \ many characters can be escaped \n //Indicates ...

Added by asphpguy on Wed, 22 Dec 2021 23:07:39 +0200

Use code to "deeply" understand the basic java knowledge that 90% of beginners do not understand - Java core classes String, StringBuilder, StringJoiner, wrapper type, JavaBean

Hello, everyone. In this issue, I will continue to review the basic knowledge of Java in the code. You can knock it yourself to deepen your understanding. According to this knowledge, I also sorted out a map. Basically, each knowledge point has notes and detailed explanations Click here to add a group to get information String In Java, S ...

Added by xudzh on Wed, 22 Dec 2021 01:52:30 +0200

"kuangbin takes you to fly" special program - special topic 16 KMP & extended KMP & Manacher

preface Personal summary: String Learning & summary (mainly the summary template) I haven't painted the topic for a long time. I regret not sticking to it. Now, brush the string & Computational Geometry & DP. For others, such as number theory and graph theory, it's ok to be familiar with that very basic algorithm.Thematic port ...

Added by premracer on Sun, 19 Dec 2021 15:35:02 +0200

Data structure -- LeetCode special exercise Day13

 290. Word rules Given a pattern and a string str, judge whether str follows the same rule. The , here refers to complete matching. For example, there is a corresponding law of two-way connection between each letter in pattern , and each non empty word in string , str ,. Example 1: Input: pattern = "Abba", STR = "dog cat ...

Added by fellow21 on Wed, 15 Dec 2021 01:23:26 +0200

day08 [common API&String class & StringBuilder class]

1.API 1.1 API Overview - use of help documents What is an API API (Application Programming Interface): application programming interface API in Java It refers to Java classes with various functions provided in the JDK. These classes encapsulate the underlying implementation. We don't need to care about how these classes are implemented. We ...

Added by steve@MRS on Wed, 08 Dec 2021 22:47:09 +0200