当前位置:网站首页>[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 !
边栏推荐
- Day 248/300 关于毕业生如何找工作的思考
- 机器人类专业不同层次院校课程差异性简述-ROS1/ROS2-
- 在JEECG-boot代码生成的基础上修改list页面(结合自定义的组件)
- [Yu Yue education] Dunhuang Literature and art reference materials of Zhejiang Normal University
- Remember the implementation of a relatively complex addition, deletion and modification function based on jeecg-boot
- [Tera term] black cat takes you to learn TTL script -- serial port automation skill in embedded development
- Defense (greed), FBI tree (binary tree)
- Luogu p2141 abacus mental arithmetic test
- LeetCode 732. My schedule III
- Avtiviti创建表时报错:Error getting a new connection. Cause: org.apache.commons.dbcp.SQLNestedException
猜你喜欢
ECS accessKey key disclosure and utilization
[English] Verb Classification of grammatical reconstruction -- English rabbit learning notes (2)
MySQL is sorted alphabetically
女生学软件测试难不难 入门门槛低,学起来还是比较简单的
MySQL5.72.msi安装失败
Address bar parameter transmission of list page based on jeecg-boot
The internationalization of domestic games is inseparable from professional translation companies
Machine learning plant leaf recognition
Office doc add in - Online CS
Esp32 esp-idf watchdog twdt
随机推荐
金融德语翻译,北京专业的翻译公司
How much is it to translate Chinese into English for one minute?
What are the commonly used English words and sentences about COVID-19?
Difference between backtracking and recursion
Cannot create poolableconnectionfactory (could not create connection to database server. error
Lesson 7 tensorflow realizes convolutional neural network
[ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)
記一個基於JEECG-BOOT的比較複雜的增删改功能的實現
Avtiviti创建表时报错:Error getting a new connection. Cause: org.apache.commons.dbcp.SQLNestedException
专业论文翻译,英文摘要如何写比较好
[Yu Yue education] Dunhuang Literature and art reference materials of Zhejiang Normal University
Biomedical English contract translation, characteristics of Vocabulary Translation
LeetCode每日一题(1870. Minimum Speed to Arrive on Time)
LeetCode 731. My schedule II
Wish Dragon Boat Festival is happy
MySQL high frequency interview 20 questions, necessary (important)
LeetCode 729. My schedule I
A 27-year-old without a diploma, wants to work hard on self-study programming, and has the opportunity to become a programmer?
Chinese English comparison: you can do this Best of luck
记一个基于JEECG-BOOT的比较复杂的增删改功能的实现