编程知识 cdmana.com

Interview questions for Senior Java engineers in front-line Internet enterprises, wake up

20 A binary tree

  • 0. Several concepts
  • 1. Find the number of nodes in the binary tree
  • 2. Find the maximum number of layers of binary tree ( Maximum depth )
  • 3. The first sequence traversal / The former sequence traversal
  • 4. In the sequence traversal
  • 5. After the sequence traversal
  • 6. Hierarchical traversal
  • 7. Find the number of binary trees K The number of nodes in the layer
  • 8. Find the number of binary trees K Number of leaf nodes in layer
  • 9. Determine whether two binary trees are of the same structure
  • 10. Determine whether a binary tree is a balanced binary tree
  • 11. Find the mirror image of a binary tree
  • 12. Find the lowest common ancestor node of two nodes in a binary tree
  • 13. Find the diameter of the binary tree
  • 14. Reconstruction of binary tree from preorder traversal sequence and inorder traversal sequence
  • 15. Judge whether a binary tree is a complete binary tree
  • 16. The substructure of a tree
  • 17. The path of a value in a binary tree
  • 18. The next node of a binary tree
  • 19. Serialize binary tree
  • 20. The second of binary search tree k Nodes

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _Java

?21 Binary tree

Algorithm brush question LeetCode Chinese version : Binary tree

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _Java_02

Algorithm brush question LeetCode Chinese version : Binary tree

17 A linked list

  • 1. stay O(1) Time to delete linked list nodes
  • 2. Flip the single chain table
  • 3. Turn over part of the single linked list
  • 4. Rotating single linked list
  • 5. Delete the penultimate... In the single linked list n Nodes
  • 6. Find the middle node of the single linked list
  • 7. List Division
  • 8. Sum of linked list
  • 9. Single chain table sorting
  • 10. Merge two ordered linked lists
  • 11. Replication of complex linked list
  • 12. Delete duplicate nodes in the list
  • 13. Judge whether there is a ring in the single linked list
  • 14. Whether the single linked list has ring extension : Find the entry point of the ring
  • 15. Determine whether two acyclic single linked lists intersect
  • 16. Two linked lists intersect and expand : Find the first intersection of two acyclic single linked lists
  • 17. Two linked lists intersect and expand : Judge whether two linked lists intersect

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _ The backend development _03

?17 Linked list

Algorithm brush question LeetCode Chinese version : Linked list

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _ The programmer _04

Algorithm brush question LeetCode Chinese version : Linked list

7 A stack and queue

  • 1. Basic concepts
  • 2. Stack java Realization
  • 3. Queued java Realization
  • 4. Queues are implemented with two stacks
  • 5. Using queue to implement stack
  • 6. contain min Function of the stack
  • 7. Pressure into the stack 、 Pop-up sequence

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _ The programmer _05

7 Stacks and queues

Algorithm brush question LeetCode Chinese version : Stacks and queues

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _ The backend development _06

Algorithm brush question LeetCode Chinese version : Stacks and queues ?

13 A string

  • 1. KMP Algorithm
  • 2. Replace blank space
  • 3. The longest common prefix
  • 4. Longest palindrome
  • 5. Arrangement of strings
  • 6. Print the full arrangement of strings
  • 7. The first character that appears only once
  • 8. Flip word order column
  • 9. Rotate string
  • 10. Convert a string to an integer
  • 11. Regular Expression Matching
  • 12. String representing the value
  • 13. The first character in a character stream that does not repeat

13 String answer parsing

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _Java_07

13 character string

Algorithm brush question LeetCode Chinese version : character string

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _Java_08

At the end

As a programmer who is looking for a job , Faced with a very different 2019 year , Where will your job opportunities and opportunities appear ? In this new environment , Work should choose big factory or small company ? A veteran who has worked for several years , How to maintain and improve their competitiveness , Turn passive into active ?

In terms of the current environment , It is much more difficult to succeed in job hopping than in previous years . An obvious feeling : This year's interview , On one or two sides , It's all tested Java The technical skills of programmers .

Recently I sorted out a review of the interview questions and interview high-frequency examination questions and technical points into a “Java Classic interview questions ( With answer analysis ).pdf And an online collection of “Java Programmer interview written test real question bank .pdf”( In fact, it took a lot more energy than expected ), Including distributed architecture 、 Highly scalable 、 High performance 、 High concurrency 、Jvm performance tuning 、Spring,MyBatis,Nginx Source code analysis ,Redis,ActiveMQ、Mycat、Netty、Kafka、Mysql、Zookeeper、Tomcat、Docker、Dubbo、Nginx Wait for more than one knowledge point advanced dry goods !

Due to limited space , For the convenience of everyone to watch , Here we show you some of the contents and screenshots of the answers in the form of pictures !
 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _ The programmer _09

Java Classic interview questions ( With answer analysis )

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _ The programmer _10

Alibaba technology written test experience

 Senior manager of front-line Internet enterprises Java Interview questions for Engineers , Wake up _ The backend development _11

This article has been  CODING Open source project :【 A big factory Java Analysis of interview questions + Core summary learning notes + The latest explanation video + Actual project source code 】 Included

版权声明
本文为[SDK integrated development]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/10/20211002005656316H.html

Scroll to Top