Study which basic algorithms are tested in the Blue Bridge Cup
Find learning materials (videos/books) of related algorithms to learn the principles of basic algorithms
Find the topic oj of related algorithms for training
1. What algorithms are tested in the research
(1) You can search the previous real questions of the Blue Bridge Cup and make a summary by yourself
(2) You can go to acwIng to see which algorithms need to be learned for basic algorithms ( event - AcWing , ps: I did not advertise, the suggestion is for reference only)
2. Find relevant learning materials
(1) You can search for algorithms that need to be learned on Bilibili . I strongly recommend Bilibili . It is really a super good learning software.
Attach the up main link that is more useful to me personally :
(2) You can buy some formal algorithm online courses , and go to the systematic learning algorithm . The systematic learning algorithm is more efficient and the thinking is clearer.
For example: Niuke, Likou, acwing, etc. all have online courses for learning basic algorithms. (If it’s just an online class, pdd seems to be sold, but students who are capable should try to use formal channels)
3. Find the topic oj with related algorithms for training
Every time we finish learningan algorithm , we need to find some template questions to verify and remember this algorithm.
For the template of the algorithm, we need to keep in mind and type it out skillfully , so every time we finish learning an algorithm, we go to an oj to train template questions, and type a code repeatedly until we can type out the code proficiently and quickly, and then Proceed to the next step of using the algorithm.
(1) Because it is an oi competition system, try to maintain the correct rate as much as possible, and try to submit it once in practice
(2) Pay attention to thinking about some special test samples (ie: create some data for testing, such as: maximum value, minimum value, 0, 1, etc.)
(3) The Blue Bridge Cup is a competition based on violent solving, so you can first think about how to solve the problem violently , and then think about using other algorithms to solve the problem after solving the problem violently. (I tried to print the answers to violent solutions during the exam, and observed the corresponding problem-solving rules of the questions)
(4) The Blue Bridge Cup competition is a scoring competition system, and we can use brute force algorithms to obtain part of the competition scores . (i.e. pass %30 or %60 or %100 test data)
(5) Persist in doing at least one question every day , and record the thinking and solution of the problem every time you finish a problem. You can share your thinking and insights on the community websites such as csdn and blog garden . Note that you can create corresponding columns according to the content, so that you can find them easily.
(6) In terms of time arrangement, just write the questions if you have time, and just think about the questions . When you are free and want to do the questions, you must do it immediately! ! !
at last:
When preparing for the exam, you need to enjoy the joy of doing the questions. You need to think more about the method of solving the questions. When you do the questions, you will always feel that you are bad. That’s okay. What we need to do is to persist and believe in ourselves. Because we are just ordinary people among all living beings, it is impossible for us to create knowledge. We are all through continuous understanding and reciting, so that we can master this existing knowledge. So, as long as we persist, there will be gains!