No it doesn't matter if you use Python or Java, in fact I recommend it. Most people will know how to read Python, but not always JavaScript. I made the switch because it can make it easier for me to solve problems, it's basically always accepted in interviews, most interviewers know how to read it, and when I'm watching videos a lot of them are in Python Answer from Weekend_Trick on reddit.com
🌐
Reddit
reddit.com › r/leetcode › thoughts on using javascript for leetcode questions?
r/leetcode on Reddit: Thoughts on using Javascript for Leetcode questions?
August 6, 2022 -

I'm a full stack web developer in Javascript with about 3 YOE and I'm trying to switch to big tech or a fortune 500 company.

I recently started LeetCode prep and been using JS as my primary language since I have the most experience with it. However, I noticed a lot of the LeetCode solutions in the discussions (especially the top ones) rarely use Javascript. The common languages I've seen are Python and Java. I'm wondering if these questions could be solved more concisely using Python or Java especially since Javascript lacks
some built in data structures (e.g. stacks, queue).

I'm thinking of switching to Python or Java. I had experiences with both in university, so I just need to brush up on them. However, I'm not sure if it's bad practice to use a programming language that you've never used in professional work or personal projects. Also, I'm not familiar with the expectations around this especially in big tech companies with DS/algo focused questions as opposed to domain focused interview questions. What have your experiences been on the expectations around this?

🌐
Reddit
reddit.com › r/leetcode › javascript for leetcode
r/leetcode on Reddit: Javascript for leetcode
April 20, 2024 -

I use C++ for interviews and am now thinking of switching to Javascript as it is one of the languages I need to learn for my job and also, because it is a scripting language, the syntax is much more compact. I have been looking at data structures in Javascript and having a hard time figuring the equivalent DSs even after following multiple Javascript courses. Could someone, who uses JS for Leetcode give some pointers and where to learn more for the following: These are the ones that I couldn't find any obvious equivalent in JS.

  1. Hashset : C++ has unordered_set and set for unsorted and sorted Hashset, JS ?

  2. Hashmap: C++ has unordered_map for unsorted whose equivalent in JS seems to be just the 'object' data type. What about sorted map, sorted based on keys? like the C++ map.

  3. Priority queue (min or max queue) that C++ supports

(As for custom structures like Linked list, tree etc, I would assume its just the custom object in JS?) Thanks :)

🌐
Reddit
reddit.com › r/learnjavascript › 30 days of javascript leetcode good for a beginner to learn?
r/learnjavascript on Reddit: 30 Days of Javascript LeetCode good for a beginner to learn?
August 1, 2024 -

I have some knowledge in Java,C,Python

I recently started watching Coding Train, and really found his topics (p5.js) interesting, so I decided i wanted to learn JS. From what he did in his videos, its not that different to Java, C or Python, most of the practices are similar.

However, i started the Leetcode 30 days of Javascript, am on the 2 question and already completly lost. JS suddenly seems so different to other languages, people are using weird syntax ive never seen before**.** one thing that tripped me off especially was "toBe: (val2) => { toBe: (val2) => {" on the 3rd question

Is that course good to learn JS?

Are ther any other resources to learn JS that you could recommend more?

🌐
Reddit
reddit.com › r/leetcode › switching from javascript to python in order to grind leetcode, what’s the best resource to learn the intricacies of the language?
r/leetcode on Reddit: Switching from Javascript to Python in order to grind Leetcode, what’s the best resource to learn the intricacies of the language?
November 24, 2023 -

I’ve been working as web dev for a few years, all JS/React based. Now I’m starting to learn DS&A and do Leetcode and I’m realizing that I’m not doing myself any favors trying to stick with JS when solving these challenges, so I decided to learn Python.

All the Python courses I see are about learning to program from scratch. I’m not interested with that, I just wanna familiarize myself with the syntax and understand how it’s different from JS.

Is there any Python course as a 2nd language? Meaning that’s tailored for already experienced programmers?

Any advice for someone in my particular situation?

🌐
Reddit
reddit.com › r/leetcode › is it okay to do lc in js?
r/leetcode on Reddit: Is it okay to do LC in JS?
August 13, 2024 -

I have started doing leetcode recently. I used to do it 2 years ago and now I wanted to brush up DSA skills but the issue is I have forgotten a lot of Java since I only learnt it back when I first started LC. I have worked on JS for the past 4 years and I am more comfortable in it. I have heard stories that the interviewers don't like languages other than cpp, java and python. Is it true?

Find elsewhere
🌐
Reddit
reddit.com › r/leetcode › javascript not allowed 🫠
r/leetcode on Reddit: JavaScript not allowed 🫠
January 22, 2024 -

