Is using JAVA for DSA a real disadvantage in online assessments compared to C++?

For Spring Boot developers — do you stick with Java for DSA or switch to C++/Python?

I’m mainly into frontend (React) and recently started with backend (Spring Boot). Alongside that, I’ve done around 20% of DSA in C++.

My question is for developers who work with Java (Spring Boot in particular): do you practice DSA in Java itself, or switch to C++/Python for online assessments?

The reason I’m asking is because in timed coding assessments, Java’s longer syntax feels like it might be a disadvantage compared to faster-to-write languages. If the assessment is strict on time, wouldn’t someone using C++/Python have an edge even if the logic is the same?

So — is it better to continue with Java for consistency, or switch to a shorter language for assessments?

Posted Oct 3, 2025, 5:17 PM UTC

15
Loading comments…