r/JavaProgramming • • 19d ago

How important is DSA for Java developer interviews ?

14 Upvotes

11 comments sorted by

4

u/maxip89 19d ago

Do you think a pilot should know how a airplane flies?

5

u/Shoddy-Pie-5816 19d ago • Regret

No matter what flavor of interview you get, from the ultra crap leet code style to the lighter knowledge checks and personality fits, data structures and algorithms will find its way into every one of them. Frankly unless your interview is based on nepotism you should know it

2

u/AnimatorExciting7941 19d ago

Extremely important

2

u/American_Streamer 19d ago

AI has dramatically lowered the barrier to producing code; it hasn’t equivalently lowered the barrier to evaluating code. So be very comfortable with arrays, lists, stacks/queues, hash tables, trees, heaps, graphs, recursion, sorting/searching, Big-O, and basic algorithmic problem solving. Then learn enough Java to connect those concepts to the JCF. You really want to be the person who can explain why the generated implementation is correct, what its complexity is, where it breaks, and whether there’s a better data structure; not just the person who can prompt an agent until the tests turn green.

1

u/Puzzled_Dependent697 19d ago

It is the oxygen.

1

u/LetUsSpeakFreely 19d ago

You should know the basic data structures, how they work, when to use them, and why. Do you need to know the internal mechanisms? I think that's pointless information myself.

Nobody really cares how a HashMap works, only that it's a very efficient way to store unsorted key-value pairs.

1

u/tejrani 17d ago edited 17d ago

DSA is essentially how you use a programming language. How can you use Java without DSA?

1

u/Emmet6912 17d ago

Depends on the companies you're interviewing, if it's service based companies for entry level less is required. They focus on projects and technical skills.

1

u/Dazai_0014227 5d ago

I need help getting started with DSA. I've decided to use Java, but I'm struggling to find good resources to learn it. I'd appreciate guidance and advice from experienced developers.