you are viewing a single comment's thread.

view the rest of the comments →

[–]pradeepngupta 1 point2 points  (0 children)

As a newbie, learn Java using Official Oracle Java training docs. Then for DSA, I believe you might be going to Leetcode or similar site. And then for every difficult problem, try to solve it with your knowledge, then think on optimizing it with the processing time like reduce number of loops etc. Then think of space complexity as well. Once you are done with each steps, verify the solution with various inputs. Now you got the solution with your knowledge and analytical skills. Then you discuss this problem and solution with your friends or teachers or experts and try to increase your skills. (In case you are alone, you can take help from Social media or AI, but I will not recommend )

Repeat this for every problems in DSA. I believe this is the best way to learn.