Skip to content
Tutorials Center
My learning

Topics

Interview Questions (per language/CS subject) Tutorial

Learn Interview Questions (per language/CS subject) step by step: 77 lessons in 13 chapters with examples, quizzes, diagrams and projects.

Start learning →

of lessons completed

How Interviews Work

  1. 1 How Technical Interviews Work Learn the stages of a software interview loop, what interviewers actually score, the main question types, and how this track helps you prepare for each.
  2. 2 A Framework for Answering Any Question Use a five-step structure, clarify, define, example, trade-offs, pitfalls, to give clear, complete answers to concept questions in technical interviews.
  3. 3 Thinking Out Loud and Handling Hints Learn how to narrate your reasoning, test assumptions, recover from a blank mind and ask for hints in a coding interview without losing points.
  4. 4 Building a Study Plan and Practice Routine Build an interview study plan with spaced repetition, mock interviews and a weak-topic tracker, then run a small spaced-repetition scheduler yourself.

JavaScript Interview Questions

  1. 5 JavaScript: Types, Coercion and Equality Prepare for JavaScript interview questions on primitives, typeof quirks, == versus ===, truthy and falsy values, NaN and Object.is, with runnable examples.
  2. 6 JavaScript: Scope, Hoisting and Closures Answer JavaScript interview questions on var, let and const, the temporal dead zone, hoisting, closures in loops and the module pattern with runnable code.
  3. 7 JavaScript: this, Prototypes and Classes Answer the classic JavaScript interview questions on this binding, call/apply/bind, the prototype chain, class syntax and private fields, with runnable examples.
  4. 8 JavaScript: Promises, async/await and the Event Loop Predict output order with microtasks and macrotasks, handle promise errors, and compare Promise.all, allSettled, race and any, with runnable interview examples.
  5. 9 JavaScript: Arrays, Objects and Functional Patterns Prepare for JavaScript interviews on map, filter, reduce, immutability, shallow vs deep copy, debounce, throttle and currying, with runnable examples.
  6. 10 JavaScript: Classic Coding Questions Write the classic JavaScript interview helpers from scratch: flatten, deep clone, memoize, a Promise.all polyfill and an event emitter, with tests you can run.

Python Interview Questions

  1. 11 Python: Mutability, Identity and the Data Model Answer Python interview questions on is vs ==, mutable default arguments, shallow vs deep copy, hashability and dunder methods, with runnable examples.
  2. 12 Python: Iterators, Generators and Comprehensions Explain the iterator protocol, yield, lazy evaluation and comprehension pitfalls in Python interviews, with runnable examples and clear short answers.
  3. 13 Python: Decorators, Closures and Context Managers Answer Python interview questions on closures, decorator internals, functools.wraps, late binding in loops and the with statement, with runnable code.
  4. 14 Python: OOP, MRO and the GIL Prepare Python interview answers on inheritance, MRO and super(), dataclasses, the GIL, and when to choose threads, processes or asyncio, with runnable code.
  5. 15 Python: Walrus, match, Exception Groups, Pickling and Typing Answer modern Python interview questions on the walrus operator, structural pattern matching, exception groups, pickling and its risks, and type hints with generics.
  6. 16 Python: Classic Coding Questions Solve classic Python interview problems: anagrams, two-sum, LRU cache, flatten, Counter tricks, plus the time complexity of built-in operations.
  7. 17 Django and Flask: Request Cycle, ORM, Middleware and Hooks Prepare Django and Flask interviews: the request cycle, middleware, the ORM and the N+1 problem, Flask hooks and contexts, and when to pick which framework.

Java Interview Questions

  1. 18 Java: OOP, Strings and the Object Contract Answer Java interview questions on equals and hashCode, immutability, the String pool, interfaces vs abstract classes and records, with runnable stand-ins.
  2. 19 Java: Collections and HashMap Internals Prepare Java interview answers on ArrayList vs LinkedList, how HashMap buckets and resizes, ConcurrentHashMap and fail-fast iterators, with a runnable model.
  3. 20 Java: JVM, Memory Model and Garbage Collection Answer Java interview questions on heap vs stack, garbage collection generations, class loading, volatile and happens-before, with a mark-and-sweep model.
  4. 21 Java: Concurrency, Streams and Modern Java Prepare Java interview answers on synchronized, executors, CompletableFuture, lazy streams, virtual threads and sealed types, with runnable stand-ins.
  5. 22 Spring and Spring Boot: IoC, Beans, Auto-Configuration and JPA Answer Spring Boot interview questions on IoC, bean scopes, auto-configuration, @Transactional proxies and JPA, with runnable stand-ins in plain Java.

C, C++ and Systems Interview Questions

  1. 23 C and C++: Pointers, Memory and Undefined Behavior Answer C and C++ interview questions on stack versus heap, pointer arithmetic, dangling pointers, memory leaks and undefined behavior, with a memory simulator.
  2. 24 C++: RAII, Smart Pointers and Move Semantics Prepare C++ interview answers on RAII, the rule of five, unique_ptr and shared_ptr, move versus copy, and virtual functions with a vtable model.
  3. 25 Operating Systems: Processes, Threads and Deadlocks Answer operating systems interview questions on scheduling, context switches, mutex versus semaphore, deadlock conditions and paging with runnable simulators.
  4. 26 Operating Systems: PCB, Process States, IPC, Pipes and Zombies Answer operating system interview questions on the PCB, process states, the dispatcher, pipes, shared memory, signals and zombies with real C and runnable scheduling.
  5. 27 Go and Rust: Concurrency, Ownership and Error Handling Prepare Go and Rust interviews: goroutines, channels, mutexes, nil interfaces, ownership, borrowing, lifetimes, Option and Result, with runnable programs.
  6. 28 C# and .NET: CLR, Value Types, LINQ, async and Garbage Collection Prepare C# and .NET interviews: the CLR and JIT, value versus reference types, boxing, LINQ deferred execution, async/await, IDisposable and garbage collection.

Web and Frontend Interview Questions

  1. 29 HTML and CSS Interview Questions Prepare HTML and CSS interview answers on semantics, accessibility, the box model, specificity, flexbox versus grid and stacking contexts with live demos.
  2. 30 Browser, HTTP and Networking Questions Prepare answers for what happens when you type a URL, HTTP methods and caching, HTTPS, CORS and cookies versus storage, with runnable stand-ins.
  3. 31 React Interview Questions Prepare for React interviews: virtual DOM, reconciliation, rules of hooks, useEffect pitfalls, keys, state versus props and memoization, with stand-ins you can run.
  4. 32 React: Redux, Redux Toolkit, Thunks and Context Answer Redux interview questions: store, reducers, middleware, thunks, selectors, Redux Toolkit and when Context is enough, with runnable stand-ins.
  5. 33 Node.js and Backend Interview Questions Practice Node.js and backend interview questions: event loop phases, streams and backpressure, clustering, REST design, authentication and idempotency, with runnable code.
  6. 34 TypeScript Interview Questions Prepare for TypeScript interviews: structural typing, generics, unknown versus any, type narrowing and utility types, with read-only types and runnable stand-ins.
  7. 35 Angular and Vue: Components, Reactivity and Change Detection Prepare Angular and Vue interviews: components, Vue reactivity, Angular change detection and signals, RxJS and lifecycle hooks, with runnable stand-ins.
  8. 36 Android and iOS: Lifecycle, Memory and Architecture Questions Prepare Android and iOS interviews: activity lifecycle and ViewModel, ARC and retain cycles, threading, Compose and SwiftUI state, MVVM, with runnable stand-ins.

