Can I do my coding interview in JavaScript?

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)

Crown

Sort discussion:

Subscribe

Can I do my coding interview in JavaScript?

Personal Trusted UserCreate template

Templates let you quickly answer FAQs or store snippets for re-use.

Submit Preview Dismiss

Collapse Expand

 

Can I do my coding interview in JavaScript?

Shubham Verma

Shubham Verma

Can I do my coding interview in JavaScript?
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

 

Can I do my coding interview in JavaScript?

Shubham Prakash

Shubham Prakash

Can I do my coding interview in JavaScript?
Shubham Prakash

Follow

React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018

  • Email

    [email protected]

  • 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

 

Can I do my coding interview in JavaScript?

Your DevOps Guy

Your DevOps Guy

Can I do my coding interview in JavaScript?
Your DevOps Guy

Follow

DevOps at eBay | Ex-SDE at Amazon | Visit my blog https://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

 

Can I do my coding interview in JavaScript?

NGS Harsha

NGS Harsha

Can I do my coding interview in JavaScript?
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

 

Can I do my coding interview in JavaScript?

Shubham Prakash

Shubham Prakash

Can I do my coding interview in JavaScript?
Shubham Prakash

Follow

React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018

  • Email

    [email protected]

  • 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

 

Can I do my coding interview in JavaScript?

Arnaud Cortisse

Arnaud Cortisse

Can I do my coding interview in JavaScript?
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

 

Can I do my coding interview in JavaScript?

Steve Cruz

Steve Cruz

Can I do my coding interview in JavaScript?
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

 

Can I do my coding interview in JavaScript?

Abdisalan

Abdisalan

Can I do my coding interview in JavaScript?
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

 

Can I do my coding interview in JavaScript?

Shubham Prakash

Shubham Prakash

Can I do my coding interview in JavaScript?
Shubham Prakash

Follow

React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018

  • Email

    [email protected]

  • 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

 

Can I do my coding interview in JavaScript?

Evgeniy

Evgeniy

Can I do my coding interview in JavaScript?
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

 

Can I do my coding interview in JavaScript?

Shubham Prakash

Shubham Prakash

Can I do my coding interview in JavaScript?
Shubham Prakash

Follow

React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018

  • Email

    [email protected]

  • 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 :)

Like comment: Like comment: 2 likes Like

Collapse Expand

 

Can I do my coding interview in JavaScript?

Tim Berti

Tim Berti

Can I do my coding interview in JavaScript?
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

 

Can I do my coding interview in JavaScript?

Shubham Prakash

Shubham Prakash

Can I do my coding interview in JavaScript?
Shubham Prakash

Follow

React Developer, Frontend developer at Listiee, Mentor and Project reviewer at Udacity, Google India Developer Scholar 2018

  • Email

    [email protected]

  • 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 Like

Code 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 .

Is JavaScript allowed in coding interviews?

They allow their candidates to pick from only Java, C++, Python, Go or JavaScript. For the most part, I recommend using a language that you are extremely familiar with, rather than one that is new to you but that the company uses widely. There are some languages that are more suitable than others for coding interviews.

What language should you do coding interviews in?

Out of these languages, there's a clear winner when it comes to the best language to use for coding interviews - Python. Of course, candidates can still perform well using other languages, but I strongly feel the interviewing "game" is rigged against them. The best candidates I've interviewed all used Python 3.

Can we use JavaScript for coding?

JavaScript is the most popular coding language around, according to Stack Overflow's annual developer surveys. It has held that spot for quite a while, first hitting number one in 2014. Even developers whose primary responsibility is the back-end and server-side code often need to know a little JavaScript.

Which language is best for Google interview?

While you'll need to know only one programming language of your choice to clear the Google interview, the knowledge of these languages will only help you to advance your career in this tech giant. Python, C++, Go, and Java are the top programming languages used internally at Google.