java set map (double column) - degar remaking
Corresponding key and value in Map:
"Dagu", "diga Altman"
"Mountain", "Gaia Altman"
"Li Xiangyang", "emperor Xia"
4. Objects to create the Map collection:
Polymorphic way
The specific implementation classes are HashMap, HashTable, ConcurrentHashMa ...
Added by wanted420 on Sat, 06 Nov 2021 08:39:43 +0200
Interviewer: Brother, tell me the difference between basic type and packaging type
Six years ago, when I returned to Luoyang from Suzhou, I put in many resumes and interviewed many interviewers with a mentality of returnees, but only two or three satisfied me. One of them, Lao Ma, is still in my mobile address book. He threw an interview question at me: tell me the difference between basic type and packaging type.
I was 23 y ...
Added by slshmily on Fri, 05 Nov 2021 18:43:11 +0200
[architect interview - JUC concurrent programming - 8] - AQS
1: Why AQS
Locks and collaboration classes (semaphores) have something in common: they are similar to a gate (only some threads are allowed to pass through), because they all use a common base class AQS at the bottom
Because many of the above collaboration classes work similarly, you can extract a tool class and use it directly. For Reentrant ...
Added by The Silent on Thu, 04 Nov 2021 15:53:30 +0200
leetcode 14 day question brushing plan - efficient interview preparation
summary
The adjacency matrix is constructed from the given matrix
List<List<Integer>> graph = new ArrayList<>(n);
for (int i = 0; i < n; ++i) graph.add(new ArrayList<>(3));
for (int[] path : paths) {
graph.get(path[0] - 1).add(path[1] - 1);
graph.get(path[1] - 1).add(path[ ...
Added by mantona on Sun, 31 Oct 2021 16:45:36 +0200
"Here comes the offer" 1 mind map and 6 knowledge sections, which will take you to sort out the knowledge points of CSS in the interview!
⌛ preface
For the front end, css is a necessary knowledge for beginners. Basically, after dabbling in html, you learn css. At the same time, css is also a necessary knowledge point for the front-end, such as horizontal and vertical center, two column layout, three column layout and bfc, which are both common and necessary test points fo ...
Added by ryochiji on Sun, 24 Oct 2021 02:19:11 +0300
Data structure and algorithm high frequency interview questions
I thought facial classics were just rote things before, but later I found that remembering them was really helpful to my understanding of knowledge. No wonder Chinese articles always require memorization.
preface
This face sorting is divided into the following parts. I hope it will be helpful to your work.
contentLink addressJava Foundatio ...
Added by tidou on Sat, 23 Oct 2021 04:53:15 +0300
I went to the company for an interview, but the HR manager didn't have an interview, but I learned the responsibility chain model
Design patterns are widely used in development. Design patterns refer to the characteristics of our daily life and abstract the characteristics, so that some implementation can meet the specific requirements. Of course, this must be a flexible transformation, and the responsibility chain officially kicked off.
I went to XX Internet company for ...
Added by cricher on Fri, 22 Oct 2021 06:55:26 +0300
js interview questions -- scope and closure
1, js scope
Scope is the area (range) in which the variable works.
1. Global scope (outside functions and {}).2. Function scope (inside the function).3. Block level scope (newly added in ES6, in {}).
Title: create 10 < a >, and click the pop-up serial number.
1. Global declaration sequence number i
<!DOCTYPE h ...
Added by demonicfoetus on Tue, 19 Oct 2021 02:17:07 +0300
JavaScript anti shake and throttling details
1, Know anti shake and throttling
1.1. Understanding of anti shake and throttling
In fact, the concepts of anti chattering and throttling did not first appear in software engineering. Anti chattering appeared in electronic components and throttling appeared in fluid flow
JavaScript is event driven. A large number of operations will trigger e ...
Added by johnpdmccall on Tue, 12 Oct 2021 08:48:39 +0300
Loop call asynchronous operation
Recently, I met an interesting interview question. The question is very simple, but it involves a lot of small knowledge points. It's quite interesting.
An ordinary for loop outputs i
// Normally write a for loop and output i
for (var i = 0; i < 5; i++) {
console.log(i);
}
console.log(i);
Suppose you are an interviewer, what will t ...
Added by pikemsu28 on Tue, 12 Oct 2021 06:39:26 +0300