当前位置:网站首页>[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 !
边栏推荐
- Redis Foundation
- (practice C language every day) reverse linked list II
- org. activiti. bpmn. exceptions. XMLException: cvc-complex-type. 2.4. a: Invalid content beginning with element 'outgoing' was found
- Number of query fields
- 云服务器 AccessKey 密钥泄露利用
- 一文读懂简单查询代价估算
- Phishing & filename inversion & Office remote template
- 字幕翻译中翻英一分钟多少钱?
- SQL Server manager studio(SSMS)安装教程
- 翻译生物医学说明书,英译中怎样效果佳
猜你喜欢
如何做好互联网金融的英语翻译
記一個基於JEECG-BOOT的比較複雜的增删改功能的實現
LeetCode 739. Daily temperature
如何做好金融文献翻译?
Modify the list page on the basis of jeecg boot code generation (combined with customized components)
Engineering organisms containing artificial metalloenzymes perform unnatural biosynthesis
JDBC requset corresponding content and function introduction
钓鱼&文件名反转&office远程模板
论文翻译英译中,怎样做翻译效果好?
基於JEECG-BOOT的list頁面的地址欄參數傳遞
随机推荐
Redis Foundation
机器学习植物叶片识别
How effective is the Chinese-English translation of international economic and trade contracts
Drug disease association prediction based on multi-scale heterogeneous network topology information and multiple attributes
On the first day of clock in, click to open a surprise, and the switch statement is explained in detail
Cobalt Strike特征修改
Number of query fields
Facebook AI & Oxford proposed a video transformer with "track attention" to perform SOTA in video action recognition tasks
SQL Server Manager studio (SSMS) installation tutorial
Office doc add in - Online CS
[Yu Yue education] flower cultivation reference materials of Weifang Vocational College
成功解决AttributeError: Can only use .cat accessor with a ‘category‘ dtype
字幕翻译中翻英一分钟多少钱?
(practice C language every day) reverse linked list II
SQL Server manager studio(SSMS)安装教程
Leetcode daily question (1997. first day where you have been in all the rooms)
Biomedical localization translation services
Classification des verbes reconstruits grammaticalement - - English Rabbit Learning notes (2)
国产游戏国际化离不开专业的翻译公司
A 27-year-old without a diploma, wants to work hard on self-study programming, and has the opportunity to become a programmer?