Preface
This year, 9 month 10 month , Every day I brush the new interview questions in the group , Looking around the big factory interview in the group file , Every day's mood is like a song ,“ Eighteen corners of the mountain road ”. Click here for free , Code :CSDN
I've seen other people's Tencent building , Imagine the feeling of Tencent building looking out .
I've been to Ali Hangzhou park during my freshman summer vacation , Worry about whether you have a chance to go again .
I really didn't expect myself to come to Tencent in confusion , Ali is here again .
One day , Dream come true , Think of a sentence in Ali Park ,“ Thank you for your hard work ”.
Interview
tencent (WXG Wechat payment )
It was CSIG Cloud industry cluster , By accident WXG Wechat group picked up , Thank you for the coincidence .
Tencent resume ( Programming + 33 branch 35 second )
- Handwritten in Notepad OOP Implement a check-in program .
- From a bunch of numbers O(n) Find non duplicate numbers .
- string manipulation , Magic reform KMP.
- Mathematical intelligence problems ,64 Before the horse is taken 8, Ask as soon as possible .11 Time .
- Resume , Ask what the project did , The main technology stack .
Tencent side (41 branch 38 second )
- Asked me deeply about the project .
- Thread pool , Connection pool , Their advantages .
- Java Common design patterns .
- Tell me about builder Builder pattern . This is not a good answer .
- TCP/UDP difference , When and what to use .
- UDP Realization TCP.
- To design a APP,TCP/UDP Specific application .
- Database index , Database engine .
- Direction of study , I said, C++/Java/Python More balanced .
- What has been done in the project of scientific and technological innovation .
Didn't give me a chance to ask questions , Maybe I'm too good .
Tencent on both sides ( Video interview ,75 minute , Mainly write code )
- ACM Complex rule simulation . You can use it here Java The chain of responsibility model , But I didn't answer when I asked , I've seen it and forgot .
- Java GC. Start reciting balabala.
- Parent delegate mechanism .
- Four necessary conditions for deadlock :
- mutual exclusion : A resource can only be used by one process at a time .
- Request and hold conditions : When a process is blocked by a request for resources , Keep the acquired resources .
- Conditions of non deprivation : Resources obtained by the process , Before the end of use , Can't be forcibly deprived .
- Loop wait condition : A circular waiting resource relationship is formed between several processes .
- An exclusive lock , Shared lock and update lock .
- What else do you want to ask . Asked about the technical atmosphere and learning situation .
- XSS Inject the attack and understand No . No way .
- SSH Sign in , I said for a long time , What's the name of this method . Think about it. , Asymmetric encryption .
- How many hours does it take to implement a face recognition software ?
- Tell the truth , This side of me is closing in , Some of them forget .
Tencent on three sides ( Wechat voice )
- Process scheduling , Process state switch .
- How to use it? Java/C++ Implement thread pool , Specific measures .
- Spring frame ,ORM frame Hibernate Tell me about .
- IOC, AOP,IOC( Inversion of control ) and DI( Dependency injection ) What's the difference ,Java The reflex mechanism .
- Adapter pattern (Adapter pattern), Bridging mode (Bridge pattern), Portfolio model (composite pattern)
- Mainly ask me what technical direction I want to do .
- Introduce the division of departments and personnel of Tencent .
- HDFS, Paxos*** agreement ,zookeeper and redis A little bit .
- oral offer
Alibaba
Ali side (38 branch 50 second )
- Self introduction. + Project introduction . Deep learning ,SSH frame ,C#,Java
- You mentioned the connection pool ,druid Connection pool .
- Common sorting algorithms . Quick line up , Merge two ways , Bubbling , Insert , Tournament ranking .topK problem .
- TCP Three handshakes , Four waves .
- Database engine comparison , Indexes .Innodb,Myisam and Memory Compared with ,B+ Trees ,hash,between operation ,left join operation .
- Look at you ACM, You tell me a simple data structure , Answer and look up set and line segment tree .
- How to ensure the atomicity of multithreading . Atomic classes , lock ,volitile Partial operation .
- In depth asked optimistic lock , Pessimistic lock and its realization . I mentioned CAS, ABA But don't ask me hhh.
- Python Fundamentals of machine learning .
- How to solve the dependency problem .
- zookeeper lock , Database isolation level .
- docker Isolate deployment issues .
- taobao What factors should be considered in query sorting ? It's a difficult question , There's a lot to say , I guess I read machine learning on my resume , Answer the past consumption record , Search records , Collaborative filtering , clustering .
- What can I add , We should consider the situation of the business side ,balabala.
- What else do you want to ask .
summary : The questions are fragmentary but comprehensive , It's easy to see a person's basic level of mastery .
Ali on both sides (45 branch 39 second )
- Self introduction. + Project introduction . Deep learning ,SSH frame ,C#,Java
- What's your advantage over others in the project , It's when you use something that other people don't have .
- What do you think about your abilities .ACM Ability . I thought I was going to type the code . Talk while you turn it on .
- How do you learn ?
- Draw a software execution process ,UML, ER.
- Have you ever written development documents .
- Java How to load a class , Load validation ready to parse initialization using unload , Parent delegate mechanism .bootstrap class loader,extend class loader Specifically .
- linux Common commands .iftop,netstat,htop,apt,yum,source,corn,docker wait .
- Tell me about docker.
- MVC,MVVM contrast .
- Spring Of IOC, AOP.
- ORM frame Hibernate Tell me about .
- Do you understand the design pattern ?
- What else do you want to ask .
summary : This side is regular , Didn't ask difficult questions , As long as you do try what your resume says , Should be able to answer .
Three sides of Ali (leader Noodles 18 branch 59 second + 24 branch 53 second )
- Make an appointment one day in advance
- Tell me about the interview today 40 About minutes , Including self introduction , technical knowledge , Project experience .
- Self introduction. . scholarship ,ACM, Deep learning , Traditional project development , Load balancing optimization, etc .
- You maintain CSDN and Github primary coverage , brush ACM What's the situation .
- Which of your basic knowledge is better ? Every piece is very even ...
- TCP How to realize reliable transmission over unreliable network transmission ? Over time retransmission , The sliding window .TCP state .
- TCP Timeout time ,RTT How to calculate .
- 4G Switch Wifi When TCP How to achieve traffic change ? Group loss , Fast retransmission , Quick recovery, etc . Routers, switches, queues .
- common TCP optimization algorithm .TCP Congestion algorithm , Answer Google BBR And sharp speed principle and simple implementation .
- operating system linux Kernel pair TCP The way to optimize ,HTTP1.0,1.1,2.0 Every version makes updates . state 100,host Field , Google browser 6 individual TCP Connections etc. , Supports long connections .
- HTTP in cookie and session The difference between . Client server , Methods of representing users , Ban cookie What to do when .
- On the basis of the previous article, we expanded the answer Redis.
- session Storage data structure , For a single user set, Multiple users hashmap.
- hashmap Principle ,key-value Calculation , Three ways of conflict resolution . Compared with bisection time complexity .rehash Make a ring .
- hashtable Thread safety , Talk about the implementation of thread safety .
- conCurrentHashmap and Hashmap In terms of performance, there are other optimizations besides segmented locking . I only answered the question of expansion in the paragraph .
- High concurrency scenarios hashmap Use ,CAS,ABA problem .
- The concepts and differences between parallelism and concurrency . Time slice , Context switch .
- Database paradigm ,NoSQL Do you know ?
- UML chart ,ER chart , flow chart .
- Index of database , Left most prefix ,abc Three primary keys .
- Cross table query common optimization ideas .
summary : This person is very organized , It's a big guy , I'm typing the interview record all the time , The overall experience is still very good .
All around Ali ( Intersection Tmall supermarket )
-
Self introduction. , After the introduction, let me confirm it again major , Education , Call to confirm .(?)
-
Tell me about your ACM experience .
-
Have you ever considered taking the postgraduate entrance examination ? You can learn more from the enterprise . I started to get lost for a while , I can't hear what the other side says .
-
Compare postgraduate entrance examination with work .
-
How to balance work and leisure time .
-
What did you do in the deep learning program . Read the flower book , Watermelon book , Introduction to machine learning .
-
What can be used in this project , Night Cameras , Old photo restoration and so on .
-
You know Java Development framework ?SSH,SSM. Expanded dubbo,durid,rocketMQ,Netty. I have answered too many questions , It's been a long time .
-
volitile Keep memory visible , Prohibit command rearrangement ,***.
-
Memory barrier . Just say you don't know , God, I really don't understand ...
-
Tell me about rocketMQ, Priority queue ,Filter,Persistence,Reliablity.
-
How to do with message consistency . To guarantee idempotence .
-
Back to consumption . Retroactive consumption refers to Consumer The news of the success of consumption , Because the business needs to be re consumed .
-
wait(), sleep() difference .yield Method .
-
lock and synchronized contrast .
-
Reentrant lock , Biased locking , Lock coarsening .
summary : The questions are very good , It's comprehensive and in-depth . But I'm too good , A few wrong answers .
Ali HR Noodles
- Introduce yourself to ease the embarrassment .
- ACM, What to learn , The paper .
- Learning methods , Practice method .
- What's the difference between junior high school algorithm competition and university competition .
- How do you teach yourself .
- How to balance work and study .
- Flower Book , What are the main contents of the introduction to machine learning ? It's a little bit shallow , however HR I asked a question .(HR Also know the technology , The fog )
- The contribution of the computer community you led during college .
- In terms of social practice “ Top 10 teams ”, The whole activity content , The flow talks about .
- Other routine questions .
- I want to ask , Department personnel .
summary
stay 3 A few days in the month , Every day I worry about being picked up , What to do if you can't get an interview call ? I didn't talk about hanging up ? Why are you still in the resume pool ?
Why other people are not as good as I can get ashore . In fact, I'm not strong enough , I want to understand and go to study again . I have also arranged a lot of learning materials here , You can click here for free , Code :CSDN
If you need the above information, you can click here to get it for free , Code :CSDN