Interview questions by language
Programming language interview questions
Most technical screens start with a language. Whether the role calls for Python, Java, JavaScript, Go, or SQL, the interviewer is checking the same thing: do you understand the runtime under the syntax and reach for the idiomatic answer. Each guide below covers what a given language interview actually tests, the core areas interviewers drill, a curated question bank with real sample answers, the language-specific gotchas, and a focused prep plan.
How language screens work
Same intent, different idioms
A language interview is not a vocabulary test. The interviewer wants to see that you can write correct, readable code in the language the team uses, and that you know its distinctive concepts: the GIL in Python, garbage collection in Java, the event loop in JavaScript, ownership in Rust, goroutines in Go, window functions in SQL. The questions on each page are the ones that come up again and again because they separate someone who has shipped in the language from someone who has only read about it. Pair the right-language deep dive with the role and behavioral prep, and you walk into the screen ready for what is actually asked.
All languages
Pick your language
10 languages
- Python
Data structures, the GIL, generators, and the idioms that read as senior.
12 questions with answers - Java
The JVM, garbage collection, collections, concurrency, and modern language features.
12 questions with answers - JavaScript
Closures, the event loop, prototypes, this, and async patterns.
12 questions with answers - TypeScript
Structural typing, generics, narrowing, and the type-level features that prove fluency.
12 questions with answers - Go
Goroutines, channels, interfaces, error handling, and the simplicity philosophy.
12 questions with answers - SQL
Joins, aggregation, window functions, indexes, and query optimisation.
12 questions with answers - C++
Memory management, RAII, smart pointers, move semantics, and the STL.
12 questions with answers - Rust
Ownership, borrowing, lifetimes, traits, and fearless concurrency.
12 questions with answers - Kotlin
Null safety, coroutines, data classes, and interop with Java.
12 questions with answers - Scala
Immutability, pattern matching, the type system, and functional plus OO blend.
12 questions with answers
An external resource we recommend. Educative is not affiliated with us and we earn nothing from this link.
Round out your prep
Language depth is one round. Layer on the coding interview patterns, the technical and behavioral questions for your specific role, and the most common interview questions. When the offer lands, check it with the salary comparison tool.