Databases and Data Interview Questions

  1. 37 SQL: Query-Writing Interview Questions Solve the SQL query problems interviewers love: joins, GROUP BY and HAVING, second-highest salary, duplicates, gaps and window functions, all runnable.
  2. 38 Databases: Indexes, Normalization and Transactions Answer database design interview questions: how B-tree indexes and query plans work, normalization, ACID transactions, isolation levels and deadlocks.
  3. 39 DBMS Concepts: ER Model, Keys, Normal Forms and Schedules Prepare DBMS theory interviews: ER diagrams to tables, keys, functional dependencies, BCNF, serializable schedules, two-phase locking and write-ahead logging.
  4. 40 Databases: NoSQL, Caching and Scaling Prepare NoSQL and scaling interview answers: CAP theorem, replication, sharding, cache-aside versus write-through, eviction policies and quorums, with runnable models.
  5. 41 Data Science and pandas Interview Questions Prepare for data interviews: pandas groupby, merge types, missing data, bias vs variance and evaluation metrics like precision and recall, with runnable code.
  6. 42 Machine Learning: Regularization, Validation, Leakage and Ensembles Prepare machine learning interviews: L1 and L2 regularization, cross-validation, data leakage, gradient descent, bagging versus boosting, all run for real.

CS Fundamentals Interview Questions

  1. 43 Complexity and Data Structure Questions Answer Big O and data structure interview questions: arrays vs linked lists, hash tables, heaps and trees, with Python code you can run and measure.
  2. 44 Array and String Patterns Learn the four array and string patterns behind most interview problems: two pointers, sliding window, prefix sums and hash-map counting, with Python.
  3. 45 Sorting and Searching Catalog: Shell, Counting, Radix, Bucket, Ternary and Fibonacci Compare Shell, counting, radix, bucket, ternary and Fibonacci search with runnable Python, a complexity and stability table, and answers to common follow-ups.
  4. 46 Trees and Graphs Questions Practice tree and graph interview questions: traversals, BST validation, lowest common ancestor, BFS, DFS, topological sort and shortest paths in Python.
  5. 47 Recursion and Dynamic Programming Questions Master recursion and dynamic programming interview questions: memoization, knapsack, longest increasing subsequence, edit distance and backtracking in Python.
  6. 48 Bit Manipulation, Greedy and Backtracking Question Patterns Learn the bit tricks, greedy proofs and backtracking templates behind common coding interview questions, with Python programs that verify each answer.
  7. 49 OOP, SOLID and Design Patterns Questions Answer OOP interview questions with confidence: the four pillars, SOLID principles and the singleton, factory, observer and strategy patterns in JavaScript.
  8. 50 Security and Cryptography Questions Answer security interview questions with confidence: hashing vs encryption, password storage, JWT, XSS, CSRF and SQL injection, with runnable Node examples.
  9. 51 Computer Networks: OSI, TCP, DNS and Subnetting Answer networking interview questions: OSI versus TCP/IP, TCP handshake and teardown, TCP versus UDP, congestion control, DNS, NAT and subnet calculations.
  10. 52 Interview Puzzles and Brain Teasers Solve classic interview puzzles: two eggs, bridge crossing, water jugs, weighing, Monty Hall, the birthday paradox and Fermi estimates, verified in code.

