In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article shows you what are the newly released Go interview questions, which are concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Baidu side
Baidu's interview steps are divided into computer basic, go-related, mysql-related, redis-related, linux-related questions. There are also some divergent problems.
Basic correlation
Algorithms, including not limited to red-black trees, binary trees and so on.
Data structures, including not limited to linked lists, arrays, etc.
Some problems related to tcp and ip, such as three-way handshake, four-wave, time_wait and so on.
The browser enters the address and describes in detail the process that happens in the middle. I feel like I will basically be asked, .
In this case, my answer is fragmentary, and I haven't answered any of the algorithm or data structure. The latter two have been checked because they have been asked by the interview before, and the answer is OK.
Go correlation
GC, (face GO must problem), stw timing in GC, how to solve each stage.
Gpm, (face-to-face GO problem), this must be fully understood, how preemptive scheduling is preemptive, how to schedule goroutine, the number of M and P.
How to implement a goroutine pool gracefully (the answer is fragmentary)
Talking about memory Escape
Memory management (this is also answered sparsely)
Mysql correlation
Mysql lock, split lock granularity and locking algorithm (gap lock, record lock, key lock), and when the locking algorithm will be used. It probably means that if it can be matched accurately, the record lock will be used, otherwise it will be reduced to a gap lock.
The principle of mysql mvvc implementation.
Mysql index, the timing of index establishment, the establishment of rules.
Have you ever practiced the rules of mysql sub-database and sub-table?
The type of mysql index and its data structure
Mysql transaction features, as well as isolation levels.
Redis
What are the data types of redis? use scenarios to talk about them.
There should be two ways to encode redis zset. It is configured in the configuration file. The default 128elements are ziplist (compressed table), and those greater than 128are skiplist.
Memory obsolescence Strategy of redis
Persistence Strategy of redis
Redis distributed lock
What is the redis distributed architecture?
If there is a ranking, use zset, according to points and time to sort, the score is high, the time of the nearest shot in front, how to achieve?
Linux
What are the commands you are familiar with?
If the online traffic surge, all hit a upstream, how to troubleshoot.
How to find out the ip of the top 10 requests in the access log of nginx
Summary
After my interview, I usually ask the interviewer, according to this interview, if there are any good suggestions or opinions on my technology, the interviewer's answer to me is: the computer foundation is weak, but the business ability is very strong. This is also my current situation, , so recently I have been looking at the computer theory and operating system of the teacher of Harbin University of Technology. I hope hard work can make up for clumsiness.
Miha took a tour.
Miha Tour interview is generally divided into four parts, go related, mysql related, redis related, linux related.
Go correlation
I was confused by the first question. The code is as follows:
... = make (map [int] int, 10) for I: = 1; I
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.