I switched from js to python to solve leetcode problems(which was great). It ain't that hard. You just need to learn how to use data structures. You don't need any tutorial/course/book for that. Just follow these process: 1)Start by solving easy problems that require minimalistic code 2)Ask from chat gpt about how to do certain python operation(such as creating array, popping element from stack) 3)If you get syntax error, ask again it from chatgpt about this issue 4)After solving problem, look at solutions, and learn how other people solved it. Answer from sardor_tech on reddit.com
🌐
DEV Community
dev.to › davinderpalrehal › why-i-moved-from-javascript-to-python-for-leetcode-3pm1
Why I moved from JavaScript to Python for LeetCode - DEV Community
January 2, 2024 - ... Another difference between JavaScript and Python is their libraries. JavaScript has a standard library that provides some basic functionality, such as math, string, and date operations.
🌐
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/csmajors › java vs python vs javascript for leetcode
Java vs Python vs JavaScript for LeetCode : r/csMajors
June 12, 2022 - Use python. I also wanna do web development, but Python is better for solving problems on Leetcode. Leave Javascript for personal projects
🌐
DEV Community
dev.to › braeden › why-javascript-is-actually-a-great-leetcode-interview-language-34g1
Why JavaScript is actually a great LeetCode/Interview language - DEV Community
September 23, 2020 - C++ has a bit more convolution with memory management and iterators, but trades that for speed. Java is notoriously verbose, which is often against the spirit of fast iteration during interviews. On the other hand, people often like Python since it's similar to writing pseudocode, it has a super beginner friendly community, and is fast to iterate upon. I'm going to present some reasons (in no particular order) why JavaScript might be the best of both worlds for coding challenges (but especially as an alternative to Python).
🌐
Educative
educative.io › blog › leetcode-java-or-python
Should you use Java or Python for LeetCode?
The course is available in Python, Java, JavaScript, Go, C++, and C#, so you can prep in the language you'll actually use in your interview. Whether you're preparing for your first FAANG loop or brushing up after a few years away from interviewing, this course will give you a repeatable framework for cracking the coding interview. ... LeetCode is designed to test algorithmic thinking, not language-specific syntax.
🌐
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?

🌐
YouTube
youtube.com › maghfoor
LeetCode in Python Over JavaScript (As A Web Developer) - YouTube
I recently started learning leetcode with JavaScript to learn data structures and algorithms. However very soon into my journey, I switched to Python and in ...
Published   November 10, 2023
Views   393
🌐
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 javascr
Find elsewhere
🌐
Reddit
reddit.com › r/leetcode › age old question of which language(js or python) to pick but with some added context
r/leetcode on Reddit: Age old question of which language(Js or Python) to pick but with some added context
August 18, 2023 -

Hi I have been learning HTML+css+js for some months now via Odin project.

I am nearing the end so I am doing personal projects.

In my current one I have come across json files which has array of objects with size/length 10k and I have to deal with this data. So I decided to start DSA.

Now in my head once you get the concept the language shouldn't matter but I have seen a lot of times Python being recommended to even webdevs. Is it just for interview process? because I feel like using it for my case I need to do it in Js.

So which approach is better?

  • eventually do I need to do it in both?

Or

  • doing basic DSA in both Js and Python. Plus leetcode practice in python.

🌐
LeetCode
leetcode.com › problems › sort-array-by-parity › discuss › 399013 › javascript-vs-python
Javascript vs Python? - Sort Array By Parity
October 6, 2019 - Can you solve this real interview question? Sort Array By Parity - Given an integer array nums, move all the even integers at the beginning of the array followed by all the odd integers. Return any array that satisfies this condition.
🌐
Blind
teamblind.com › post › Leetcode-in-JavaScript-J0Ta2fQ4
Leetcode in JavaScript | Tech Industry - Blind
Hi, Looking for real advice and no judgements. I am changing careers from embedded to front end. I am doing a bootcamp course in web development and it involves projects. I am also putting stuff on GitHub. I have worked in python but doing a cours...
🌐
Reddit
reddit.com › r/leetcode › should i switch to python for leetcode problems?
r/leetcode on Reddit: Should I switch to Python for leetcode problems?
August 16, 2023 -

Hi everyone,

I have done around 200 problems on leetcode using Java. At work I also use Java. I would say that I’m proficient in it.

However, I would like to transition more into ML roles, and therefore I would like to learn more Python

I would like to start a year plan in which to prepare for interviews and do leetcode problems and I was wondering what are you guys think if I should switch to python for the code problems even though at first it will be much slower, as I still gotta learn some syntax?

Is there really a benefit of using python versus Java?

🌐
Blind
teamblind.com › post › Which-programming-language-to-leetcode-with-tNtsZK6j
Which programming language to leetcode with?
April 3, 2020 - This page has moved · Click here if the automatic redirect does not start
🌐
PIRATE KING
piratekingdom.com › blog › best-programming-languages-for-leetcode
The Best Programming Languages for LeetCode — PIRATE KING
September 25, 2023 - It's probably the most efficient and optimized language for coding interviews! Another important reason to choose Python over others is the built-in libraries. For example, some languages don't have PriorityQueues built-in. Aside from LeetCode, Python is frankly the most attractive programming language nowadays.
Address   Redmond, WA, 98052 USA