I am in final year now and going to start preparing for job interviews. I am basically starting to practice Data structures and Algorithms.
I am a Full stack developer specialised in Frontend (React) development.
I'll be targeting full stack (MERN) developer role for my career.
I know most of the people use C++/java/python to do DS+Algo but since I am targeting Full stack developer role, I am thinking of using JavaScript to do the same.
I don't think using C++ will benifit me as I'll be using JS for my daily job.
So here is my question-
Should I go ahead and use JavaScript to practice DS+Algo for the preparation of job interviews?
Any extra suggestions/tips/resources will be appreciated 🙂
Please don't hesitate to discuss/share your opinions/experience. It will be helpful for me and other people having the same confusion.
Top comments (13)
CrownSort discussion:
Subscribe
Personal Trusted UserCreate template
Templates let you quickly answer FAQs or store snippets for re-use.
Submit Preview Dismiss
Collapse Expand
Shubham Verma
Shubham Verma
Follow
Work
Engineer @GeekyAnts
Joined
May 25, 2020
Dropdown menu
- Hide
I am in my final year too!
With specialization in react.
I had the same problem of choosing which one to go for and I went for JS.
Now after learning the DSA in JS, I can say that it doesn't matter what language you choose.
The logic is exactly the same for them
Now I can implement a tree in JS and even in python and C++ because the logic is exactly the same although I just learned in it JS 😉
I took the Colt Steele's JS DSA course from Udemy.
Like comment: Like comment: 11 likes Like Collapse Expand
Shubham Prakash
Shubham Prakash
Follow
React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018
Email
shubham.prakash2308@gmail.com
Location
India
Education
BTech in Information Technology
Work
Mentor at Udacity, Full Stack Developer at Udacity
Joined
Jan 9, 2019
Dropdown menu
- Hide
Great to know that you didn't have any issue choosing JS for DSA. I have decided that I'll go with it. Thanks for sharing your experience Shubham.
Like comment: Like comment: 1 like Like Collapse Expand
Your DevOps Guy
Your DevOps Guy
Follow
DevOps at eBay | Ex-SDE at Amazon | Visit my blog //www.yourdevopsguy.com
Location
Germany
Work
DevOps Engineer at eBay
Joined
Jun 17, 2020
Dropdown menu
- Hide
This will help, regardless of the language you choose (I give my opinion about programming languages for tech interviews too):
dev.to/codinglanguages/how-to-ace-...
TLDR: Unless the requirements specify JS, you can usually pick any of the major languages during your interview.
Like comment: Like comment: 6 likes Like Collapse Expand
NGS Harsha
NGS Harsha
Follow
Joined
Jan 11, 2020
Dropdown menu
- Hide
for big companies language doesn't matter (unless you are applying for a domain-specific job like machine learning etc...) but the approach and techniques would matter. Sometimes the interviewer might expect you to use the language-specific features like map, reduce, filter etc... when it comes to JS. The interviewer may or may not know the language so, in the end, they will only look at the approach and technique
Like comment: Like comment: 2 likes Like Collapse Expand
Shubham Prakash
Shubham Prakash
Follow
React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018
Email
shubham.prakash2308@gmail.com
Location
India
Education
BTech in Information Technology
Work
Mentor at Udacity, Full Stack Developer at Udacity
Joined
Jan 9, 2019
Dropdown menu
- Hide
Exactly Ganesh, this is right that most of the companies will only focus on the logic rather than the language itself. Since I'll primarily be applying for the JS related roles, I think choosing JS is the right thing to do in my case.
Like comment: Like comment: 1 like Like Collapse Expand
Arnaud Cortisse
Arnaud Cortisse
Follow
Software Developer
Location
Belgium
Work
Software Developer
Joined
Sep 22, 2019
Dropdown menu
- Hide
JS is awesome for interviews because of its concise syntax and the fact that it's garbage collected :)
You can really focus on the problem at hand.
Like comment: Like comment: 4 likes Like Collapse Expand
Steve Cruz
Steve Cruz
Follow
Software developer passionate about Node.js and the ecosystem around it 💭
Location
NY
Work
Software Engineer
Joined
May 24, 2020
Dropdown menu
- Hide
Yes, I also like to use JS in interviews for this reason. It really abstracts things and allows us to focus on the interview's main problem.
Like comment: Like comment: 2 likes Like Collapse Expand
Abdisalan
Abdisalan
Follow
A software engineer just trying to gain and share knowledge with everyone.
Location
Boulder
Education
BS in Computer Science
Work
Software Engineer at Google
Joined
Apr 8, 2019
Dropdown menu
- Hide
JS is helpful, however make sure you're really comfortable with all the gotchas of the language.
You could also specialize in python for the interviews because problems translate really well to a simple python solution especially when you use the data structure libraries.
Like comment: Like comment: 2 likes Like Collapse Expand
Shubham Prakash
Shubham Prakash
Follow
React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018
Email
shubham.prakash2308@gmail.com
Location
India
Education
BTech in Information Technology
Work
Mentor at Udacity, Full Stack Developer at Udacity
Joined
Jan 9, 2019
Dropdown menu
- Hide
Yes Abdisalan, I am aware of the fact that JS has some wiered quirks. The thing is I am a JS developer so I have experience working with the language. I think I won't face any problem going with it for the DSA too.
Like comment: Like comment: 1 like Like Collapse Expand
Evgeniy
Evgeniy
Follow
Joined
Apr 20, 2020
Dropdown menu
- Hide
Go for it. Of course there might be special requirements, but in general FAANG treat JS on the same level
Like comment: Like comment: 3 likes Like Collapse Expand
Shubham Prakash
Shubham Prakash
Follow
React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018
Email
shubham.prakash2308@gmail.com
Location
India
Education
BTech in Information Technology
Work
Mentor at Udacity, Full Stack Developer at Udacity
Joined
Jan 9, 2019
Dropdown menu
- Hide
Thanks for the response. I'll just wait for 1-2 days to see what others has to say about this.
Then I'll take the decision :)
Tim Berti
Tim Berti
Follow
A MERN Stack Developer | Dev Guy | #LoveTech
Location
Kota, Rajasthan
Work
Software Engineer at Student
Joined
Jul 11, 2020
Dropdown menu
- Hide
Thank you for addressing this question . I too had this doubt in which language to prepare for coding interview if you are full stack developer.
Like comment: Like comment: 2 likes Like Collapse Expand
Shubham Prakash
Shubham Prakash
Follow
React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018
Email
shubham.prakash2308@gmail.com
Location
India
Education
BTech in Information Technology
Work
Mentor at Udacity, Full Stack Developer at Udacity
Joined
Jan 9, 2019
Dropdown menu
- Hide
I'm happy that my question could help you too Tim :)
Like comment: Like comment: 1 like LikeCode of Conduct • Report abuse
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's .