当前位置:网站首页>[brush questions] how can we correctly meet the interview?
[brush questions] how can we correctly meet the interview?
2022-07-06 06:43:00 【_ Great intelligence】
This article teaches you to brush questions to prepare for an interview !
List of articles
Why should I brush the title ?
We often say , Algorithms and data structures are CS(Computer Science) At the heart of , Brushing questions is the only way to quickly master algorithms and data structures .
The biggest advantage of brushing questions is that the hand tearing algorithm requires your naked eye debug The ability of , It requires a lot of boundary judgment , Daily work requires constant consideration of boundaries , Can you still see the naked eye in a high load working state debug Well , The algorithm is used as a threshold , A test of brain power , In some algorithm problems, we need to remember some classical algorithms , Part of it is a bit like memory , Some classic topics or classic algorithms , Remember his routine or thought .
Whether you are Xiaobai who has just come into contact with the code , I have worked in a large factory for many years coder, Brushing questions is a magic weapon to ensure technical proficiency .
Algorithms are extremely important to programmers , Languages and development platforms are constantly changing , But the algorithms and theories that never change , The most straightforward reason for brushing algorithm is to find a good job , It must be necessary to brush questions, which is a good platform . Now the algorithm brushing platform is mixed , A lot . How to choose a correct question brushing platform ?
With what to brush the question ?
Next, I will introduce you to a platform that I think is most closely related to big factories —— Cattle from
If you're new , Then you can first consolidate the relevant basic grammar of the language you are learning , stay Cattle from There are also corresponding plates for this part , as follows :
If you are confident in the basic grammar of the corresponding language, you can also brush algorithm problems , Here, the difficulty classification of algorithm problems on niuke.com is also great , There are introductory questions , Interview must brush questions , Interview high-frequency questions and so on ! as follows :
At the same time, during your interview , Many companies are also Cattle from Test your algorithm ability in the problem-solving environment , So I usually practice on Niuke website , In the future, you will get twice the result with half the effort !
How to brush questions ?
Some students just like it , It's the ultimate difficulty , I feel that as long as I make the most difficult , The rest is easily solved . This kind of eager thought should not .
Algorithm training is a systematic project , Step by step , Too eager for quick success and instant benefit , Instead, it is easy to feel frustrated because you can't solve problems , Counterproductive .
I remember one of my colleagues did something similar . I just heard that there was niuke.com , Just want to try it , After he went up, he picked a difficult topic , As a result, I thought for a long time and didn't do it , Get yourself particularly depressed .
You will find that this practice is inefficient , Even if the problem is solved , It doesn't mean you can solve other problems .
The reasonable way is to go step by step .
My suggestion is to brush the basic grammar questions first , Lay a good foundation and further brush algorithm problems , In this way, first of all, the basic grammar and common API There is absolutely no problem , It will definitely get twice the result with half the effort when brushing algorithm problems later !
Exercises
subject :
Answer key :
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double d = scanner.nextDouble();
System.out.println(Main.typeConversion(d));
}
public static int typeConversion(double d){
String s = String.valueOf(d).split("\\.")[0];
return Integer.parseInt(s);
}
}
subject :
Answer key :
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = scanner.nextInt();
int b = scanner.nextInt();
scanner.close();
//a and b The value of the swap
if(a<b) a=a+b-(b=a);
System.out.printf("%d %d %d %d %d",a+b,a-b,a*b,a/b,a%b);
}
}
subject :
Answer key :
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double d= scanner.nextDouble();
scanner.close();
// good heavens , It's too strong , Simple and crude
int i = (int)(d+0.5);
System.out.println(i);
}
}
In order to make it convenient to brush the questions, I put the link of Niuke directly below , You can click the blue font to jump and brush the questions directly !
Portal : Brush the entry
Brush the question , Everyone must be serious , Don't slack off !
Accumulate over a long period , Fang Chengda !
边栏推荐
- Erreur de type résolue avec succès: type de données « catégorie» non sous - jacente
- 生物医学本地化翻译服务
- Transfert des paramètres de la barre d'adresse de la page de liste basée sur jeecg - boot
- MySQL high frequency interview 20 questions, necessary (important)
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
- 如何将flv文件转为mp4文件?一个简单的解决办法
- It is necessary to understand these characteristics in translating subtitles of film and television dramas
- 【软件测试进阶第1步】自动化测试基础知识
- Redis Foundation
- LeetCode - 152 乘积最大子数组
猜你喜欢
Monotonic stack
如何做好互联网金融的英语翻译
Advanced MySQL: Basics (1-4 Lectures)
Transfert des paramètres de la barre d'adresse de la page de liste basée sur jeecg - boot
Market segmentation of supermarket customers based on purchase behavior data (RFM model)
生物医学本地化翻译服务
中英对照:You can do this. Best of luck祝你好运
LeetCode每日一题(971. Flip Binary Tree To Match Preorder Traversal)
My daily learning records / learning methods
云服务器 AccessKey 密钥泄露利用
随机推荐
[ 英语 ] 语法重塑 之 动词分类 —— 英语兔学习笔记(2)
如何做好互联网金融的英语翻译
如何将flv文件转为mp4文件?一个简单的解决办法
How do programmers remember code and programming language?
Traffic encryption of red blue confrontation (OpenSSL encrypted transmission, MSF traffic encryption, CS modifying profile for traffic encryption)
A 27-year-old without a diploma, wants to work hard on self-study programming, and has the opportunity to become a programmer?
Black cat takes you to learn UFS Protocol Part 8: UFS initialization (boot operation)
The internationalization of domestic games is inseparable from professional translation companies
[Yu Yue education] flower cultivation reference materials of Weifang Vocational College
[English] Grammar remodeling: the core framework of English Learning -- English rabbit learning notes (1)
Office doc add in - Online CS
金融德语翻译,北京专业的翻译公司
Wish Dragon Boat Festival is happy
Leetcode daily question (1997. first day where you have been in all the rooms)
Data security -- 13 -- data security lifecycle management
Distributed system basic (V) protocol (I)
Lecture 8: 1602 LCD (Guo Tianxiang)
钓鱼&文件名反转&office远程模板
Black cat takes you to learn UFS protocol Chapter 18: how UFS configures logical units (Lu Management)
论文翻译英译中,怎样做翻译效果好?