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?
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.
-
Hashset : C++ has unordered_set and set for unsorted and sorted Hashset, JS ?
-
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.
-
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 :)
I just participated in the weekly contest.
There is like zero solutions in JS except mine. (In the solution section)
Why? Shoud I switch? (I use JS at work)
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?
Currently a sophmore taking Computer science principles and we are still barely learning anything, loops, while, etc. functions, Can using leetcode be effective as a beginner? If so, where should I start.
Thanks everyone!
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?
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?
I am a web developer in React, so I'm proficient in javascript and now I want up my game so that I can crack big product company. For that DSA is required. Should I prepare DSA with javascript or I have to learn c++ or python. C++ or python path looks difficult since I don't have knowledge of them, I have to learn from scratch.
If you already know that the companies/positions you want to target use C++ or python it probably can't hurt you to learn them. But if you just want to get better at the problems I would stick with a language you know.
Using JavaScript is fine as long as you are working through the problem. That said, I would also recommend learning other languages, simply as a way to help your fundamental programming skills grow, which is the same reason I use leetcode in the first place.
I personally think that work productivity is about taking the easiest/fastest way to solve a problem, but more personal growth takes place by taking more of the hardest/slowest way to solve a problem.
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.
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?
As the title suggests. Honestly I use it every day for work so I'm most comfortable with it and Typescript style languages. Kinda not super enthusiastic about using Python, however you apparently are asked to code heaps from scratch in interviews now when it comes to JS? Is this true? Advice? Should I just switch to Python (groan)?
Hi all , i am working as a Frontend dev , and my daily work includes coding with Javascript...
The question asked by a fellow about choosing the language for DSA gave responses majorly Cpp and Python...
I know Cpp and STL but i would like to use Javascript for further practising DSA instead of using one lang at work and one for leetcode...
Should i start with JS as i am proeficient in it ? Or should i go with Cpp which is more imperative and gives more control over the code ?
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?
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?
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?
Do the interview in the language you're most comfortable in.
Don't try to optimize for some higher ideal of "interview perfection." Being uncomfortable shows. Being desperate for points shows.
Go in, treat the interview like you don't give a damn whether you'll pass or not, and just try your best using your best tools.
TypeScript, it's like JavaScript for grown ups.
But what do I know about interviews? I don't apply for jobs, jobs apply for me.
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.