当前位置:网站首页>[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 !
边栏推荐
- 利用快捷方式-LNK-上线CS
- Black cat takes you to learn EMMC Protocol Part 10: EMMC read and write operation details (read & write)
- 英语论文翻译成中文字数变化
- Redis Foundation
- Day 245/300 JS foreach data cannot be updated to the object after multi-layer nesting
- Day 248/300 thoughts on how graduates find jobs
- 我的创作纪念日
- 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
- Monotonic stack
- Facebook AI & Oxford proposed a video transformer with "track attention" to perform SOTA in video action recognition tasks
猜你喜欢
MySQL5.72. MSI installation failed
Lecture 8: 1602 LCD (Guo Tianxiang)
Machine learning plant leaf recognition
国产游戏国际化离不开专业的翻译公司
Advanced MySQL: Basics (1-4 Lectures)
CS passed (cdn+ certificate) PowerShell online detailed version
Today's summer solstice
Biomedical English contract translation, characteristics of Vocabulary Translation
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
How to convert flv file to MP4 file? A simple solution
随机推荐
Tms320c665x + Xilinx artix7 DSP + FPGA high speed core board
How to convert flv file to MP4 file? A simple solution
Luogu p2141 abacus mental arithmetic test
Suspended else
[ 英语 ] 语法重塑 之 英语学习的核心框架 —— 英语兔学习笔记(1)
Avtiviti创建表时报错:Error getting a new connection. Cause: org.apache.commons.dbcp.SQLNestedException
Error getting a new connection Cause: org. apache. commons. dbcp. SQLNestedException
The internationalization of domestic games is inseparable from professional translation companies
MySQL5.72. MSI installation failed
Delete external table source data
Day 245/300 JS forEach 多层嵌套后数据无法更新到对象中
Phishing & filename inversion & Office remote template
基于JEECG-BOOT制作“左树右表”交互页面
Day 248/300 关于毕业生如何找工作的思考
Traffic encryption of red blue confrontation (OpenSSL encrypted transmission, MSF traffic encryption, CS modifying profile for traffic encryption)
How do programmers remember code and programming language?
(practice C language every day) reverse linked list II
[mqtt from getting started to improving series | 01] quickly build an mqtt test environment from 0 to 1
LeetCode 739. Daily temperature
Leetcode daily question (971. flip binary tree to match preorder traversal)