Do you know the three hash values packaged? I was stumped by this question when I was recruiting in our school!

prefaceHello, I'm Lin Sanxin. The most difficult knowledge point in the most easy to understand words is my motto. The foundation is advanced, and the premise is my original intentionSchool recruitment in those yearsI vaguely remember that when I participated in the school recruitment of a large factory, I interviewed Netease Leihuo studio. At ...

Posted by Koobazaur on Fri, 04 Feb 2022 04:45:03 +0100

[untitled] thread synchronization required for school recruitment interview (detailed solution)

Multithreading overview 1, The concept of multithreading Multithreading means that a program contains multiple execution units, that is, multiple different threads can be run simultaneously to perform different tasks in a program, that is, a single program is allowed to create multiple parallel threads. 2, Using multithreading The program n ...

Posted by soccerstar_23 on Fri, 04 Feb 2022 03:33:30 +0100

Leetcode algorithm interview sprint practice 11 (queue)

40. Implement queue with stack As stated in the title, you can only use two stacks to implement some operations of the queue. The queue should support push(element), pop() and top(), where pop is the first (foremost) element in the pop-up queue. Both pop and top methods should return the value of the first element. class MyQueue: ...

Posted by rcarr on Thu, 03 Feb 2022 09:56:47 +0100

Step 7: understand the whole distributed content. I don't believe the interviewer dares to "meet" me!

1. What is distributed lock Distributed lock is a way to control synchronous access to shared resources between distributed systems. In distributed systems, it is often necessary to coordinate their actions. If different systems or different hosts of the same system share one or a group of resources, when accessing these resources, they often ...

Posted by grazzman on Thu, 03 Feb 2022 08:56:04 +0100

Classic logic questions in software testing

Classic logic questions in software testing Question 1: it takes 1 hour to burn an uneven rope from head to tail. Now there are several ropes of the same material. How to use the method of burning the rope to time 1 hour and 15 minutes? Now take three different ropes. A Rope, B Rope, C Rope Step 1: A The rope burns from both ends at the same ...

Posted by anups on Thu, 03 Feb 2022 02:28:11 +0100

Collection! The most complete XML Mapping File tag analysis + example in MyBatis!

preface The strength of MyBatis lies in its mapper file, which is the magic of MyBatis. For any user of MyBatis, the mapping file of MyBatis must be mastered. Mapper file label One of Mapper provides nine top-level tags. We don't need to know about one that has expired. The other eight must be mastered. As long as we master the use of tags, ...

Posted by jamiel on Thu, 03 Feb 2022 01:47:34 +0100

Java multithreading -- Concurrent HashMap

In the previous article, I have published common interview questions. Here I spent some time sorting out the corresponding answers. Due to my limited personal ability, it may not be in place. If there are unreasonable answers, please give me some advice. Thank you here. This paper mainly describes the concurrent HashMap, a high-frequency inter ...

Posted by claypots on Thu, 03 Feb 2022 01:37:13 +0100

Java foundation -- collection

In the previous article, I have published common interview questions. Here I spent some time sorting out the corresponding answers. Due to my limited personal ability, it may not be in place. If there are unreasonable answers, please give me some advice. Thank you here. This article mainly describes the collection content that is almost necess ...

Posted by maxsslade on Thu, 03 Feb 2022 01:16:27 +0100

Deep understanding of multithreading park and unpark

1. Background The interviewer asked how to pause a thread Tell me about your understanding of park 2. Code package com.ldp.demo01; import com.common.MyThreadUtil; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.locks.LockSupport; /** * @author Blog emperor posture * @address https://www.cnblogs.com/newAndHui/ * @WeChat 8512 ...

Posted by GameMusic on Wed, 02 Feb 2022 22:32:40 +0100

Thinking analysis of dynamic programming problem in algorithmic interview

I wish you all good health and happiness in the new year. According to the observation and experience in the past decades, congratulations alone can't make people rich. Only when we successfully find a good job and win a satisfactory career can we have the opportunity to make money. Being able to enter a good enterprise is naturally a reasonabl ...

Posted by bluns on Wed, 02 Feb 2022 20:09:27 +0100