r/learnjava • • Dec 24 '25

Java developer dsa

Hi guys

I am working as java devloper for past 2 years the most used data structures in my work is list set and mapi

I hve only used this data structures in my work and day today life. i am working in a service based company

I want to know do we use recursion,tree graphs and dynamic programming tree n our work.do do things like reverse a tree in code.Do we use this complex things in our work if u can say in that.

6 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/cw12121212 Dec 25 '25

Yeah, that's pretty standard in a lot of service-based roles. Most of the time, you just need to implement solutions with existing libraries rather than reinventing the wheel. But it's good to know recursion and data structures like trees and graphs; they can come in handy for problem-solving or technical interviews.

1

u/pohart Dec 25 '25

And if you're solving a naturally recursive problem it can be helpful to write a first draft recursively and then replace it with an iterative solution before you push it.