Python quizzes: #interview

41 quizzes about #interview, with an explanation for every answer.

5 Nested Loops & Patterns Hard Trace loops inside loops, star patterns and the classic interview traps. Python · Control Flow #nested-loops#patterns#interview 10 questions · ~8 min Not started Start
5 Copying vs Referencing Hard Find out when two names share one list and when you really have a copy. Python · Lists & Tuples #mutability#gotchas#interview 10 questions · ~8 min Not started Start
5 Nested Data Structures Hard Work with dicts inside lists inside dicts, copies, aliasing and JSON round trips. Python · Dictionaries & Sets #nesting#json#interview 10 questions · ~8 min Not started Start
5 Recursion Hard Trace recursive calls, find missing base cases and spot recursion bugs. Python · Functions #recursion#interview 10 questions · ~8 min Not started Start
5 Decorators Hard Read and write decorators, from simple wrappers to decorators that take arguments. Python · Pythonic Python #decorators#closures#interview 10 questions · ~8 min Not started Start
5 Find the Bug Hard Spot the classic Python gotchas behind code that runs but gives the wrong answer. Python · Errors & Debugging #debugging#gotchas#interview 10 questions · ~8 min Not started Start
1 Python Interview Questions for Freshers Easy The classic first-round Python questions on types, mutability, functions and lists. Python · Python Interview Questions #interview#basics 10 questions · ~5 min Not started Start
2 Output-Based Python Questions Medium Predict the exact output of short Python snippets, the way written interview rounds test you. Python · Python Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
3 Tricky Python Questions Hard Real Python gotchas that catch even experienced developers in interviews. Python · Python Interview Questions #gotchas#interview 10 questions · ~8 min Not started Start
4 Python OOP Interview Questions Medium Classes, inheritance, super(), name mangling and abstract classes as interviewers ask about them. Python · Python Interview Questions #oop#interview 10 questions · ~6 min Not started Start
5 Python Coding Interview Questions Hard Time complexity, choosing the right data structure and classic coding-round patterns in Python. Python · Python Interview Questions #algorithms#complexity#interview 10 questions · ~8 min Not started Start
4 Closures Hard Understand how functions remember the variables around them, a favorite interview topic. JavaScript · Functions & Scope #closures#interview 10 questions · ~8 min Not started Start
5 this, call, apply & bind Hard Predict what this points to and control it with call, apply and bind. JavaScript · Functions & Scope #this#interview 10 questions · ~8 min Not started Start
1 The Event Loop Hard Predict the exact order of synchronous code, microtasks and timers, the classic interview question. JavaScript · Asynchronous JavaScript #event-loop#interview 10 questions · ~8 min Not started Start
1 Output-Based JavaScript Questions Medium Predict the output of short snippets, the most common JavaScript interview format. JavaScript · JavaScript Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
2 Tricky JavaScript Questions Hard The JavaScript gotchas that trip up even experienced developers in interviews. JavaScript · JavaScript Interview Questions #gotchas#interview 10 questions · ~8 min Not started Start
3 Closures in Loops Hard The classic interview puzzle of functions created inside loops, with var, let and every fix in between. JavaScript · JavaScript Interview Questions #closures#interview 10 questions · ~8 min Not started Start
4 JavaScript: Find the Bug Hard Each snippet has a real-world bug. Work out what it actually does and how to fix it. JavaScript · JavaScript Interview Questions #debugging#interview 10 questions · ~8 min Not started Start
5 equals() & hashCode() Hard Master the equals/hashCode contract and the HashSet and HashMap bugs that break it. Java · Object-Oriented Java #oop#interview 10 questions · ~8 min Not started Start
1 String Pool & Immutability Medium Know when two Java strings are the same object, why == lies and why strings never change. Java · Strings, Arrays & Wrappers #strings#interview 10 questions · ~6 min Not started Start
1 Output-Based Java Questions Medium Predict what short Java programs print, the way interview screens and written tests ask it. Java · Java Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
2 Is Java Pass by Value? Hard Settle the classic interview question with code that shows what a method can and cannot change. Java · Java Interview Questions #interview#references 10 questions · ~8 min Not started Start
3 Tricky Java Questions Hard Real Java gotchas from interviews, each one a short program that does not do what it seems to. Java · Java Interview Questions #gotchas#interview 10 questions · ~8 min Not started Start
4 Static vs Instance Medium Know what belongs to the class and what belongs to each object, a favorite Java interview topic. Java · Java Interview Questions #oop#interview 10 questions · ~6 min Not started Start
5 Java: Find the Bug Hard Spot the bug in short Java programs that compile fine but do the wrong thing. Java · Java Interview Questions #debugging#interview 10 questions · ~8 min Not started Start
1 Output-Based C Questions Medium Predict what short C programs print, the classic interview warm-up. C · C Interview Questions #output-prediction#interview 10 questions · ~6 min Not started Start
2 Tricky C Questions Hard Real C gotchas from interviews, where the obvious answer is wrong. C · C Interview Questions #gotchas#interview 10 questions · ~8 min Not started Start
4 Undefined Behavior Hard Recognise undefined behaviour in C and understand why the compiler may do anything. C · C Interview Questions #undefined-behavior#interview 10 questions · ~8 min Not started Start
5 C: Find the Bug Hard Read short C programs with a real bug, predict what they do and name the fix. C · C Interview Questions #debugging#interview 10 questions · ~8 min Not started Start
1 Classic SQL Interview Queries Hard Solve the queries every SQL interview asks, like second highest salary, duplicates and top N per group. SQL · SQL Interview Questions #interview#queries 10 questions · ~8 min Not started Start
5 SQL: Find the Bug Hard Find the bugs in queries that run without errors but return the wrong answer, and in ones that do not run at all. SQL · SQL Interview Questions #debugging#interview 10 questions · ~8 min Not started Start
1 HTML Interview Questions Medium Answer the HTML questions that come up again and again in front-end interviews. HTML & CSS · HTML & CSS Interview Questions #interview#html#semantics 10 questions · ~6 min Not started Start
2 CSS Interview Questions Medium Practice the CSS questions interviewers ask about the box model, specificity, units and visibility. HTML & CSS · HTML & CSS Interview Questions #interview#css#box-model 10 questions · ~6 min Not started Start
4 Web Accessibility Questions Medium Answer interview-style questions about alt text, ARIA, focus and color contrast. HTML & CSS · HTML & CSS Interview Questions #accessibility#aria#interview 10 questions · ~6 min Not started Start
3 Overfitting & Underfitting Medium Diagnose overfitting and underfitting from scores and curves, and pick the right fix. AI & Machine Learning · Machine Learning Basics #overfitting#interview 10 questions · ~6 min Not started Start
5 Classic ML Algorithms Medium Know how linear and logistic regression, k-NN, decision trees and k-means work and when to use each. AI & Machine Learning · Machine Learning Basics #algorithms#interview 10 questions · ~6 min Not started Start
1 Accuracy, Precision & Recall Medium Compute accuracy, precision, recall and F1 from small counts and pick the right metric for the job. AI & Machine Learning · Model Evaluation #metrics#interview 10 questions · ~6 min Not started Start
4 Cross-Validation Medium Use k-fold, stratified, grouped and time-based splits correctly and avoid data leakage. AI & Machine Learning · Model Evaluation #validation#interview 10 questions · ~6 min Not started Start
3 Backpropagation & Gradient Descent Hard Apply the chain rule, run gradient descent steps by hand and explain why training succeeds or fails. AI & Machine Learning · Neural Networks & Deep Learning #backpropagation#gradient-descent#interview 10 questions · ~8 min Not started Start
3 Transformer Architecture Hard Encoders, decoders, positional encoding, causal masks and multi-head attention, interview style. AI & Machine Learning · NLP, Transformers & LLMs #transformers#interview 10 questions · ~8 min Not started Start
5 Bayes' Theorem Hard Update probabilities with new evidence and avoid the base rate traps that catch most people. AI & Machine Learning · Statistics & Probability for ML #probability#bayes#interview 10 questions · ~8 min Not started Start

Other tags: