JavaScript or Java?
I started my DSA journey with Java as my first programming language, but I found my first job in the MERN stack domain. Now, with 1 year of experience in a Node.js environment, I want to restart my DSA journey. I am more comfortable with JavaScript and haven't been in touch with Java for the past year. Should I continue with Java or switch to JavaScript for DSA?
I do DSA in C++. LLD in Python.
Work with Node(Typescript) in my job so I am open to use Typescript for LLD whenever necessary. Even DSA.
Does that really matter? I don't think so.
So I started with DSA in C++. Switched to python as I was not using C++ in my job.
After few months, switched back to C++ as I struggled with python for DSA. Its a language agnostic skil. Do it in Java and be open to switch to Javascript for DSA whenever necessary (few companies force this).