r/javahelp • u/vhacbao_vn • Jan 06 '21
Algorithm in Java Spring
I am Java self-taught, I just learned algorithms and spring framework. I want to master web programming using Java. I am still a student, I have never participated in real projects so I have many questions I want to be answered. I would be more than happy to receive an answer from someone.
-In Java Spring practical projects, algorithms such as recursion, backtracking, BFS, DFS, binary tree search, etc are used and used a lot? When Spring Data JPA has a search function, are search algorithms such as binary tree search, BFS, DFS, etc important and used?
- Between the algorithm and the framework, which one should I learn more deeply?
Hope someone will answer these of my problems. Thanks very much
2
u/evils_twin Jan 06 '21
Memorizing how to code these algorithms isn't really needed when you actually start working, but you will probably be tested on these things in an interview.
What you should understand is the strengths and weaknesses of each of the algorithm so when you are trying to solve a problem you can choose most efficient algorithm and data structure that will solve your problem.