Tech IndustryApr 29, 2020
BloomberggKWq52

JavaScript or Java for interviews?

Have 7 years of Java experience and been leetcoding in java. But noticing these days many companies ask you to code in JavaScript and the job description has strong JS requirements. Recently my work has been in JS, so learning that anyways. My question to this community is: Should I start leetcoding in JS or stick with java? Will it be easier for targeting FAANG too? #java

Nike softwareng Apr 29, 2020

You can do both. That’s what I do

Yelp (unknown) Apr 29, 2020

Unless your are applying specifically for JS roles, Java is the safer. Most FAANG level companies will specify interview languages and while all offer Java, some doesn't offer js.

IBM scrumgod Apr 29, 2020

use whatever you want. If they fail you cause you didn't use Java then you won't want to work on that team

Indeed nolayoffs Apr 29, 2020

Python

Kaplan pxMq57 Apr 29, 2020

Js has literally zero built ins. No heaps, linked lists, binary searches, etc. be ready to handcode em all

Yelp (unknown) Apr 29, 2020

^This. ES6 covered some, but Java collections is still superior when it comes to out of the box tools to solve a leetcode

WeWork Wolpm Apr 29, 2020

ES6 covered some?? There’s no heaps/PQ, Linkedlist, Bisect built in ES6. What some are you talking about @yelp. Not even lodash got it