Best Language for Coding Interviews - Ranking Tier List

preview_player
Показать описание


0:50 - Not programming Languages
1:38 - C
2:00 - C++
3:00 - C#
5:30 - Go
6:00 - Java
7:15 - Javascript
8:00 - Kotlin
8:50 - Python

Song: Serenity (Prod. Riddiman)
#coding #language #interview
Disclosure: Some of the links above may be affiliate links, from which I may earn a small commission.
Рекомендации по теме
Комментарии
Автор

I'm sorry to the 18% of you who are Java people - didn't mean to crap on your language 😭

NeetCode
Автор

I would pick c++ anyday for MUTABLE strings. Mutability in strings basically reduces a string problem to array problem (a huge plus).

yashCeo
Автор

hey Neetcode, I have watched 100+ videos on your channel and I see that you have a peculiar style of writing code - which makes your code concise, intuitive and super neat. as you are diversifying content on your channel, how about a video which captures the essence of your coding style and on how to make best use of python techniques.

oswald
Автор

My first language I learned was C it really build my fundamental understanding of programming memory allocation and DSA, then I started python for interviews and some projects . I love both them equally to me they both are Top Tier

rohansharma
Автор

You are right about Python. Sometimes it feels like cheating using Python over something like Java or C++

rommeltito
Автор

It's like ranking weapons in monster hunters, pretty fun stuff

yuanliu
Автор

I love how Java has .length for normal arrays, .length() for strings, and .size() for ArrayList lol

rodituclashroyale
Автор

implementing Neetcode's solutions in Java is just handing my ass back to me.

I feel like a fucking masochist because somehow I enjoy suffering in having to write boilerplate and syntax.

yang
Автор

Being a Java programmer, I'm surprised he didn't put it in F Tier

FaisalSaifi
Автор

I do my interviews in Golang, that's the language I use the most these days and it has good data structures too (I made it to FAANG with Golang too). Example, you have a built-in heap package or doubly linked list :)

keyone
Автор

A bit late but I l really like javascript because the newer ES6 features let you give some of the heavy liffting to functional programming, which to be fair some people don't know and some interviewers had to really test the code to make sure it worked as intended. And as for data structures, you can abstract the vast majority of datasctructures out of arrays and it actually works pretty well once you learn it, again with the newer ES6 stuff it's actually not that hard.

CertifiedDeadMemes
Автор

Agree that if someone knows Python, Python is S tier. I would like to put C# to A tier, up there with C++ (C# is newer than Java and it has Linq, Linq is nice and neat). Java stays at B. C should just stay at tier D (i also learned years of C in high school and college as my first CS language, but for modern coding interview, it is very very challenged to write in C cuz all you have is pointer, however, C is still widely asked in the interviews for embedded system or firmware dev/testing role which required more hardware/firmware architecture knowledge than algorithm)

danielfu
Автор

Also you definitely need to deal with pointers when working with C++. Binary Trees, Linked lists etc questions will usually give you a pointer to the head. Also everytime you use the "new" operator you get a pointer returned etc.

Punibaba
Автор

I'd say that Kotlin is a nice choice for an interview (and for development, in general). The only drawback that I can name is that you may have to remember all those top-level and extension functions it has. But after that, you won't have any problems with writing solutions. It certainly feels better than Java because of more concise syntax and QoL features.

judexmars
Автор

do not argue with neet code. if he says 2 times 2 is 5, it is 5 :)

veliea
Автор

Haskell is also S tier for writability but D tier for having your interviewer being able to read it.

PaulHobbs
Автор

I have watched many video from you and you are really good. There is something in the way you code that is easier to remember and understand. Never stop doing what you are doing now.

shwethaks
Автор

I personally use either Python or Swift. (Mostly because I'm an iOS dev lol)

donaldcodes
Автор

I would put Javascript S tier, C# A tier

antonyndungu
Автор

My undergrad CS courses shoved Java down my throat, so I'm used to seeing data structures in that language despite Python being easier!

grandadmiralthrawn