If you haven't learned the data structure and algorithm, can you go directly to letcode to do the problem?

I have studied java, and done several projects, but the foundation is poor, I can only sort simply, I have not systematically learned computer knowledge, and I have data structures and algorithms. Can I do letcode and learn at the same time?


have you ever seen anyone who can run without learning to walk?


how to put it, the so-called technique is the method that has been used for the second time. In fact, browsing leetcode is the same as reading books in high school and brushing problem sets in class, except that you have not read a book and have no teacher to explain it. There is no question of whether it is possible to do exercises, but it is just a matter of efficiency. Just like some people have too many test brushes, they still can't change the package for the exam. You can choose how to do exercises according to your previous high school experience, such as some DP questions. If you don't know what DP is, go to the book to find the corresponding content. It's best if you can understand it, and then practice more of DP's questions. If you don't understand, ok, also shows that you need to add some more basic knowledge. The rhythm of learning developed during compulsory education should not be forgotten.


if you don't learn the data structure, you can browse the pat Grade B item bank, and then brush Grade An after learning the data structure. You can also go to here to do the data structure lesson. The advantage is that there will be a very powerful teacher (ww27 name) to solve the problem, but the disadvantage is that you have to pay some money


what the upstairs said is too absolute!
but the above questions in leetcode are graded differently. You can do them while learning, from easy to difficult.
do exercises and brush until you understand. You won't do anything. Learn more!
but perhaps the most annoying thing for programmers is that they don't know how to learn, just like I do now, ah,


you can brush leetcode, everything is difficult to start, learn while doing, look at other people's answers and problem-solving skills, and then make up your own homework and quickly get into the rhythm. Come on


or read the book first, otherwise you can't think of many solutions at all. There is no point in doing the problem. It is necessary or necessary to lay the foundation first


the question of the landlord is very abrupt. Of course, the title can be brushed, but the correct rate is certainly not high.

I suggest that the landlord should first find a book to get started, such as "lie data structure",
and then you can take a look at the book "algorithms", in which Java is used to implement various algorithms.
you can do exercises. After all, the best way to learn is "Learing by Doing".

of course, you can also take a look at "data structure and algorithm Analysis", which is recommended to read C (about C language, you can find a "Head First C").


first take a look at cracking the coding interview


if you are not afraid of being discouraged, it is OK to do exercises, and it is quite effective. If you are not in a hurry, it is better to do so step by step


or to learn the basics well so that you can run faster

.
Menu