3
《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

  1. Introduce yourself first
  2. What's new in Java 1.8? You talked about lambda expressions, what are the pros and cons of it?
  3. Have you used Java 8's Stream? What are the characteristics?
  4. How are thread pools created? What are the parameters of ThreadPoolExecuter ?
  5. What is the difference between ArrayList and LinkedList ? What is the difference between Queue and Deque ?
  6. What is the difference between HashMap and TreeMap ?
  7. Suppose there is a 10W data request, what method do you have to implement the addition, deletion, modification and query of these data?
  8. What are the three paradigms of database?
  9. Difference between MyISAM and InnoDB?
  10. 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?
  11. Introduce the joint index?
  12. Taking (a,b,c) as an example, under what circumstances can a single query b also hit the joint index?
  13. Algorithm question: The handwritten code realizes the structure of the singly linked list, and completes the addition, deletion, modification and inspection.
  14. 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

  1. Self introduction,
  2. 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
  3. Which databases have you used? What do you know about the storage engine of MySQL database? What are the characteristics of these storage engines?
  4. What storage engine is MySQL by default, why use this?
  5. What is the difference between InnoDB and MyISAM? And what about MEMORY?
  6. Why does InnoDB use B+ tree for indexed data results?
  7. Why not use a Hash index? Isn't the Hash index faster when looking up?
  8. Do you know network programming? Talk about how to create a Socket connection
  9. Have you understood the basic data structure of C++?
  10. 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. . .

  1. Watching you have a game, what did you do in this game? (15min)
  2. What other applications have you written, tell me? What is used for data storage, what is used for web server?
  3. Did you know about C++?
  4. When did software designers take the exam? ?
  5. Overwriting and multiprocessing? Under what circumstances have you used it? Did you encounter any difficulties?
  6. Do you have any programming experience under Linux?
  7. What are the common commands in Linux?
  8. Have you used network programming? Sokect?
  9. Have you understood the multiplexing of epoll and select in Linux?
  10. Let’s talk about the five-layer network model and the corresponding protocols.
  11. Have you captured network packets?
  12. If you were designing a data structure for fast insertion and lookup, what structure would you use? Hash conflict resolution?
  13. 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)
  14. How about an algorithm to find the depth of a binary tree? Tell me? Time and space as small as possible
  15. Do you know design patterns? Learn about
  16. How do you understand UML class diagrams? Draw a class diagram?
  17. 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...)
  18. Did you know about distributed storage?
  19. What is the stack size of a process? What is the upper limit for open files?
  20. What business do you think you are good at?
  21. 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.

  1. Java8 new features combat
  2. Java thread pool details
  3. Java Collection Common Knowledge Points & Summary of Interview Questions (Part 1)
  4. Java Collection Common Knowledge Points & Summary of Interview Questions (Part 2)
  5. Database Basics
  6. MySQL knowledge points & interview questions summary
  7. MySQL Index Details
  8. Summary of Linux basic knowledge necessary for back-end programmers
  9. OSI and TCP/IP network layer model detailed (basic)
  10. Java Interview Guide

JavaGuide
9k 声望1.9k 粉丝

你好,我是 Guide,开源项目 JavaGuide 作者。