It took about three weeks to get the offer from nanjing backend. The next interview was scheduled on the second day after each interview, and the interview was scheduled in the second week. About five days after the last three interviews, I called the offer call and received the letter of intent.

One side (40 minutes)

  • One side asks the comparison foundation
  • project
  • The Java Object class has several methods
  • HashMap principle, thread safe?
  • How does Java synchronize threads
  • CAS
  • JVM garbage Collection
  • Mysql | index theory
  • How to optimize cable arch | query
  • TCP, congestion control
  • Algorithm: Find the bottom-left node of the tree (I said hierarchical traversal, he said yes)
  • Intelligence: make up 50% of coins with unequal probability of heads and tails

Second Interview (60 minutes)

  • project
  • The second sense mainly inspects the code ability, the basic – straight in the code
  • Know what design patterns to introduce separately
  • Handwritten singletons -> thread-safe -> how else to write
  • Algorithm: Find the KTH largest number in an unordered array (quick select)
  • Algorithm: Find the rotation array find the minimum value (binary)
  • Algorithm: Determine whether binary tree is mirror (recursive)

Three sides (40 mins)

  • All three senses ask open questions
  • How do you understand backend development
  • What back-end development experience do you have and what do you do
  • Introduces HashMap, as distinguished from TreeMap
  • Using HashMap to implement a cache with expiration function, how to implement
  • If you need multiple threads, how do you keep them thread safe
  • How much memory would it take to put all the data into a Map
  • How to learn new knowledge
  • What books have you read recently

I really can’t remember a lot of questions. I feel lucky that the questions I asked were not too difficult and I got the right interview I haven’t seen before. Wish you all get the offer as soon as possible

Click on the
[here]Viewing the Obtaining Method
.

Here I also share some materials I reviewed after the interview with Bytedance, I hope you can get the offer you want ~

Programmer Soft Power (some readings)

Interview questions and analysis summarized in the interview process

Some mind maps in the Learning process (self-drawn)

Click on the
[here]Viewing the Obtaining Method
.