High frequency interview question: a picture to thoroughly understand Spring circular dependency
home pagespecial columnjavaArticle details0High frequency interview question: a picture to thoroughly understand Spring circular dependencyJava general Published 10 minutes ago1 what is circular dependency?As shown in the figure below:BeanA class depends on BeanB class, and BeanB class depends on BeanA class. This dependency forms a closed loop ...
Posted by Singularity on Fri, 29 Oct 2021 23:17:32 -0700
Sharing of interview questions from large factories: how to make the value of (a = = 1 & & A = = 2 & & A = = 3) true?
When I first saw this topic, I was shocked. I analyzed that it was very unreasonable for us to program, and thought it was impossible. Variable a should be equal to the three values of 1, 2 and 3 at the same time under the same situation. This is a myth, no less than Goldbach's conjecture of 1 + 1 = 1, but everything is possible. Out of curiosi ...
Posted by callesson on Thu, 28 Oct 2021 15:29:30 -0700
Use event bubbling and event delegation to optimize code - add event problems to child elements
Pure js calendar component learning notes
The following records the problems encountered in the process of completing the calendar component in pure js
Problems encountered
1. Drop down menu implementation
The display of the drop-down menu and the style that will appear after clicking the option box are written in advance
For example, t ...
Posted by cretam on Wed, 27 Oct 2021 01:09:36 -0700
Context switching and thread state of Java thread
1, Context switch:
In concurrent programming, it is not that the more threads, the higher the efficiency. Too few threads may lead to insufficient utilization of resources. Too many threads may lead to fierce competition for resources, and then frequent context switching will cause additional ov ...
Posted by jburfield on Sat, 23 Oct 2021 16:06:41 -0700
[high frequency written interview in front field] question 10: JavaScript related
catalogue
1. Known array var stringArray = ["This", "is", "Baidu", "Campus"]
2. The string foo = "get element by ID" is known. Write function to convert it into hump representation
3. Known array var numberArray = [3,6,2,4,1,5]; Apply array API for operation
4. Output today's date in YYYY-MM ...
Posted by fuzzy1 on Fri, 22 Oct 2021 16:55:53 -0700
Java - JUC high concurrency programming, interview must ask (thread safety of collection)
4 thread safety of collections
4.1 set operation Demo (demonstration)
NotSafeDemo:
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
/*** Collection thread safety case
*/
public class NotSafeDemo {
/**
* Multiple threads modify the collection at the same time
*/
public static void main(String[] args) {
L ...
Posted by IsmAvatar on Wed, 20 Oct 2021 23:08:42 -0700
(super detailed) MySQL advanced - notes-01
MySQL advanced - Notes - 01
Video of this article: Dark horse MySQL advanced
1, MySQL architecture
1-1 overview of MySQL architecture
The entire MySQL Server consists of the following components:
Connection Pool: Connection Pool componentManagement services & Utilities: management services and tools componentsSQL interface: SQL i ...
Posted by GoncaloF on Wed, 20 Oct 2021 23:07:31 -0700
Encapsulation of MyBatis output results
Encapsulate MyBatis Output results
resultType
Resulttype: execute sql to get the type of ResultSet conversion, using the fully qualified name or alias of the type. Note that if a collection is returned, it should be set to the type contained in the collection, not the collection itself. resultType And resu ltMap can ...
Posted by n00854180t on Wed, 20 Oct 2021 22:10:00 -0700
Summary of knowledge points of interview questions of BAT large factory for Android post in 2021, and complete knowledge system
1, Picture
1,Picture library comparison
2,LRUCache principle
3,Picture loading principle
4,How to implement the picture library by yourself?
5,Glide Source code analysis
6,Glide What cache is used?
7,Glide How does the memory cache control its size?
2, Network and security mechanism
1.Network framework comparison and source code analysis
...
Posted by Jahren on Wed, 20 Oct 2021 10:45:32 -0700
day10 -- function basis
Introduction to day10 function
Summary:
Elementary functionParameters of functionReturn value of function
1. Initial function
What exactly is a function?
Function can be regarded as a collection of a lot of function code.
def Function name():
Write code in function
...
...
Function name
# For example:
# Define a function ...
Posted by trassalg on Mon, 18 Oct 2021 16:40:05 -0700