Summary of common basic interview questions

1. What is the difference between synchronous and asynchronous? Synchronization means that when a function call is issued, the call will not return or continue to perform subsequent operations until the result is obtained. Asynchrony is relative to synchronization. When an asynchronous procedure call is issued, the caller can proceed with sub ...

Posted by cruzbullit on Sat, 18 Sep 2021 05:04:51 -0700

What an artifact! One click to generate a beautiful blog website, really fragrant!

As a programmer, if you like to output technical articles, you must have had the idea of building a personal blog website. After comparing a lot of blog frameworks, I found that the blog website built with the theme of Hexo + Hexo theme matrix not only has a beautiful interface, but also has powerful functions. Today, I will take you to build a ...

Posted by rammac13 on Fri, 17 Sep 2021 22:56:56 -0700

Java source code - core source code analysis of TreeMap and LinkedHashMap

No, let's start! Guiding language After getting familiar with HashMap, let's take a look at TreeMap and LinkedHashMap in this section to see how TreeMap is sorted by key and how LinkedHashMap is accessed by two strategies. 1. Knowledge reserve Before understanding TreeMap, let's take a look at the two sorting methods in daily work as the ba ...

Posted by spxmgb on Fri, 17 Sep 2021 10:58:37 -0700

Interview question 01.04. Palindrome arrangement

subject Given a string, write a function to determine whether it is one of the permutations of a palindrome string. Palindrome strings refer to words or phrases with the same positive and negative directions. Arrangement refers to the rearrangement of letters. Palindrome strings are not necessarily words in the dictionary. Example ...

Posted by TheDefender on Fri, 17 Sep 2021 04:24:44 -0700

[Java] summary of basic interview questions!

1. Why do you have to override the hashcode method when you override the equals method? equals() and hashCode() are both built-in methods in the Object class. The native equals() uses = = to compare the memory addresses of the two objects. hashCode is a native method. Different objects get different hashcodes. A subclass of Object, such as St ...

Posted by wisewood on Mon, 13 Sep 2021 14:20:26 -0700

java review notes -- Shang Silicon Valley

Chapter 1 Java overview 1.1 Java history Java was born in SUN (Stanford University Network), and SUN was acquired by Oracle (Oracle) in 2009. The father of Java is James gosling. JDK1.0 was released in 1996. The latest version is java 12. We learned Java 8. 1.2 main features of Java language Feature 1: object oriented Two basic concepts ...

Posted by webhead on Sun, 12 Sep 2021 16:53:38 -0700

Spring Boot will always drop God! 10 minutes to get you started

Why SpringBoot Because currently developing WEB applications, Spring Boot is the fastest and most popular way to start Spring projects. No matter what kind of application we want to build, it can let us start and run as soon as possible. There is basically no need to configure anything in the early stage, and the built-in application server al ...

Posted by VMinder on Thu, 09 Sep 2021 23:03:23 -0700

Paint of advanced UI (filter, color channel, matrix operation)

preface In previous classes, we have learned about the whole android program in detail, from Startup to painting. From this, we have involved the Canvas drawing board and our Paint control color style brush. Then we will not explain in detail in the previous basic chapter. Those API s have been published in the previous basic chapter, I also a ...

Posted by CantonWeb on Wed, 08 Sep 2021 15:00:26 -0700

[Correct] Use Kotlin Flow for search optimization, kotlin interview questions

If you don't understand it yet, look at the simplified code below: // Article Error Code🙅Simplification for (i in 0..100) { // Simulate Generated Data flow<Int> { emit(i) }.debounce(500) // This is an invalid limit because emit of flow only executes once... .collect { println("----------------- ...

Posted by langer on Mon, 06 Sep 2021 12:24:35 -0700

The tailor in Canvas explains and practices, and summarizes the interview

public boolean clipRect(float left, float top, float right, float bottom) public boolean clipRect(int left, int top, int right, int bottom) public boolean clipRect(@NonNull Rect rect) public boolean clipRect(@NonNull RectF rect) 2,clipOutPath public boolean clipOutPath(@NonNull Path path) Description: only the canvas area outside the pat ...

Posted by dspeer on Sun, 05 Sep 2021 15:06:21 -0700