Meituan side

04.05, push in A senior (urged), threw Meituan resume, to arrange the written test on Thursday evening, written out A one and A half, arrange the interview on Sunday, start to think of, Friday’s more time to prepare, hr said want to hurry to walk behind the process, and then arranged in the experiment class 4 PM on Tuesday, the following is the content of the interview

  1. Self-introduction, about the choice of graduate school and work.
  2. Watch the game more, and then asked some details of the game, one by one.
  3. See the project, ask the middle of the project to do what is difficult, what is the function, what is difficult to achieve, speaking of UICollectionView and ScrollView nesting, can use a separate UICollectionView to achieve
  4. Compare the similarities and differences between UICollectionView and UITableView
  5. Asked the computer network model, remember each layer model corresponding to what protocol, what algorithm should be, I mentioned the algorithm, protocol and related to ask again, such as: Dijstra algorithm, TCP and UDP differences, UDP use scenarios, how to design to ensure the security of UDP……
  6. Classic interview questions, url input browser what happened, very detailed did not finish let me stop, middle said DNS resolution, and asked to know DNS HTTPs, carrier hijacking…
  7. How long have you been learning iOS? Start by asking about the basics of iOS
    • You know MetaClass? Tell me
    • Describe the method lookup process, (describes the instance method and class method lookup process)
    • Multithreading knows what not to use
    • How to design the serial, parallel and serial scenarios, and what APIS to use in between?
    • Block uses attention implementation (circular reference, __block)
  8. How to judge the intersection of two single linked lists, (MY brain is pulled out, light thinking how to optimize, violence solution did not say, has been reminded did not say)
  9. I asked about binomial trees, have you done anything with binomial trees? (No)
  10. Have you used heap sort (no), know what sort (insert, bubble, select, merge, fast sort), ask the idea of fast sort
  11. Serpentine prints two-dimensional arrays
  12. How do I add an element to a two-way loop
  13. Do you know the LRU algorithm, if let you design how to implement (very cool said with a two-way list)
  14. Asked if Apple asked you to do itenumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop), how do you do it (no)
  15. Do you want to ask me how to implement the LRU algorithm? (The interviewer said to use Dictionary+ two-way linked list)
  16. Have you seen WWDC? Tell me what you remember
  17. Name one place that you feel to learn best, anything, I said OC language, and then pulled the design behind the language like contrast, said OC and JAVA C++ difference feeling.
  18. Finally, I went back to the intersection of singly linked lists, said to take extra space to do it, I said to use sets, and I ended up

We talked a lot for more than an hour. The biggest feeling is that we still need to strengthen the data structure and algorithm and brush more questions. Make sure you ask the interviewer the right questions before you answer them.

Meituan 2 face

This is really cool… The whole thing lasted 23 minutes, and I wasn’t interested at all. Here are the questions:

  1. Self-introduction, graduate school and job choice
  2. The related work of the laboratory is introduced
  3. Writing quicksort
  4. Why do I put the swap in the middle of the query? I’m depressed. This is where the exchange takes place
  5. Then asked me how to calculate the time complexity, I explained the mathematical derivation, and then explained the formula results, and then explained the code is a coefficient, which is a constant term… And then asked me to think about how it worked out… I was depressed and said no
  6. And then ask what does the structure of a full binary tree look like in memory? (Stunned)
  7. Unable to say the first few questions, I felt that I was not interested, so I simply asked two iOS, and said the advantages of the delegate
  8. What’s the difference between them and Block
  9. And then it was gone… Do I have any interests or hobbies?
  10. What are you reading now?
  11. Is there anything you want to ask me? I asked the full binary tree in memory structure is what it looks like, the interviewer advantage embarrassed smile, baidu yourself…

Bitter tears, estimated not to dig a grave…

Get ready. Get ready. Go somewhere else