6 String exercises, can you do it?
preface
String string is a data structure that appears very frequently in our development. I have prepared several small questions here. Whether you are a beginner or an expert, you can try whether you can easily solve the following questions. If you have better solutions, you are welcome to communicate in the comments!
How to invert a string ...
Posted by alex57 on Thu, 04 Nov 2021 07:28:15 -0700
☕ [Java technical guide] "serialization series" delves into the characteristics and principles of FST's sharp tools for fast serialization and compression of memory
Concept and definition of FST
The full name of FST serialization is Fast Serialization Tool, which is an alternative implementation of Java serialization. Since the two serious shortcomings of Java serialization mentioned above have been greatly improved in FST, the characteristics of FST are as follows:
The serialization provided by JDK i ...
Posted by franklyn on Thu, 04 Nov 2021 05:22:46 -0700
Flowable getting started series article 45 - Web services tasks
1. Description
The Web service task is used to synchronously invoke external Web services.
2. Graphical representation
Web service tasks are visualized in the same way as Java service tasks.
3. XML representation
To use a Web service, we need to import its operations and complex types. This can be done automatically by using the import ta ...
Posted by leocon on Thu, 04 Nov 2021 04:44:30 -0700
Summary of microservice performance optimization due to a large increase in business recently - 4. Increase the monitoring of HTTP request waiting queue of synchronous microservices
Recently, the business has grown rapidly, which is also a big challenge for our background. The performance bottleneck of the core business interface encountered this time is not caused by a single problem, but a combination of several problems: after we solve one, we launch it, and then we find another performance bottleneck. This is also my l ...
Posted by sanand158 on Thu, 04 Nov 2021 04:12:37 -0700
Junior students are dissatisfied with the meituan internship. They switch to the headlines and find out six customs clearance experience, Java post
Today, I'd like to share with you the interview process of a friend who went to today's headlines (a junior undergraduate student who is currently interning in meituan).
The following is his journey, which is divided into six links:
If you want to climb the peak, don't use the rainbow as a ladder.
1. Self introduction
After a brief ...
Posted by sKunKbad on Thu, 04 Nov 2021 03:57:16 -0700
Implementation principle of LinkedList
1, Overview
Let's take a look at this comment in the source code. Let's try to extract some information from it:
/**
* Doubly-linked list implementation of the {@code List} and {@code Deque}
* interfaces. Implements all optional list operations, and permits all
* elements (including {@code null}).
*
* <p>All of the operations perf ...
Posted by adam119 on Wed, 03 Nov 2021 23:57:51 -0700
Find the k-th largest number of two ordered arrays
Title: give two one-dimensional int arrays a and B. where: A is an ordered array with length m and elements in good order from small to large. B is an ordered array with length n and elements arranged from small to large. We hope to find the maximum k numbers from the A and B arrays. It is required to use as few comparisons as possible.
Soluti ...
Posted by ossi69 on Wed, 03 Nov 2021 22:27:41 -0700
Advanced Java exception
preface
Complete the introduction to Java exceptions first , and then complete Java advanced.
1, Automatically close resources
The JVM does not recycle hardware resources (such as I/O resources). That is what the OS does. The JVM will recycle the resources occupied by objects in heap memory. When IOException occurs in the I/O flo ...
Posted by bradsteele on Wed, 03 Nov 2021 22:24:41 -0700
Spring Security Series tutorial 28 -- implementing CAS single sign on with spring security Part 2 -- building CAS client
preface
In the previous chapter, I took you to build the CAS Server side project, that is, we built a unified single sign on authentication center. Next, we can build the CAS client project, and then realize the interactive authentication between the client and the server, so as to complete single sign on.
Next, you will follow brother Yige t ...
Posted by richcrack on Wed, 03 Nov 2021 21:31:12 -0700
Mybatis basic module explanation and strengthening core principles
Basic support layer
The basic support layer is located at the bottom of the overall architecture of MyBatis, supports the core processing layer of MyBatis, and is the cornerstone of the whole framework. Several general and independent modules are encapsulated in the basic support layer. It not only provides basic support for MyBatis, but also ...
Posted by cahamilton on Wed, 03 Nov 2021 21:01:17 -0700