One side (telephone)

Java programmer autumn recruitment interview (Ali, Meituan, Baidu, the most complete interview collection)

I heard you have a blog. What’s in your blog?

Project introduction, the most complex table

The principle of Hashmap

Why is a Hashmap a power of two

Introduce red black trees

The principle of the Arraylist

Scenario: Design a system to identify plagiarism

The principle of heap sort

The difference between abstract factory and factory method patterns

The idea of the factory model

Object class method that you know

Where is factory mode used

The difference between Forward and redirect

Second Interview (video)

1. Introduce yourself

2. Project introduction

3. Project architecture

4. Difficulties of the project

5. Why has jdK1.5 improved efficiency

6. Considerations when using thread pools

7. The difference between autowire and resourse keywords in Spring

8. How Hashmap works

9. Why is the size of the Hashmap specified as a power of 2

10. Talk about thread state transition diagrams

11. Message queues

12. Distributed

Jingdong push

1. Dubbo timeout retry; Dubbo timeout setting

2. How to ensure the order of request execution

3, distributed things and distributed lock (do not appear negative deductions)

4. Distributed session Settings

5. Perform an operation, the first 50 times are successful and the 51st time is failed. A Roll back all the first 50 times b Submit the 51st throw exception.

6. What is the use of Zookeeper

7. JVM memory model

8. Split the database vertically and horizontally

9, how to page MyBatis; How to set up the cache; MySQL paging

Are you familiar with IO? NIO, blocking and non-blocking

11. Distributed session consistency

12. Idempotent design of distributed interface “No repeated deduction”

The written test

Baidu push

One side (scene)

To introduce myself

Polymorphism in Java

Object class method

Functions and usage scenarios of Finalize

The equals and Hashcode

Why override hashCode and equals

What’s wrong with not rewriting at the same time

The principle of Hashmap

How does Hashmap become thread-safe, and the pros and cons of each approach

Garbage collection mechanism

Jvm parameters that you know

Let’s talk about design patterns

Tear a singleton pattern by hand

So the idea of quicksort

Give an array to simulate the process of quicksort

Handwritten fast row

Design topic, a library management system, how to design the database, the needs of their own

Second Interview (on-site)

To introduce myself

Project introduction

The characteristics of Redis

Distributed transactions

Anti-crawler mechanism, what are the ways

Hand tearing algorithm: reverse single – linked list

Hand tearing algorithm: to achieve data structure similar to micro-blog substructure, input a series of parent-child relationship, output a micro-blog comment like parent-child structure diagram

Handwritten Java multithreading

Handwritten Java Soeket programming, server side and client side

Communication between processes

Hand tearing algorithm: climb the stairs, write the state transfer equation

Quiz: When do hour hands overlap

conclusion

The above is the interview experience and learning, share with you, I hope you can understand what is the interview questions of large Internet famous enterprises. If you feel the harvest, you can point a concern to collect forwarding a wave oh, thank you for your support!!

If you want to learn Java engineering, high performance and distributed, high performance, easy to understand. Performance tuning, Spring, MyBatis, Netty source code analysis of friends can add my Java advanced group, 680130298, group ali Daniel live explained technology, as well as Java large Internet technology video free to share to you.