DevOps, Tools and System Design

  1. 53 Git and Linux Interview Questions Prepare Git and Linux interview questions: merge vs rebase, reset vs revert, cherry-pick, file permissions, processes and pipes, with a runnable commit-graph model.
  2. 54 Docker, CI/CD and Cloud Questions Answer Docker, CI/CD, deployment and Kubernetes interview questions: images vs containers, layers and caching, Compose, pipelines, rollouts and reconcile loops.
  3. 55 System Design: The Building Blocks Learn the system design building blocks interviewers expect: load balancers, caches, queues, CDNs, databases and back-of-envelope estimates, with runnable Node models.
  4. 56 System Design: Rate Limiters, Feeds and Chat Practice classic system design problems: token bucket rate limiters, consistent hashing, news feed fan-out, cursor pagination, chat delivery and idempotency keys.
  5. 57 System Design Case Studies: Dropbox, Netflix, Uber, BookMyShow and Messenger Walk through five classic system design interview questions: Dropbox, Netflix, Uber, BookMyShow and Messenger, with requirements, storage, scaling and runnable models.
  6. 58 Microservices, Kafka and Kubernetes: Resilience and Messaging Questions Answer microservices, Kafka and Kubernetes interview questions: service boundaries, circuit breakers, sagas, partitions and consumer groups, probes and rollouts.
  7. 59 Event-Driven Architecture: Event Sourcing, CQRS, Pub/Sub and Streaming Answer event-driven architecture interview questions: events versus commands, pub/sub versus queues and streams, event sourcing, CQRS, retries and dead-letter queues.
  8. 60 Distributed Systems: Consensus, Clocks, Tracing and Consistency Prepare distributed systems interview answers on consensus (Raft and Paxos), logical clocks, consistency models, fencing tokens, tracing and fault tolerance, with runnable models.
  9. 61 Low-Level Design: Parking Lot, Elevator and Cache Learn the low-level design interview approach: model a parking lot, an elevator state machine and an LRU cache with clean classes, extensibility and runnable code.
  10. 62 Testing and Code Quality Questions Answer testing interview questions with confidence: unit vs integration tests, mocks vs stubs, TDD, flaky tests and code review, with runnable examples.

Behavioral and Soft Skills

  1. 63 Behavioral Questions and the STAR Method Prepare for behavioral interview questions with the STAR method: build a story bank, answer conflict, failure and leadership questions, and tailor stories.
  2. 64 Resume, Portfolio and Take-Home Projects Write developer resume bullets that get interviews, choose portfolio projects that impress, and handle take-home assignments with a clear strategy.
  3. 65 Salary Negotiation and Evaluating Offers Learn how to negotiate a software engineering offer: set a range, build leverage, understand equity and compare offers with a simple calculator.

Projects

  1. 66 Project: A Flashcard Trainer with Spaced Repetition Build an interview flashcard trainer in JavaScript: a question bank, Leitner boxes, scoring and in-memory persistence, with every step runnable.
  2. 67 Project: A Mock Interview Runner Build a mock interview runner in JavaScript: seeded random question selection, a countdown timer, rubric scoring and a final report you can run.
  3. 68 Project: A Mini Online Judge Build a tiny online judge in Python: run submissions against test cases, return AC, WA, RE, TLE and CE verdicts, enforce a step budget and rank a scoreboard.
  4. 69 Project: Build a Rate Limiter and LRU Cache Implement a token bucket, a sliding window rate limiter and an O(1) LRU cache in Node.js with injected clocks and assert-based tests, the way interviewers expect.
  5. 70 Project: Design and Prototype a URL Shortener Design and prototype a URL shortener: requirements, base62 ID generation, storage, redirects with 301 vs 302, custom aliases, analytics and capacity estimates.

Practice

  1. 71 Practice: JavaScript and Python Question Set Practice 15 JavaScript and Python interview questions: predict-the-output puzzles and short coding tasks, with hidden solutions and clear explanations.
  2. 72 Practice: Data Structures, Databases and Systems Set Practice 15 interview questions across algorithms in Python, SQL queries and system design estimates, with runnable workspaces and hidden solutions.
  3. 73 Practice: A Full Mock Interview Loop Run a full mock interview loop at home: four timed rounds (coding, fundamentals, system design, behavioral) with questions, scoring guides and a score calculator.

Interview Day

  1. 74 Questions to Ask Your Interviewer Which questions to ask at the end of a tech interview about the team, the code, growth and red flags, plus a small planner that builds your question list.
  2. 75 Interview Day Checklist and Common Mistakes A practical checklist for the days before and during a tech interview: preparation, remote setup, whiteboard habits, common mistakes and follow-up emails.
  3. 76 Rapid-Fire Questions: 100 Short Answers One hundred short interview answers across JavaScript, Python, Java, C++, systems, web, databases, algorithms, security and tools, plus a self-quiz you can run.
  4. 77 Interview Cheat Sheet A one-page tech interview cheat sheet: complexity tables, key definitions, problem-solving patterns, SQL and JavaScript gotchas and a pre-interview checklist.