《Java Interview Guide North》 here! This is an addition to the open source version of JavaGuide that I have completed in my spare time over the past two years.
[One side] The whole journey is 55 minutes
- Introduce yourself first
- What's new in Java 1.8? You talked about lambda expressions, what are the pros and cons of it?
- Have you used Java 8's Stream? What are the characteristics?
- How are thread pools created? What are the parameters of
ThreadPoolExecuter
? - What is the difference between
ArrayList
andLinkedList
? What is the difference betweenQueue
andDeque
? - What is the difference between
HashMap
andTreeMap
? - Suppose there is a 10W data request, what method do you have to implement the addition, deletion, modification and query of these data?
- What are the three paradigms of database?
- Difference between MyISAM and InnoDB?
- What is the difference between MySQL primary key index and normal index? Who performs better? If it is under 10W level data, whose performance is better?
- Introduce the joint index?
- Taking (a,b,c) as an example, under what circumstances can a single query b also hit the joint index?
- Algorithm question: The handwritten code realizes the structure of the singly linked list, and completes the addition, deletion, modification and inspection.
- Rhetorical question: Do you have any questions for me?
Interview summary: I feel that the title of the question is not too difficult, I just blame myself for being too lazy and have not mastered the basics well. The interviewer is a good person. If someone fishes it, I want to do it again! The second day process is over. .
Good guy, I don't know what happened, I started a new process again, is this the legendary World War II! ! ! Or Tencent Cloud.
[One side] The whole journey is 46 minutes
- Self introduction,
- Then there are two algorithm questions: Question 1: Count the number of overlapping characters in a string of characters. (such as AAABBBCC, output A_3_B_3_C_2) Question 2: Find the longest common substring of two characters
- Which databases have you used? What do you know about the storage engine of MySQL database? What are the characteristics of these storage engines?
- What storage engine is MySQL by default, why use this?
- What is the difference between InnoDB and MyISAM? And what about MEMORY?
- Why does InnoDB use B+ tree for indexed data results?
- Why not use a Hash index? Isn't the Hash index faster when looking up?
- Do you know network programming? Talk about how to create a Socket connection
- Have you understood the basic data structure of C++?
- Rhetorical question: Do you have any questions for me?
[Two sides] The whole journey is 43 minutes
Suddenly sent me an email this morning and asked me to meet again in the afternoon, this is the notification style of the domineering president. . .
- Watching you have a game, what did you do in this game? (15min)
- What other applications have you written, tell me? What is used for data storage, what is used for web server?
- Did you know about C++?
- When did software designers take the exam? ?
- Overwriting and multiprocessing? Under what circumstances have you used it? Did you encounter any difficulties?
- Do you have any programming experience under Linux?
- What are the common commands in Linux?
- Have you used network programming? Sokect?
- Have you understood the multiplexing of epoll and select in Linux?
- Let’s talk about the five-layer network model and the corresponding protocols.
- Have you captured network packets?
- If you were designing a data structure for fast insertion and lookup, what structure would you use? Hash conflict resolution?
- There is an array with a capacity of N, which stores N numbers, and the value range of each number is 1~N. Is there any quick way to determine whether there are duplicate elements and which elements are duplicated? The space complexity requirement is O(1)
- How about an algorithm to find the depth of a binary tree? Tell me? Time and space as small as possible
- Do you know design patterns? Learn about
- How do you understand UML class diagrams? Draw a class diagram?
- Do you have any knowledge of cloud computing? Have you used the container? Have you heard of Big Data Suite? ELK understand? Have you seen the code for an open source architecture system? (This is all a blind spot of knowledge...)
- Did you know about distributed storage?
- What is the stack size of a process? What is the upper limit for open files?
- What business do you think you are good at?
- rhetorical question
Summary: The whole process of active supplementation is a bit less, resulting in the scene falling into a quiet embarrassing scene several times, and the longest one even lasted for more than 30 seconds. In future interviews, you will need to expand your content a lot.
Text|Niuke.com: Niuke No. 71576213
reference answer
You can find answers to most of the above questions in the articles below.
- Java8 new features combat
- Java thread pool details
- Java Collection Common Knowledge Points & Summary of Interview Questions (Part 1)
- Java Collection Common Knowledge Points & Summary of Interview Questions (Part 2)
- Database Basics
- MySQL knowledge points & interview questions summary
- MySQL Index Details
- Summary of Linux basic knowledge necessary for back-end programmers
- OSI and TCP/IP network layer model detailed (basic)
- Java Interview Guide
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。