当前位置:网站首页>After 4 rounds and 2 hours, finally cut meituan offer!
After 4 rounds and 2 hours, finally cut meituan offer!
2022-04-21 18:19:00 【InfoQ】
- I focused on the single example 、 Factory method 、 agent
- 《 A big factory Java Analysis of interview questions + Back end development learning notes + The latest architecture explanation video + Practical project source code handout 》 Open sourceI don't know , No nonsense , Just say you don't know

- Actually, I don't want to be asked Spring In detail , I didn't review the frame, and I don't remember much . So I said to the interviewer Spring Some of the more important mechanisms I understand are not bad , Then I use a practical example to show that I am right IOC、AOP I've explained for a moment , He was right , Good understanding ( It's hard to meet an interviewer who can give feedback while interviewing , So happy )
- Here I'll focus on Synchronized keyword , There are also some locks under the contract , And their advantages and disadvantages and differences .volatile Keywords I mainly from visibility 、 Atomicity and prohibition JVM There are three aspects of reordering , Let's talk about my single instance mode in multithreading double-check It is used in volatile Keywords prohibit JVM Instruction rearrangement optimization .
- From dispatch 、 concurrency 、 Resources and overhead .
- Java IO It's synchronous blocking , How does it implement synchronous blocking . I took read() Method, for example .NIO It is synchronous and non blocking , I told you more about Selector Medium select() Method polling shows how it implements multiplexing IO Of . Then I compared their efficiency . The interviewer may see that I have a better understanding of this area , Continue to ask me Java Is asynchrony implemented in IO, I don't feel like , But the interviewer said there was , Let me see , Actually, I don't know , So I told the interviewer that I was right Unix Medium asynchrony IO Understanding of the model , Then as for Java I really don't know if there is any in it .( He actually smiled ! It's right to say you understand ,Java It doesn't matter if there's any in it ! ha-ha )
- I just use some of the front end js nothing more , Used to jquery frame , Ask me Ajax What is the full name , I guess it's asynchronousJava Open source project 【ali1024.coding.net/public/P7/Java/git】js and xml.Ajax In fact, I don't understand the principle of realization , I'll just talk about how it passes XMLHttpRequest Object to query asynchronously ,Ajax The engine runs on the client side , Reduced server workload .
- Because my resume says that I'm on Multithreading 、 Concurrency is a better understanding . So he's always asking questions about this . This problem is because I have seen ThreadPoolExecutor Source code , So I'm going to follow that kind of design thinking , Let's talk about the core pool in detail 、 Creating threads can be designed using the factory method pattern 、 Thread pool state 、 Blocking queues 、 These aspects of rejection strategy . The design is quite comprehensive .
- The singleton pattern ,jdk Medium getRuntime(); Factory method model ,ThreadPoolExcutor be used ThreadFactory; Observer mode :java.util Under the bag Observable and Observer. Finally, it mainly talks about the use scenario of factory method pattern .
- I talk about database design optimization and query optimization . Indexes B+ Tree implementation ,InnoDB and MyISAM The implementation difference of primary key index , One gathering one non gathering .
- Four levels of isolation , What are the possible exceptions ,mysql Default level in .
- I said this undergraduate course has learned , But it didn't work for a long time , I forgot all the orders . He said it was OK , Test you a few simple :cd、ls、dir( It's really simple )
- from 10 The smallest of ten thousand 10 individual , Time complexity analysis ( The biggest pile , Think about memory )
- Find the maximum sum of successive subarrays from a positive and negative array , Time complexity analysis ( Dynamic programming )
- Full of two branches i How many nodes does the layer have ,n How many nodes does the full binary tree of the layer have
summary

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211815590850.html
边栏推荐
- Live broadcast with goods source code, different writing methods of gradient status bar
- Finally someone made it clear! It turns out that this is the global one-piece network technology with low delay
- WPF学习笔记——概述
- 靶机渗透练习74-DC6
- MYCAT horizontal sub table (E-R table)
- Target penetration exercise 77-dc9
- Target penetration exercise 75-dc7
- 华为18级大牛整理总结:微服务设计和分布式服务框架原理实践文档
- 业绩最好 C语言
- Huawei cloud gaussdb (for influx) unveiling phase VI - hierarchical data storage
猜你喜欢
随机推荐
Is Guotai Junan safe? It's reliable
You must understand and can understand microservice series 3: service invocation
[brush force buckle] questions 51-60
Target penetration exercise 77-dc9
Packaging
Interface test framework practice (II) | interface request assertion
包装类
redis启动服务和连接客户端
Kubernetes详解(四)——基于kubeadm的Kubernetes部署
Huawei level 18 Daniel collates and summarizes: microservice design and distributed service framework principle practice document
Joli langage Tommy C
【pytorch图像分类】ResNet网络结构
[牛客网刷题 Day4] JZ23 链表中环的入口结点
为什么switch里的case没有break不行
WPF learning notes - Overview
Goodbye SharedPreferences, hello mmkv!
Mobile platform workplus integrated office, creating a full scene business ecosystem for enterprises
靶机渗透练习80-Momentum:1
Detailed explanation of kubernetes (IV) -- kubernetes deployment based on kubedm
终于有人讲明白了!原来这才是全球低时延一张网技术









![[牛客网刷题 Day4] JZ76 删除链表中重复的结点(递归)](/img/d7/c8e5b575ea93ba170c994e70b4e1cb.png)