I’ve exclusively done leetcode in JavaScript bc I could kill two birds with one stone as I am also learning full stack web dev.

Anyways, the OA from Optiver does not let you use JavaScript! The only options were python, c++, and Java.

Is it time to switch languages? I had everyone on Reddit assuring me to just pick whatever language and that it doesn’t matter only to get met with this. Damn.

🌐
Reddit
reddit.com › r › leetcode › comments › ca6zfo › javascript
r/leetcode - Javascript
July 8, 2019 -

Do you think it's a bad idea to solve problems in JS? I've been doing lots of frontend programming recently and I really enjoying writing code in JS so I thought I'd solve LC problems in JS and I'd interview in JS. Or should I switch to a different language?

🌐
Reddit
reddit.com › r/cscareerquestions › leetcode programming language for front-end positions?
leetcode programming language for front-end positions? : r/cscareerquestions
July 16, 2021 - Well let's say for full stack interviews since you don't want to limit yourself. I don't see why you can't use pseudo code if asked about a heap ... If it's front end, I can guarantee they will test your JS skills thoroughly one way or another. I'll stick with JS or TypeScript. ... I say use a language you’re comfortable with. A lot of Leetcode questions aren’t common outside of interview and are there to verify your knowledge of DSA, not specific programming languages.
🌐
Reddit
reddit.com › r/leetcode › is javascript not preferable to learn dsa?
r/leetcode on Reddit: Is Javascript not preferable to learn DSA?
July 1, 2022 - Thanks for mentioning that, going for it just because it has python solutions, that reaffirms my faith to start leetcod-ing. ... I do it with JavaScript because I use it at work. I'm more familiar with JavaScript syntax. And It will always be there for frontend.
🌐
Reddit
reddit.com › r/leetcode › frontend dev - javascript vs typescript
r/leetcode on Reddit: Frontend Dev - Javascript vs Typescript
May 2, 2023 -

Hello everyone, I am currently a Frontend developer and about to start my journey on Leetcode.

The reason that I start Leetcode is to prepare for interviews.

I am just wondering which one should I start with - js or ts.

I use Typescript the most in my project/work.

1.)One thing I concern is that, when it comes to interviews in the future, is there always an option to use Typescript? What I am afraid is that the interview only allows you to use javascript instead of typescript.

2.)I am also concerned about the numbers of solution - javascript versus typescript

Any advice?

🌐
Reddit
reddit.com › r/cscareerquestions › java vs javascript for doing leetcode?
r/cscareerquestions on Reddit: Java vs JavaScript for doing leetcode?
March 3, 2019 -

I have about 7 months of experience, working as a front end developer. Java has been my language of choice for leetcode, and I'm way more comfortable with it. I'm guessing it's also one of the most used languages in the leetcode community, so it's much easier to compare solutions and stuff. The issue is, my work experience has mostly been in JavaScript ( React and backbone) , and I have nothing to show for in Java. Will the interviewers be okay if my experience is in JavaScript, but I solve the problems using Java?

🌐
LeetCode
leetcode.com › discuss › general-discussion › 815296 › is-javascripttypescript-a-good-language-for-interview
Is JavaScript/Typescript a good language for interview? - Discuss - LeetCode
I have used TypeScript for almost 2 years in this job. I solved a problem today in leetcode with javascript, I found I did not know a very basic use of javascript, new function() { … }. Usually I use class {constructor() {}} for it.
🌐
Reddit
reddit.com › r/cscareerquestions › front-end developers on this sub, do you do leetcode in javascript or python?
r/cscareerquestions on Reddit: Front-End Developers on this sub, do you do Leetcode in JavaScript or Python?
January 25, 2020 -

Obviously, most FED interviews are focused on JS, and I'm assuming that if you are applying for FED positions at FANG / Unicorns / Big N / Large tech companies, then you are specializing in JS.

However, I keep hearing that Python is THE best coding interview programming language.

So assuming that we know JS + Python equally well, but we specialize in JS for the actual role, which one would you use for the coding interview, or would you just use BOTH: JS for any Web-based domain specific questions and Python for general Leetcode-style algorithm CS concept questions?

🌐
Reddit
reddit.com › r/leetcode › 30 days javascript study plan
r/leetcode on Reddit: 30 days Javascript Study Plan
December 6, 2023 -

Hi coders, I want to request you guys to please give me the list of javascript study plan questions if any one of you have leetcode premium.

Or please tell me if it can be accessed on any other website.

It is highly important for me right now. Your help would be greatly appreciated.