I would use the language you are most comfortable in. JS is fine, I don’t think Python is inherently faster to write than most other languages. Also your confusing time complexity with runtime. Time complexity is how the time it takes your program to run scales with the size of the inputs, it’s independent of language choice. As for runtime I would say JS is generally faster than Python but for an interview I wouldn’t worry about this at all. Answer from power83kg on reddit.com
🌐
Reddit
reddit.com › r/cscareerquestions › python vs javascript?
r/cscareerquestions on Reddit: Python vs Javascript?
October 20, 2018 -

What would you pick for technical whiteboard intrviews? (strictly for this use - I'm not trying to compare the 2 languages here, both are great)

I know C++ and Java but haven't used them for a while. Know JS (ES6) very well and love using it and IMO its a great choice as its so concise and faster to write.

Python is even more concise. Most answers on Leetcode the Python version is the shortest and usually easy to read too.

I know Python basics and can probably pick it up. Is it worth it just for this?

For those who know both, thoughts?

🌐
InterviewBit
interviewbit.com › python-interview-questions
120+ Top Python Interview Questions and Answers (2026) - InterviewBit
Prepare for Python interviews in 2026 with 120+ top questions and answers—syntax, OOP, data structures, functions, decorators, generators, modules, and coding basics.
Published   January 25, 2026
🌐
W3Schools
w3schools.com › python › python_interview_questions.asp
Python Interview Questions
These questions and answers cover some fundamental Python concepts that are often discussed in interviews. A variable created inside a function belongs to the local scope of that function, and can only be used inside that function. A variable created in the main body of the Python code is a global variable and belongs to the global scope. Global variables are available from within any scope, global and local.
🌐
InterviewBit
interviewbit.com › compare › javascript vs python: what’s the difference? [2023]
Javascript Vs Python: What’s The Difference? [2023] - InterviewBit
July 25, 2023 - Table Of Contents show What is JavaScript? JavaScript Features What is Python? Python Features Key Differences Between JavaScript and Python JavaScript Vs…
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-interview-questions
Top 50+ Python Interview Questions and Answers (2025) - GeeksforGeeks
October 14, 2025 - Note: Python versions before 3.8 doesn't support Walrus Operator. ... To do well in interviews, you need to understand core syntax, memory management, functions, recursion, data structures, and practical coding problems.
🌐
Medium
imjoecollins.medium.com › python-is-the-best-programming-language-for-interviewing-735fb4f32bcc
Python is the Best Programming Language for Interviewing | by Joe Collins | Medium
November 17, 2020 - For you to state the above, though, you must really know and understand javascript — if you can do coding exercises in python and then talk about how javascript is a prototypal language, what a closure is, what curring is, and even espouse some functional programming concepts, then you will come off as a well-rounded and versatile engineer who really understand javascript and (the beauty therein) and has the capacity to learn a language just for interviewing efficiently. That’s pretty impressive, and it doesn’t take much work. Next, let’s go over those exact steps for learning enough python to make interviewing a breeze.
🌐
Reddit
reddit.com › r/python › python vs javascript for technical interviews?
r/Python on Reddit: Python vs Javascript for technical interviews?
October 20, 2018 -

What would you pick for technical whiteboard intrviews? (strictly for this use - I'm not trying to compare the 2 languages here, both are great)

I know C++ and Java but haven't used them for a while. Know JS (ES6) very well and love using it and IMO its a great choice as its so concise and faster to write.

Python is even more concise. Most answers on Leetcode the Python version is the shortest and usually easy to read too.

I know Python basics and can probably pick it up. Is it worth it just for this?

For those who know both, thoughts?

Find elsewhere
🌐
Tech Interview Handbook
techinterviewhandbook.org › picking a programming language
Which programming language to use for coding interviews | Tech Interview Handbook
1 month ago - From my experience as an interviewer, most candidates pick Python or Java. Other commonly seen languages include JavaScript, Ruby and C++. I would absolutely avoid lower level languages like C or Go, simply because they lack many standard library functions and data structures and some may require manual memory management.
🌐
freeCodeCamp
forum.freecodecamp.org › contributors
Request for enabling Python in Coding Interview Prep and Data Structures - Contributors - The freeCodeCamp Forum
May 11, 2023 - Javascript might not be the most optimal choice for coding in interviews and Data Structures and Algorithms. I am requesting Python as a Language choice as it is easy to use and understand and commonly used on freeCodeCa…
🌐
Codementor
codementor.io › community › use python in interviews, please
Use Python in Interviews, Please | Codementor
October 3, 2018 - Python fits the bill perfectly, and I'll demonstrate with a simple example. Many interview questions involve building some sort of data structure, so many people write out some sort of class/struct - in this example we'll use a node in a binary search tree.
🌐
Quora
quora.com › Is-it-acceptable-to-use-JavaScript-for-solving-programming-questions-during-an-interview
Is it acceptable to use JavaScript for solving programming questions during an interview? - Quora
Answer (1 of 2): if interviewer has no problem , then for sure ,, but rather being language dependent you have to represent general solution to him... and then have to show the equivalent language specific solution whichever u are comfortable with..
🌐
Hao's Learning Log
blog.hao.dev › the-best-programming-language-to-use-in-coding-interviews
The best programming language to use in coding interviews · Hao's learning log
April 5, 2022 - However, for people who already use multiple languages where Python is already in their toolbox, I'd strongly recommend using it for interviews unless the job requires a specific language. Some candidates ask me how come I became an interview engineer. It always sounds like a cliche, but I enjoy seeing different people approach the same interview questions from different angles and coming up with unique solutions.
🌐
Quora
quora.com › Is-JavaScript-a-popular-good-programming-language-for-coding-interviews
Is JavaScript a popular/good programming language for coding interviews? - Quora
Answer (1 of 7): JavaScript is a great language for interviews (from a candidate’s point of view), because: * JS is very expressive / it’s possible to do things quickly with JavaScript. Conversely, there’s always some set up required to code an interview answer in C or Java.
🌐
AlgoDaily
algodaily.com › convert › javascript › python
AlgoDaily - Daily coding interview questions. Full programming interview prep course and software career coaching.
Programming interview prep bootcamp with coding challenges and practice. Daily coding interview questions. Software interview prep made easy.
🌐
DEV Community
dev.to › ishubhamprakash › use-javascript-to-prepare-for-coding-interviews-53d
Use JavaScript to prepare for coding interviews? - DEV Community
August 2, 2022 - It really abstracts things and allows us to focus on the interview's main problem. ... A software engineer just trying to gain and share knowledge with everyone. ... 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.
🌐
Codecademy
codecademy.com › learn › paths › pass-the-technical-interview-with-python
Pass the Technical Interview with Python | Codecademy
Includes Python, Interview Questions, Data Structures, Big O, Recursion, Sort and Search Algorithms, and more. To start this Skill Path, upgrade your plan. ... Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary ... We suggest you complete the following courses before you get started with Pass the Technical Interview with Python: ... Once you have a strong foundation in Python, the next step is going pro.
🌐
Reddit
reddit.com › r/leetcode › is java too much for coding interviews vs python?
r/leetcode on Reddit: Is Java too much for coding interviews vs Python?
August 14, 2022 -

I recently had a coding interview and used Java for the language. The interviewers didn’t seem to concerned about syntactical correctness and compiled code, but out of habit, I typed out everything that is necessary (access modifiers, code to interface, etc). Plus in Java you have to worry about primitives and reference vars, etc ArrayList is not int[], etc.

In Python you don’t have these problems. So is it worth it to switch to Python for coding interviews, or just stick with Java if you are more comfortable and lose a little time with the boilerplate?

🌐
Quora
quora.com › Do-web-developers-front-end-engineers-generally-choose-JavaScript-as-their-language-of-choice-for-technical-interviews-or-do-they-opt-for-languages-like-C-Java-Python
Do web developers/front-end engineers generally choose JavaScript as their language of choice for technical interviews or do they opt for languages like C++/Java/Python? - Quora
Answer (1 of 2): When candidates apply for a role as a front-end engineer, they may not have the choice of the language. If there’s an interview which is focused on front-end or web skills (which is a practice which may vary company by company), then the candidate may be forced to use JavaScript ...