You can't answer 80% of the selected interview questions. What else do you want to interview?
0.1 + 0.2 = = = 0.3? Why?
Unequal. In js, javascript uses the Number type to represent numbers (integers or floating-point numbers), following IEEE 754 Standard, a number (1 + 11 + 52) is represented by 64 bit binary: sign bit + exponential bit (order code) + tail code
1 sign bit, 0 for positive number, 1 for negative number s11 digits (e ...
Added by cigardude on Wed, 09 Mar 2022 14:55:15 +0200
Actual JVM: principle and application of ClassLoader
preface
I was asked such a question in the original interview. If you build a Java Lang. String class. Is the String class used in the system your defined String class or the String class in the native api?
You can try and find that the String class in the native api is still used in the final system. Why does this happen? This has to start ...
Added by colbyg on Wed, 09 Mar 2022 09:56:50 +0200
[interview questions] analysis of classic interview questions in event cycle
Basic concepts
Process is the program that the computer has run. Thread is the smallest unit that the operating system can schedule operations. It is included in the process Every Tab page in the browser opens a process, which contains many threads
As we all know, JS is a single threaded language. If we encounter very time-consuming operations ...
Added by Tonata on Wed, 09 Mar 2022 08:23:35 +0200
Observer mode of 23 design modes
Observer mode of 23 design modes
reference material
Java design patterns: comprehensive analysis of 23 design patterns (super detailed)Han Shunping's Java design pattern (illustration + framework source code analysis) Qin Xiaobo's Zen of design pattern
Please correct any mistakes and omissions below
1, Introduction
definition
It refer ...
Added by allenskd on Tue, 08 Mar 2022 16:18:35 +0200
[algorithm experience] array 11, 15
11. Container with the most water
Give you n nonnegative integers a1, a2,..., an, each representing a point (i, ai) in the coordinate. Draw n vertical lines in the coordinates. The two endpoints of vertical line i are (i, ai) and (i, 0). Find two of these lines so that the container they form with the x-axis can hold the most water.
My idea: ...
Added by AAFDesign on Tue, 08 Mar 2022 15:39:39 +0200
Java interview selection [Java Foundation Part III]
In the last article, we gave about 35 questions, all of which are basic knowledge. Some children's shoes reflect that the questions are outdated. In fact, they are not. These are the basis of the foundation, but they are also essential. There are still some basic questions in the interview questions. We gradually give different levels of questi ...
Added by zork on Tue, 08 Mar 2022 05:58:54 +0200
JUC: 4_ 2. Concurrent collaboration model: producer consumer problem: if false wake-up, prevent false wake-up
How to alternate the communication between threads?
Threads A and B operate on the same variable numbe=0
/**
* How to alternate the communication between threads?
* Threads A and B operate on the same variable numbe=0
* A++
* B--
* <p>
* Question:
* 1.It is safe when there are only two threads, one more + + and one more
*/
...
Added by Erestar on Tue, 08 Mar 2022 02:01:46 +0200
Interviewer: In what order do threads execute in Java?
Summary: Multi-threaded concurrent execution order in Java has always been the focus of interviews. Mastering the execution order of threads in Java will not only make you stand out in interviews, but also enable you to quickly locate "bizarre" problems caused by multi-threaded concurrency problems in your normal work so that you can ...
Added by newhen on Mon, 07 Mar 2022 19:59:39 +0200
[daily question brushing 3.7] 10 algorithms + 10 interviews - ah V
In the new week, come on ~, make progress a little every day ~.
Algorithm problem (Niuke network)
1. Fibonacci sequence
The Fibonacci sequence starts with the third term and is equal to the sum of the first two terms.
Code details:
class Solution {
public:
int Fibonacci(int n) {
vector<int> dp(n + 1);
dp[ ...
Added by Ice on Mon, 07 Mar 2022 18:07:16 +0200
A little advice for the younger generation, finishing the facial classics with tears
preface
Large factory interview has always been a favorite topic in the programmer circle during fishing time. Entering a large factory must also be the dream of countless programmers.
The question about "principle" is almost a necessary question for Android developers nowadays, especially in large factory interviews. Small partners ...
Added by JoeBuntu on Mon, 07 Mar 2022 16:18:20 +0200