Python interview collection

python interview collection preface This is a python interview essence analysis, from basic to advanced. 1, python Basics (difficulty: ⭐ ️) Object type of python Immutable object types: int, float, decimal, complex, bool, str, tuple, range, frozenset, bytes Mutable object types: list, dict, set, bytearray, user defined, classes (u ...

Posted by haddydaddy on Mon, 10 Jan 2022 21:37:12 +0100

16-11-packaging of Java common classes [dry goods notes]

1. Packaging java.lang package. Basic data types are easy to use and efficient. But there is no corresponding method to operate it. Use a class to wrap the basic type data. This class is called the wrapper class. The wrapper class defines methods for manipulating basic type data. 1.1. Package type corresponding to basic data type (java.la ...

Posted by proxydude on Mon, 10 Jan 2022 21:14:01 +0100

If you encounter OOM online, how to solve it?

OOM means that there are vulnerabilities in the program, which may be caused by code or JVM parameter configuration. This article talks to readers about how to check after a Java process triggers OOM It is often said that maintaining awe of the production environment and solving problems quickly is also an expression of awe Why OOM? The ...

Posted by salmanshafiq on Mon, 10 Jan 2022 12:36:19 +0100

Strategy mode 2 of Glide design pattern [DownsampleStrategy]

Strategy mode II DownsampleStrategy Package path: com bumptech. glide. load. resource. bitmap. DownsampleStrategy Indicates the algorithm used when down sampling the image. DownsampleStrategy does not provide any guarantee about the output size. The behavior will vary, depending on the strategy used by the ResourceDecoder and the Android ver ...

Posted by kemper on Mon, 10 Jan 2022 07:10:39 +0100

Distributed transaction Seata principle

1, Introduction to Seata: 1. Introduction to Seata: Seata is an open source distributed transaction solution, which is committed to providing high-performance and easy-to-use distributed transaction services. It provides users with several different transaction modes such as AT, TCC, SAGA and XA: AT mode: a non intrusive distributed transact ...

Posted by forumnz on Mon, 10 Jan 2022 01:22:51 +0100

Learning notes of Java Engineer Interview assault Season 1 - message queue 09, 10, 11

Learning notes of Java Engineer Interview assault Season 1 - message queue 09, 10, 11 Only to make personal learning records, the content comes from the teaching of the stone shirt code farmer's official account. Learning purpose: (1) Help quickly sort out the knowledge points of high-frequency Java advanced interview of Internet companies; ...

Posted by sennetta on Sun, 09 Jan 2022 06:21:44 +0100

⌈ 2022 ⌋ JavaScript super detailed loop summary

prefaceThis is one of my series of articles on basic JavaScript. It doesn't talk about the efficiency of various loops. It mainly summarizes the use methods and some precautions. Click the secondary and tertiary titles to open the corresponding MDN documents. The daily blog is recorded in YuQue. Welcome to pay attention Language bird document. ...

Posted by habs20 on Fri, 07 Jan 2022 11:26:53 +0100

In combination with the "Kangxi draft", let's talk about "virtual list"

I think I speak well. Please give me a compliment. Thank you. Hee heesceneKangxi imperial concubine selectionIt is said that this year is the 53rd year of Kangxi. The world is peaceful. No one in the world does not sigh that "Kangxi prosperous age". Kangxi himself is also very happy. "I have struggled for most of my life and can' ...

Posted by skyxmen on Fri, 07 Jan 2022 02:44:29 +0100

Ten arithmetic questions are required for an interview. How many will you do?

Recently, a lot of small partners have communicated with me about brushing problems. My advice is to offer and buckle hot100 first. There are still some very important and frequent occurrences in these problems. Today, I share the 10 most frequently occurring arithmetic problems with you, and learn to make money.   0X01 Flip Chain List ...

Posted by emdee on Thu, 06 Jan 2022 18:22:40 +0100

Why should the hashCode method be overridden when the equals method is overridden?

Everyone should have encountered this problem during the interview, that is, if I rewrite the equals method, why do I have to rewrite the hashCode method? Many people may not have rewritten hashCode and equals methods, because in practical applications, few people will directly use custom objects as key s. Therefore, the rewriting of hashCode ...

Posted by mdinowitz on Thu, 06 Jan 2022 01:59:50 +0100