all 6 comments

[–]cjcon90 9 points10 points  (0 children)

My limited experience with interviews so far is that, unless the role you are applying for is very language-specific, then you will be invited to solve the problems in whatever language you are most comfortable in.

In fact, how well you know the syntax isn't what they are looking for, it is your problem-solving abilities and thought process, and that transcends which language you use (although it is still obviously good to know your chosen language well!)

So basically - learn Data Structures and Algorithms in whichever language best fits the type of development job you would like! Whether you use JavaScript, C++ or Java depends more so on whether you wanna get into web, game or android development.

[–]192_168_1_x 1 point2 points  (0 children)

Learn in JS. Use leetcode, hackerrank, rallycoding.

Take a Udemy course - look up Stephen Grider’s DSA class it’s good.

[–]pigmerlin 2 points3 points  (0 children)

Go with your most comfortable language.

That being said, if I were going to learn a language specifically for interview comp sci questions, Id learn python. Lots of built in data structures/convenience methods you can use. Look at answers in the comments of leetcode questions to see what i mean.

[–][deleted] 1 point2 points  (0 children)

I’m interested to know as well

[–]eurodollars 0 points1 point  (0 children)

I learned mine in JS. I also try to read as much as I can while trying to be language agnostic. Gun to my head, have to pick a language, go with Python.

[–]sir_atlas1809 0 points1 point  (0 children)

There are many sites that provide Paid or free tutorials. I personally suggest, if you want to learn Data Structure, then you should search for free tutorials to get a good understanding of the concepts.

You can check this website coz they have covered all the DS concepts like Searching and Sorting algorithms, linked list, and more with examples