Interview questions
A curated collection of questions to help developers prepare for technical interviews — core concepts and real-world scenarios, 95 questions across 9 topics.
Short on time? Take the top 20 challengeThe questions that come up in almost every interview, about 22 minStart challenge
Feeling lucky? Get 20 random questionsA fresh mix from all 9 topics every time, about 24 minShuffle questions
React
- What is the difference between useMemo and useCallback?
- What is the virtual DOM and how does React use it?
- Explain the difference between useEffect and useLayoutEffect.
2 junior7 middle4 senior
Next.js
- What are the special files of the App Router and how do they nest?
- How do dynamic routes work and what does generateStaticParams do?
- How do Server and Client Components work together in Next.js?
2 junior5 middle3 senior
TypeScript
- What is the difference between type and interface in TypeScript?
- What are generics in TypeScript and why are they useful?
- What are utility types and which ones do you use most often?
2 junior5 middle3 senior
JavaScript
- What is the difference between var, let, and const?
- How does the event loop work in JavaScript?
- What is a closure and how is it used in practice?
3 junior6 middle1 senior
CSS
- What is the CSS box model?
- What is the difference between flexbox and CSS grid?
- What is specificity and how is it calculated?
4 junior5 middle1 senior
State Management
- What is the difference between local, global, server, and URL state?
- How does Redux work and what problem does it solve?
- What is Zustand and how does it differ from Redux?
6 middle4 senior
Patterns
- What is the Higher-Order Component (HOC) pattern?
- What is the Render Props pattern?
- What is the Compound Components pattern?
7 middle3 senior
Web Technology
- How does the browser render a web page? What is the critical rendering path?
- What is the difference between HTTP/1.1, HTTP/2, and HTTP/3?
- What is CORS and how does it work?
2 junior4 middle4 senior
AI Engineering
- What are tokens and the context window, and how do they affect the UI and cost?
- Why should you never call an LLM API directly from the browser with an API key?
- What is Prompt-Driven Development?
2 junior7 middle3 senior