Skip to main content
Interactive Practice

Coding Challenges

Solve 365+ interactive puzzles — predict outputs, hunt bugs, complete code & reorder logic across 19 languages.

1

Level 1 Novice Coder

0 / 50 XP to next level

0/365

solved

0 XP🔥 0 day streak0 solved

Language

Type

Difficulty

Status

Showing 365 of 365 challenges

Easy#js-out-1

String Concatenation

What does this code print?

🔮 Output PredictionJS JavaScript
⚡ +10 XPSolve
Easy#js-out-2

Type Coercion

What is the output?

🔮 Output PredictionJS JavaScript
⚡ +10 XPSolve
Medium#js-out-3

Array Destructuring

What gets logged?

🔮 Output PredictionJS JavaScript
⚡ +20 XPSolve
Medium#js-out-4

Spread Operator

What is the result?

🔮 Output PredictionJS JavaScript
⚡ +20 XPSolve
Hard#js-out-5

Closure Trap

What does this log?

🔮 Output PredictionJS JavaScript
⚡ +35 XPSolve
Easy#js-bug-1

Off-by-One Error

This function should return the last element of an array, but it has a bug.

🐛 Bug HuntJS JavaScript
⚡ +10 XPSolve
Medium#js-bug-2

Equality Check Bug

This comparison always returns false even for matching values.

🐛 Bug HuntJS JavaScript
⚡ +20 XPSolve
Hard#js-bug-3

Async Await Missing

This function should wait for data but returns a Promise instead.

🐛 Bug HuntJS JavaScript
⚡ +35 XPSolve
Easy#js-comp-1

Arrow Function

Complete the arrow function that doubles a number.

✏️ Code CompletionJS JavaScript
⚡ +10 XPSolve
Medium#js-comp-2

Array Method Chain

Complete the chain to get names of adults.

✏️ Code CompletionJS JavaScript
⚡ +20 XPSolve
Hard#js-comp-3

Promise.all Pattern

Complete the code to fetch multiple URLs concurrently.

✏️ Code CompletionJS JavaScript
⚡ +35 XPSolve
Easy#js-reorder-1

Function Declaration

Arrange these lines to create a working function.

🧩 Code ReorderJS JavaScript
⚡ +10 XPSolve
Medium#js-reorder-2

Fetch API Pattern

Reorder to make a proper fetch call.

🧩 Code ReorderJS JavaScript
⚡ +20 XPSolve
Hard#js-reorder-3

Event Listener Setup

Reorder to properly set up a click counter.

🧩 Code ReorderJS JavaScript
⚡ +35 XPSolve
Easy#py-out-1

List Slicing

What does this print?

🔮 Output PredictionPY Python
⚡ +10 XPSolve
Easy#py-out-2

String Multiply

What is the output?

🔮 Output PredictionPY Python
⚡ +10 XPSolve
Medium#py-out-3

Dictionary Comprehension

What does this produce?

🔮 Output PredictionPY Python
⚡ +20 XPSolve
Medium#py-out-4

Unpacking Values

What gets printed?

🔮 Output PredictionPY Python
⚡ +20 XPSolve
Hard#py-out-5

Mutable Default Argument

What happens when we call this twice?

🔮 Output PredictionPY Python
⚡ +35 XPSolve
Easy#py-bug-1

Indentation Error

This function has a bug preventing it from running.

🐛 Bug HuntPY Python
⚡ +10 XPSolve
Medium#py-bug-2

Integer Division Bug

This should return a float average but returns an integer.

🐛 Bug HuntPY Python
⚡ +20 XPSolve
Hard#py-bug-3

Scope Error in Loop

This should create 3 functions that print 0, 1, 2 but all print 2.

🐛 Bug HuntPY Python
⚡ +35 XPSolve
Easy#py-comp-1

List Comprehension

Complete the list comprehension for squares.

✏️ Code CompletionPY Python
⚡ +10 XPSolve
Medium#py-comp-2

Exception Handling

Complete the error handling pattern.

✏️ Code CompletionPY Python
⚡ +20 XPSolve
Hard#py-comp-3

Decorator Syntax

Complete the decorator pattern.

✏️ Code CompletionPY Python
⚡ +35 XPSolve
Easy#py-reorder-1

Class Definition

Arrange to create a proper Python class.

🧩 Code ReorderPY Python
⚡ +10 XPSolve
Medium#py-reorder-2

File Reading Pattern

Reorder to read a file properly.

🧩 Code ReorderPY Python
⚡ +20 XPSolve
Easy#java-out-1

String Comparison

What does this print?

🔮 Output PredictionJV Java
⚡ +10 XPSolve
Medium#java-out-2

Array Length

What is the output?

🔮 Output PredictionJV Java
⚡ +20 XPSolve
Hard#java-out-3

Integer Caching

What does this comparison return?

🔮 Output PredictionJV Java
⚡ +35 XPSolve
Easy#java-bug-1

Missing Semicolon

This code won't compile. Find the fix.

🐛 Bug HuntJV Java
⚡ +10 XPSolve
Medium#java-bug-2

String Equality Bug

This always returns false for matching strings.

🐛 Bug HuntJV Java
⚡ +20 XPSolve
Easy#java-comp-1

Main Method Signature

Complete the Java main method.

✏️ Code CompletionJV Java
⚡ +10 XPSolve
Medium#java-comp-2

Enhanced For Loop

Complete the enhanced for loop.

✏️ Code CompletionJV Java
⚡ +20 XPSolve
Easy#java-reorder-1

Simple Class

Arrange to create a valid Java class.

🧩 Code ReorderJV Java
⚡ +10 XPSolve
Easy#cpp-out-1

Vector Size

What does this output?

🔮 Output PredictionC+ C++
⚡ +10 XPSolve
Medium#cpp-out-2

Reference vs Copy

What is the output?

🔮 Output PredictionC+ C++
⚡ +20 XPSolve
Hard#cpp-out-3

Pointer Arithmetic

What is printed?

🔮 Output PredictionC+ C++
⚡ +35 XPSolve
Easy#cpp-bug-1

Missing Include

This code won't compile. What's missing?

🐛 Bug HuntC+ C++
⚡ +10 XPSolve
Easy#cpp-comp-1

Auto Keyword

Complete using the auto keyword.

✏️ Code CompletionC+ C++
⚡ +10 XPSolve
Medium#cpp-comp-2

Range-Based For

Complete the range-based for loop.

✏️ Code CompletionC+ C++
⚡ +20 XPSolve
Easy#ts-out-1

Type Assertion

What does this output?

🔮 Output PredictionTS TypeScript
⚡ +10 XPSolve
Medium#ts-out-2

Optional Chaining

What is the output?

🔮 Output PredictionTS TypeScript
⚡ +20 XPSolve
Hard#ts-out-3

Enum Values

What does this output?

🔮 Output PredictionTS TypeScript
⚡ +35 XPSolve
Easy#ts-bug-1

Missing Type Annotation

This function has a type error.

🐛 Bug HuntTS TypeScript
⚡ +10 XPSolve
Easy#ts-comp-1

Interface Definition

Complete the interface.

✏️ Code CompletionTS TypeScript
⚡ +10 XPSolve
Medium#ts-comp-2

Generic Function

Complete the generic function.

✏️ Code CompletionTS TypeScript
⚡ +20 XPSolve
Medium#ts-reorder-1

Type Guard Pattern

Arrange to create a proper type guard.

🧩 Code ReorderTS TypeScript
⚡ +20 XPSolve
Easy#sql-out-1

COUNT Function

What does this query return?

🔮 Output PredictionSQ SQL
⚡ +10 XPSolve
Medium#sql-out-2

NULL Comparison

How many rows does this return if 3 users have NULL email?

🔮 Output PredictionSQ SQL
⚡ +20 XPSolve
Hard#sql-out-3

GROUP BY with HAVING

What does this query do?

🔮 Output PredictionSQ SQL
⚡ +35 XPSolve
Easy#sql-bug-1

Wrong Wildcard

This LIKE query finds no matches.

🐛 Bug HuntSQ SQL
⚡ +10 XPSolve
Easy#sql-comp-1

JOIN Clause

Complete the JOIN query.

✏️ Code CompletionSQ SQL
⚡ +10 XPSolve
Medium#sql-comp-2

Subquery Pattern

Complete the subquery.

✏️ Code CompletionSQ SQL
⚡ +20 XPSolve
Medium#sql-reorder-1

Complete SELECT Query

Arrange the SQL clauses in correct order.

🧩 Code ReorderSQ SQL
⚡ +20 XPSolve
Easy#js-out-6

Boolean Conversion

What is the output?

🔮 Output PredictionJS JavaScript
⚡ +10 XPSolve
Medium#js-out-7

Object Keys

What does this log?

🔮 Output PredictionJS JavaScript
⚡ +20 XPSolve
Hard#js-out-8

Promise.race

What gets logged?

🔮 Output PredictionJS JavaScript
⚡ +35 XPSolve
Easy#py-out-6

String Methods

What is the output?

🔮 Output PredictionPY Python
⚡ +10 XPSolve
Medium#py-out-7

Zip Function

What does this produce?

🔮 Output PredictionPY Python
⚡ +20 XPSolve
Easy#ts-out-4

Const Assertion

What is the type of colors?

🔮 Output PredictionTS TypeScript
⚡ +10 XPSolve
Medium#ts-bug-2

Null Check Missing

This crashes when user is null.

🐛 Bug HuntTS TypeScript
⚡ +20 XPSolve
Easy#java-out-4

Ternary Operator

What does this print?

🔮 Output PredictionJV Java
⚡ +10 XPSolve
Medium#java-out-5

StringBuilder

What is the output?

🔮 Output PredictionJV Java
⚡ +20 XPSolve
Easy#cpp-out-4

String Length

What does this output?

🔮 Output PredictionC+ C++
⚡ +10 XPSolve
Medium#cpp-out-5

Map Insertion

What is printed?

🔮 Output PredictionC+ C++
⚡ +20 XPSolve
Easy#sql-out-4

DISTINCT Keyword

What does DISTINCT do?

🔮 Output PredictionSQ SQL
⚡ +10 XPSolve
Medium#sql-bug-2

GROUP BY Error

This query fails. What's wrong?

🐛 Bug HuntSQ SQL
⚡ +20 XPSolve
Easy#js-out-9

Template Literals

What is the output?

🔮 Output PredictionJS JavaScript
⚡ +10 XPSolve
Medium#js-out-10

NaN Comparison

What does this log?

🔮 Output PredictionJS JavaScript
⚡ +20 XPSolve
Hard#py-out-8

Generator Expression

What is the output?

🔮 Output PredictionPY Python
⚡ +35 XPSolve
Easy#py-comp-4

F-String Format

Complete the f-string.

✏️ Code CompletionPY Python
⚡ +10 XPSolve
Hard#java-comp-3

Stream API

Complete the stream operation.

✏️ Code CompletionJV Java
⚡ +35 XPSolve
Medium#cpp-bug-2

Dangling Reference

This function returns a dangerous reference.

🐛 Bug HuntC+ C++
⚡ +20 XPSolve
Hard#sql-comp-3

Window Function

Complete the window function.

✏️ Code CompletionSQ SQL
⚡ +35 XPSolve
Hard#ts-comp-3

Mapped Type

Complete the mapped type.

✏️ Code CompletionTS TypeScript
⚡ +35 XPSolve
Easy#js-bug-4

Const Reassignment

This code throws an error.

🐛 Bug HuntJS JavaScript
⚡ +10 XPSolve
Easy#py-bug-4

Wrong Comparison

This always returns True for None checks.

🐛 Bug HuntPY Python
⚡ +10 XPSolve
Hard#java-bug-3

ConcurrentModificationException

This crashes when removing items while iterating.

🐛 Bug HuntJV Java
⚡ +35 XPSolve
Hard#py-reorder-3

Context Manager

Arrange the custom context manager.

🧩 Code ReorderPY Python
⚡ +35 XPSolve
Medium#cpp-reorder-1

Class with Constructor

Arrange the C++ class properly.

🧩 Code ReorderC+ C++
⚡ +20 XPSolve
Hard#ts-reorder-2

Generic Class

Arrange the generic stack class.

🧩 Code ReorderTS TypeScript
⚡ +35 XPSolve
Hard#sql-reorder-2

Complex Query

Arrange this analytics query.

🧩 Code ReorderSQ SQL
⚡ +35 XPSolve
Easy#html-out-1

Heading Tag

What does this render?

🔮 Output PredictionHT HTML
⚡ +10 XPSolve
Easy#html-out-2

Anchor Tag

What does this create?

🔮 Output PredictionHT HTML
⚡ +10 XPSolve
Medium#html-out-3

Input Placeholder

What attribute shows hint text inside an input?

🔮 Output PredictionHT HTML
⚡ +20 XPSolve
Easy#html-bug-1

Missing Alt Attribute

This image is missing an accessibility attribute.

🐛 Bug HuntHT HTML
⚡ +10 XPSolve
Medium#html-bug-2

Unclosed Tag

This HTML is broken. Find the bug.

🐛 Bug HuntHT HTML
⚡ +20 XPSolve
Easy#html-comp-1

DOCTYPE Declaration

Complete the HTML5 document declaration.

✏️ Code CompletionHT HTML
⚡ +10 XPSolve
Medium#html-comp-2

Semantic Section

Complete the semantic HTML for navigation.

✏️ Code CompletionHT HTML
⚡ +20 XPSolve
Medium#html-reorder-1

HTML Boilerplate

Arrange the HTML document structure.

🧩 Code ReorderHT HTML
⚡ +20 XPSolve
Easy#css-out-1

Box Model

What is the total rendered width of this element?

🔮 Output PredictionCS CSS
⚡ +10 XPSolve
Medium#css-out-2

Specificity Winner

Which rule applies to <p class='text' id='main'>?

🔮 Output PredictionCS CSS
⚡ +20 XPSolve
Easy#css-bug-1

Flexbox Direction

Items should be in a row but they stack vertically.

🐛 Bug HuntCS CSS
⚡ +10 XPSolve
Medium#css-bug-2

Z-index Not Working

The z-index has no effect on this element.

🐛 Bug HuntCS CSS
⚡ +20 XPSolve
Easy#css-comp-1

Center with Flexbox

Complete to center content both ways.

✏️ Code CompletionCS CSS
⚡ +10 XPSolve
Medium#css-comp-2

CSS Variable

Complete the CSS custom property usage.

✏️ Code CompletionCS CSS
⚡ +20 XPSolve
Medium#css-reorder-1

Media Query

Arrange the responsive CSS rule.

🧩 Code ReorderCS CSS
⚡ +20 XPSolve
Easy#php-out-1

Variable Concatenation

What does this output?

🔮 Output PredictionPH PHP
⚡ +10 XPSolve
Medium#php-out-2

Array Functions

What is the output?

🔮 Output PredictionPH PHP
⚡ +20 XPSolve
Easy#php-bug-1

Missing Dollar Sign

This PHP code has a syntax error.

🐛 Bug HuntPH PHP
⚡ +10 XPSolve
Medium#php-bug-2

SQL Injection Risk

This query is vulnerable to SQL injection.

🐛 Bug HuntPH PHP
⚡ +20 XPSolve
Easy#php-comp-1

Echo Shorthand

Complete the PHP opening tag with echo shorthand.

✏️ Code CompletionPH PHP
⚡ +10 XPSolve
Medium#php-comp-2

Null Coalescing

Complete the null coalescing operator.

✏️ Code CompletionPH PHP
⚡ +20 XPSolve
Medium#php-reorder-1

PDO Query

Arrange the PDO prepared statement correctly.

🧩 Code ReorderPH PHP
⚡ +20 XPSolve
Easy#c-out-1

Printf Format

What does this print?

🔮 Output PredictionC C
⚡ +10 XPSolve
Medium#c-out-2

Pointer Dereference

What is the output?

🔮 Output PredictionC C
⚡ +20 XPSolve
Hard#c-out-3

sizeof Operator

On a 64-bit system, what is the output?

🔮 Output PredictionC C
⚡ +35 XPSolve
Easy#c-bug-1

Missing Return Type

This function declaration is incomplete.

🐛 Bug HuntC C
⚡ +10 XPSolve
Medium#c-bug-2

Memory Leak

This code allocates memory but has a bug.

🐛 Bug HuntC C
⚡ +20 XPSolve
Easy#c-comp-1

Include Header

Complete to include the standard I/O header.

✏️ Code CompletionC C
⚡ +10 XPSolve
Medium#c-comp-2

Struct Definition

Complete the struct keyword.

✏️ Code CompletionC C
⚡ +20 XPSolve
Medium#c-reorder-1

Malloc Pattern

Arrange the correct memory allocation pattern.

🧩 Code ReorderC C
⚡ +20 XPSolve
Easy#react-out-1

useState Initial Value

What is the initial value of count?

🔮 Output PredictionRX React
⚡ +10 XPSolve
Medium#react-out-2

useEffect Dependency

When does this effect run?

🔮 Output PredictionRX React
⚡ +20 XPSolve
Easy#react-bug-1

Missing Key Prop

This list renders but causes a console warning.

🐛 Bug HuntRX React
⚡ +10 XPSolve
Medium#react-bug-2

Stale Closure

The counter always shows 1, not the incremented value.

🐛 Bug HuntRX React
⚡ +20 XPSolve
Easy#react-comp-1

JSX Return

Complete the functional component.

✏️ Code CompletionRX React
⚡ +10 XPSolve
Medium#react-comp-2

useCallback Hook

Complete to memoize the handler.

✏️ Code CompletionRX React
⚡ +20 XPSolve
Medium#react-reorder-1

Component with Hook

Arrange a functional component with state.

🧩 Code ReorderRX React
⚡ +20 XPSolve
Easy#node-out-1

HTTP Status

What HTTP status code means 'Not Found'?

🔮 Output PredictionND Node.js
⚡ +10 XPSolve
Medium#node-out-2

Middleware Order

What does next() do in Express middleware?

🔮 Output PredictionND Node.js
⚡ +20 XPSolve
Easy#node-bug-1

Missing Await

This async route doesn't wait for the database.

🐛 Bug HuntND Node.js
⚡ +10 XPSolve
Easy#node-comp-1

Express Route

Complete the GET route definition.

✏️ Code CompletionND Node.js
⚡ +10 XPSolve
Medium#node-comp-2

Environment Variable

Complete the environment variable access.

✏️ Code CompletionND Node.js
⚡ +20 XPSolve
Medium#node-reorder-1

Express Setup

Arrange the Express server setup.

🧩 Code ReorderND Node.js
⚡ +20 XPSolve
Easy#sol-out-1

State Variable Visibility

Which visibility allows external access to this variable?

🔮 Output PredictionSO Solidity
⚡ +10 XPSolve
Medium#sol-out-2

Modifier Effect

What does the onlyOwner modifier do?

🔮 Output PredictionSO Solidity
⚡ +20 XPSolve
Medium#sol-bug-1

Missing Event Emit

This transfer function updates state but breaks off-chain tracking.

🐛 Bug HuntSO Solidity
⚡ +20 XPSolve
Easy#sol-comp-1

Pragma Version

Complete the Solidity version pragma.

✏️ Code CompletionSO Solidity
⚡ +10 XPSolve
Medium#sol-comp-2

Mapping Declaration

Complete the mapping for token balances.

✏️ Code CompletionSO Solidity
⚡ +20 XPSolve
Easy#cs-out-1

String Interpolation

What does this output?

🔮 Output PredictionC# C# / .NET
⚡ +10 XPSolve
Medium#cs-out-2

LINQ Count

What does this return?

🔮 Output PredictionC# C# / .NET
⚡ +20 XPSolve
Easy#cs-bug-1

Null Reference

This throws NullReferenceException.

🐛 Bug HuntC# C# / .NET
⚡ +10 XPSolve
Easy#cs-comp-1

Async Method

Complete the async method signature.

✏️ Code CompletionC# C# / .NET
⚡ +10 XPSolve
Medium#cs-comp-2

LINQ Select

Complete the LINQ projection.

✏️ Code CompletionC# C# / .NET
⚡ +20 XPSolve
Easy#django-out-1

ORM Query

What does this Django ORM call return?

🔮 Output PredictionDJ Django
⚡ +10 XPSolve
Medium#django-out-2

Model Meta Ordering

In what order are posts returned by default?

🔮 Output PredictionDJ Django
⚡ +20 XPSolve
Easy#django-bug-1

Missing Migration

Model changes aren't reflected in the database.

🐛 Bug HuntDJ Django
⚡ +10 XPSolve
Easy#django-comp-1

URL Pattern

Complete the URL pattern function.

✏️ Code CompletionDJ Django
⚡ +10 XPSolve
Medium#django-comp-2

Model ForeignKey

Complete the relationship field.

✏️ Code CompletionDJ Django
⚡ +20 XPSolve
Easy#laravel-out-1

Eloquent All

What does this return?

🔮 Output PredictionLV Laravel
⚡ +10 XPSolve
Medium#laravel-out-2

Route Helper

What does this generate?

🔮 Output PredictionLV Laravel
⚡ +20 XPSolve
Easy#laravel-bug-1

Mass Assignment

This creates a user but throws MassAssignmentException.

🐛 Bug HuntLV Laravel
⚡ +10 XPSolve
Easy#laravel-comp-1

Auth Middleware

Complete the route middleware for authentication.

✏️ Code CompletionLV Laravel
⚡ +10 XPSolve
Medium#laravel-comp-2

Eloquent Where

Complete the query to find active users.

✏️ Code CompletionLV Laravel
⚡ +20 XPSolve
Easy#aiml-out-1

Train-Test Split

What does test_size=0.2 mean?

🔮 Output PredictionAI AI & ML
⚡ +10 XPSolve
Medium#aiml-out-2

Model Accuracy

What does model.score() return?

🔮 Output PredictionAI AI & ML
⚡ +20 XPSolve
Medium#aiml-bug-1

Data Leakage

This code has data leakage. Find the bug.

🐛 Bug HuntAI AI & ML
⚡ +20 XPSolve
Easy#aiml-comp-1

Pandas Read CSV

Complete the data loading function.

✏️ Code CompletionAI AI & ML
⚡ +10 XPSolve
Medium#aiml-comp-2

Model Compile

Complete the Keras model compilation.

✏️ Code CompletionAI AI & ML
⚡ +20 XPSolve
Easy#qa-out-1

toBe vs toEqual

Which assertion compares object structure?

🔮 Output PredictionQA Testing & QA
⚡ +10 XPSolve
Medium#qa-out-2

Mock Return Value

What does mockFn() return?

🔮 Output PredictionQA Testing & QA
⚡ +20 XPSolve
Easy#qa-bug-1

Missing Async Await

This test always passes even when the promise rejects.

🐛 Bug HuntQA Testing & QA
⚡ +10 XPSolve
Easy#qa-comp-1

Jest Assertion

Complete the assertion to check the value.

✏️ Code CompletionQA Testing & QA
⚡ +10 XPSolve
Medium#qa-comp-2

Testing Library Query

Complete to find an element by its text.

✏️ Code CompletionQA Testing & QA
⚡ +20 XPSolve
Medium#qa-reorder-1

AAA Pattern

Arrange the Arrange-Act-Assert test pattern.

🧩 Code ReorderQA Testing & QA
⚡ +20 XPSolve
Hard#html-out-4

Form Method

What HTTP method does this form use by default if method is omitted?

🔮 Output PredictionHT HTML
⚡ +35 XPSolve
Hard#html-bug-3

Broken Script Load

The script runs before the DOM is ready.

🐛 Bug HuntHT HTML
⚡ +35 XPSolve
Hard#html-comp-3

ARIA Role

Complete the ARIA role for a dialog.

✏️ Code CompletionHT HTML
⚡ +35 XPSolve
Hard#css-out-3

CSS Grid Columns

How many equal columns does this create?

🔮 Output PredictionCS CSS
⚡ +35 XPSolve
Hard#css-bug-3

Animation Not Running

This animation is defined but never plays.

🐛 Bug HuntCS CSS
⚡ +35 XPSolve
Hard#css-comp-3

Pseudo-element

Complete the pseudo-element for content before an element.

✏️ Code CompletionCS CSS
⚡ +35 XPSolve
Hard#php-out-3

Strict Comparison

What is the result of this comparison?

🔮 Output PredictionPH PHP
⚡ +35 XPSolve
Hard#php-bug-3

Session Not Started

Session data is not saved.

🐛 Bug HuntPH PHP
⚡ +35 XPSolve
Hard#php-comp-3

Array Map

Complete the array_map call to double values.

✏️ Code CompletionPH PHP
⚡ +35 XPSolve
Hard#c-out-4

String vs Char

What is the difference between these two declarations?

🔮 Output PredictionC C
⚡ +35 XPSolve
Hard#c-bug-3

Buffer Overflow

This code has a dangerous security vulnerability.

🐛 Bug HuntC C
⚡ +35 XPSolve
Hard#c-comp-3

Function Pointer

Complete the function pointer declaration.

✏️ Code CompletionC C
⚡ +35 XPSolve
Hard#react-out-3

useMemo Return

When does useMemo recompute?

🔮 Output PredictionRX React
⚡ +35 XPSolve
Hard#react-bug-3

Infinite Loop

This component re-renders infinitely.

🐛 Bug HuntRX React
⚡ +35 XPSolve
Hard#react-comp-3

Context Consumer

Complete the hook to consume context.

✏️ Code CompletionRX React
⚡ +35 XPSolve
Hard#node-out-3

Event Loop Priority

In what order do these execute?

🔮 Output PredictionND Node.js
⚡ +35 XPSolve
Hard#node-bug-2

Unhandled Rejection

This promise error crashes the process.

🐛 Bug HuntND Node.js
⚡ +35 XPSolve
Hard#node-comp-3

Mongoose Schema

Complete the Mongoose model export.

✏️ Code CompletionND Node.js
⚡ +35 XPSolve
Hard#sol-out-3

msg.value Usage

What does msg.value contain in a payable function?

🔮 Output PredictionSO Solidity
⚡ +35 XPSolve
Hard#sol-bug-2

Reentrancy Vulnerability

This withdraw function is vulnerable to reentrancy.

🐛 Bug HuntSO Solidity
⚡ +35 XPSolve
Hard#sol-reorder-1

ERC-20 Transfer

Arrange the safe ERC-20 transfer logic.

🧩 Code ReorderSO Solidity
⚡ +35 XPSolve
Hard#cs-out-3

Value vs Reference

What is x after this code?

🔮 Output PredictionC# C# / .NET
⚡ +35 XPSolve
Hard#cs-bug-2

Deadlock Risk

This async code can deadlock in ASP.NET.

🐛 Bug HuntC# C# / .NET
⚡ +35 XPSolve
Hard#cs-reorder-1

LINQ Pipeline

Arrange the LINQ query to get top 3 names.

🧩 Code ReorderC# C# / .NET
⚡ +35 XPSolve
Hard#django-out-3

get_object_or_404

What happens when the object isn't found?

🔮 Output PredictionDJ Django
⚡ +35 XPSolve
Hard#django-bug-2

N+1 Query

This view runs 1 + N queries for N posts.

🐛 Bug HuntDJ Django
⚡ +35 XPSolve
Hard#django-reorder-1

Class-Based View

Arrange the Django class-based view.

🧩 Code ReorderDJ Django
⚡ +35 XPSolve
Hard#laravel-out-3

Eager Loading

What problem does with() solve?

🔮 Output PredictionLV Laravel
⚡ +35 XPSolve
Hard#laravel-bug-2

CSRF Missing

This form submits but gets a 419 error.

🐛 Bug HuntLV Laravel
⚡ +35 XPSolve
Hard#laravel-reorder-1

API Resource Route

Arrange creating and responding to a resource.

🧩 Code ReorderLV Laravel
⚡ +35 XPSolve
Hard#aiml-out-3

Overfitting Sign

What does this pattern indicate?

🔮 Output PredictionAI AI & ML
⚡ +35 XPSolve
Hard#aiml-bug-2

Wrong Loss Function

This binary classifier uses the wrong loss.

🐛 Bug HuntAI AI & ML
⚡ +35 XPSolve
Hard#aiml-reorder-1

ML Pipeline

Arrange the standard ML workflow.

🧩 Code ReorderAI AI & ML
⚡ +35 XPSolve
Hard#qa-out-3

beforeEach Purpose

What is beforeEach used for?

🔮 Output PredictionQA Testing & QA
⚡ +35 XPSolve
Hard#qa-bug-2

Test Pollution

Tests pass individually but fail when run together.

🐛 Bug HuntQA Testing & QA
⚡ +35 XPSolve
Hard#qa-reorder-2

Mock Setup

Arrange Jest mock setup correctly.

🧩 Code ReorderQA Testing & QA
⚡ +35 XPSolve
Hard#py-out-9

Class Inheritance MRO

What does this print?

🔮 Output PredictionPY Python
⚡ +35 XPSolve
Easy#java-out-6

Default int Value

What is the default value of an int field in a class?

🔮 Output PredictionJV Java
⚡ +10 XPSolve
Medium#java-out-7

Static Method Call

What does this print?

🔮 Output PredictionJV Java
⚡ +20 XPSolve
Hard#java-out-8

Autoboxing Trap

What does this print?

🔮 Output PredictionJV Java
⚡ +35 XPSolve
Medium#java-bug-4

NullPointerException

This code crashes with NPE.

🐛 Bug HuntJV Java
⚡ +20 XPSolve
Hard#java-bug-5

Checked Exception Unhandled

This code won't compile.

🐛 Bug HuntJV Java
⚡ +35 XPSolve
Medium#java-comp-4

Optional Chaining

Complete to safely get value from Optional.

✏️ Code CompletionJV Java
⚡ +20 XPSolve
Hard#java-comp-5

Lambda Comparator

Complete the lambda to sort by name length.

✏️ Code CompletionJV Java
⚡ +35 XPSolve
Medium#java-reorder-2

Try-With-Resources

Arrange the try-with-resources pattern.

🧩 Code ReorderJV Java
⚡ +20 XPSolve
Hard#java-reorder-3

Builder Pattern

Arrange the builder pattern call correctly.

🧩 Code ReorderJV Java
⚡ +35 XPSolve
Easy#sql-out-5

ORDER BY Default

In what order does this return results?

🔮 Output PredictionSQ SQL
⚡ +10 XPSolve
Medium#sql-out-6

LEFT JOIN Nulls

What happens to customers with no orders in this query?

🔮 Output PredictionSQ SQL
⚡ +20 XPSolve
Hard#sql-out-7

CTE Result

What does this CTE query return?

🔮 Output PredictionSQ SQL
⚡ +35 XPSolve
Easy#sql-bug-3

UPDATE Without WHERE

This UPDATE is dangerous. What's wrong?

🐛 Bug HuntSQ SQL
⚡ +10 XPSolve
Medium#sql-bug-4

Aggregate Without GROUP BY

This query fails when mixing aggregate and non-aggregate columns.

🐛 Bug HuntSQ SQL
⚡ +20 XPSolve
Easy#sql-comp-3

NULL Check

Complete to find rows where email is missing.

✏️ Code CompletionSQ SQL
⚡ +10 XPSolve
Medium#sql-comp-4

CASE Expression

Complete the CASE expression.

✏️ Code CompletionSQ SQL
⚡ +20 XPSolve
Hard#sql-comp-5

ROW_NUMBER Window

Complete the window function to number rows per department.

✏️ Code CompletionSQ SQL
⚡ +35 XPSolve
Medium#sql-reorder-3

INSERT Statement

Arrange a valid INSERT statement.

🧩 Code ReorderSQ SQL
⚡ +20 XPSolve
Hard#sql-reorder-4

Transaction Block

Arrange a safe database transaction.

🧩 Code ReorderSQ SQL
⚡ +35 XPSolve
Easy#html-out-5

Button Type Default

What type does a button have by default inside a form?

🔮 Output PredictionHT HTML
⚡ +10 XPSolve
Medium#html-out-6

Table Cell Span

How many columns does this cell occupy?

🔮 Output PredictionHT HTML
⚡ +20 XPSolve
Hard#html-out-7

Meta Viewport

What does this meta tag do on mobile?

🔮 Output PredictionHT HTML
⚡ +35 XPSolve
Easy#html-bug-4

Label Not Linked

Clicking the label doesn't focus the input.

🐛 Bug HuntHT HTML
⚡ +10 XPSolve
Medium#html-bug-5

Broken Image Path

The image shows a broken icon.

🐛 Bug HuntHT HTML
⚡ +20 XPSolve
Hard#html-bug-6

Duplicate IDs

JavaScript only finds one of these elements.

🐛 Bug HuntHT HTML
⚡ +35 XPSolve
Easy#html-comp-4

Checkbox Input

Complete the checkbox input type.

✏️ Code CompletionHT HTML
⚡ +10 XPSolve
Medium#html-comp-5

Data Attribute

Complete the custom data attribute.

✏️ Code CompletionHT HTML
⚡ +20 XPSolve
Hard#html-reorder-2

HTML Table Structure

Arrange the correct table structure.

🧩 Code ReorderHT HTML
⚡ +35 XPSolve
Hard#html-comp-6

Open Graph Meta

Complete the Open Graph property for the page title.

✏️ Code CompletionHT HTML
⚡ +35 XPSolve
Easy#ts-out-5

Union Type Check

What is the type of x?

🔮 Output PredictionTS TypeScript
⚡ +10 XPSolve
Medium#ts-out-6

Partial Utility Type

What does Partial<User> do?

🔮 Output PredictionTS TypeScript
⚡ +20 XPSolve
Hard#ts-out-7

Discriminated Union

How does TypeScript narrow this union?

🔮 Output PredictionTS TypeScript
⚡ +35 XPSolve
Easy#ts-bug-3

Type Mismatch

TypeScript reports an error on this assignment.

🐛 Bug HuntTS TypeScript
⚡ +10 XPSolve
Medium#ts-bug-4

Index Signature Error

This object access gives a TypeScript error.

🐛 Bug HuntTS TypeScript
⚡ +20 XPSolve
Hard#ts-bug-5

Missing Return in Union

TypeScript reports not all code paths return a value.

🐛 Bug HuntTS TypeScript
⚡ +35 XPSolve
Medium#ts-comp-4

Pick Utility Type

Complete to pick only name and email from User.

✏️ Code CompletionTS TypeScript
⚡ +20 XPSolve
Hard#ts-comp-5

Infer in Conditional

Complete the conditional type to extract the return type.

✏️ Code CompletionTS TypeScript
⚡ +35 XPSolve
Hard#ts-reorder-3

Zod Schema Validation

Arrange the Zod schema parse pattern.

🧩 Code ReorderTS TypeScript
⚡ +35 XPSolve
Medium#ts-comp-6

Readonly Array

Complete the type for an immutable string array.

✏️ Code CompletionTS TypeScript
⚡ +20 XPSolve
Easy#c-out-5

Character Arithmetic

What does this print?

🔮 Output PredictionC C
⚡ +10 XPSolve
Medium#c-out-6

Array Decay

What does sizeof print for the pointer?

🔮 Output PredictionC C
⚡ +20 XPSolve
Hard#c-out-7

Bitwise AND

What is the result?

🔮 Output PredictionC C
⚡ +35 XPSolve
Easy#c-bug-4

Uninitialized Variable

This code has undefined behavior.

🐛 Bug HuntC C
⚡ +10 XPSolve
Medium#c-bug-5

Off-by-One in Loop

This loop writes past the array boundary.

🐛 Bug HuntC C
⚡ +20 XPSolve
Hard#c-bug-6

Double Free

This code causes heap corruption.

🐛 Bug HuntC C
⚡ +35 XPSolve
Easy#c-comp-4

Scanf Input

Complete the scanf format for reading an integer.

✏️ Code CompletionC C
⚡ +10 XPSolve
Medium#c-comp-5

Typedef Struct

Complete the typedef to create a Point type.

✏️ Code CompletionC C
⚡ +20 XPSolve
Medium#c-reorder-2

Linked List Node

Arrange the linked list node creation.

🧩 Code ReorderC C
⚡ +20 XPSolve
Hard#c-reorder-3

File Write Pattern

Arrange to safely write to a file.

🧩 Code ReorderC C
⚡ +35 XPSolve
Easy#css-out-4

Inheritance

Does the <p> inherit the parent color?

🔮 Output PredictionCS CSS
⚡ +10 XPSolve
Medium#css-out-5

Position Absolute

What is this element positioned relative to?

🔮 Output PredictionCS CSS
⚡ +20 XPSolve
Hard#css-out-6

Stacking Context

Which element appears on top?

🔮 Output PredictionCS CSS
⚡ +35 XPSolve
Easy#css-bug-4

Width on Inline Element

The width has no effect on this element.

🐛 Bug HuntCS CSS
⚡ +10 XPSolve
Medium#css-bug-5

Margin Collapsing

Two vertical margins of 20px overlap giving 20px, not 40px.

🐛 Bug HuntCS CSS
⚡ +20 XPSolve
Hard#css-bug-6

Subgrid Missing

Grid items don't align to parent grid columns.

🐛 Bug HuntCS CSS
⚡ +35 XPSolve
Easy#css-comp-4

Font Import

Complete to import a Google Font.

✏️ Code CompletionCS CSS
⚡ +10 XPSolve
Medium#css-comp-5

Transition Property

Complete to animate opacity on hover.

✏️ Code CompletionCS CSS
⚡ +20 XPSolve
Medium#css-reorder-2

Custom Property Usage

Arrange the CSS custom property declaration and usage.

🧩 Code ReorderCS CSS
⚡ +20 XPSolve
Hard#css-comp-6

Calc Function

Complete to make an element fill remaining width.

✏️ Code CompletionCS CSS
⚡ +35 XPSolve
Easy#php-out-4

String Functions

What does this return?

🔮 Output PredictionPH PHP
⚡ +10 XPSolve
Medium#php-out-5

Type Coercion

What does this output?

🔮 Output PredictionPH PHP
⚡ +20 XPSolve
Hard#php-out-6

Static Property

What does this print?

🔮 Output PredictionPH PHP
⚡ +35 XPSolve
Easy#php-bug-4

Undefined Index

This causes a PHP notice/warning.

🐛 Bug HuntPH PHP
⚡ +10 XPSolve
Medium#php-bug-5

Wrong String Comparison

This comparison gives unexpected results.

🐛 Bug HuntPH PHP
⚡ +20 XPSolve
Hard#php-bug-6

Missing Exception Handling

Database errors crash the application.

🐛 Bug HuntPH PHP
⚡ +35 XPSolve
Easy#php-comp-4

Array Push

Complete to add an element to an array.

✏️ Code CompletionPH PHP
⚡ +10 XPSolve
Medium#php-comp-5

Heredoc Syntax

Complete the heredoc opening delimiter.

✏️ Code CompletionPH PHP
⚡ +20 XPSolve
Medium#php-reorder-2

OOP Constructor

Arrange the PHP class with constructor.

🧩 Code ReorderPH PHP
⚡ +20 XPSolve
Hard#php-reorder-3

Trait Usage

Arrange trait declaration and usage correctly.

🧩 Code ReorderPH PHP
⚡ +35 XPSolve
Easy#cpp-out-5

Reference vs Copy

What does this print?

🔮 Output PredictionC+ C++
⚡ +10 XPSolve
Medium#cpp-out-6

Vector Size vs Capacity

After push_back, what is v.size()?

🔮 Output PredictionC+ C++
⚡ +20 XPSolve
Hard#cpp-out-7

Move Semantics

After std::move, what is the state of s1?

🔮 Output PredictionC+ C++
⚡ +35 XPSolve
Easy#cpp-bug-3

Missing endl

Output doesn't appear immediately in some terminals.

🐛 Bug HuntC+ C++
⚡ +10 XPSolve
Medium#cpp-bug-4

Raw Pointer Memory Leak

This code leaks memory.

🐛 Bug HuntC+ C++
⚡ +20 XPSolve
Hard#cpp-bug-5

Slicing Problem

Derived class data is lost during assignment.

🐛 Bug HuntC+ C++
⚡ +35 XPSolve
Easy#cpp-comp-3

Range-based For

Complete the range-based for loop.

✏️ Code CompletionC+ C++
⚡ +10 XPSolve
Medium#cpp-comp-4

Smart Pointer

Complete the smart pointer type for exclusive ownership.

✏️ Code CompletionC+ C++
⚡ +20 XPSolve
Medium#cpp-reorder-2

Lambda Capture

Arrange a lambda that captures and modifies a variable.

🧩 Code ReorderC+ C++
⚡ +20 XPSolve
Hard#cpp-reorder-3

RAII File Handle

Arrange the RAII file handling pattern.

🧩 Code ReorderC+ C++
⚡ +35 XPSolve
Easy#react-out-4

Props Access

What does this component render?

🔮 Output PredictionRX React
⚡ +10 XPSolve
Medium#react-out-5

Conditional Rendering

What renders when isLoggedIn is false?

🔮 Output PredictionRX React
⚡ +20 XPSolve
Hard#react-out-6

useReducer Action

What is the state after dispatching this action?

🔮 Output PredictionRX React
⚡ +35 XPSolve
Easy#react-bug-4

State Mutation

The UI doesn't update when the array changes.

🐛 Bug HuntRX React
⚡ +10 XPSolve
Medium#react-bug-5

useEffect Cleanup

This component leaks a timer when unmounted.

🐛 Bug HuntRX React
⚡ +20 XPSolve
Easy#react-comp-4

Event Handler

Complete the click event handler.

✏️ Code CompletionRX React
⚡ +10 XPSolve
Medium#react-comp-5

Default Export

Complete the default export of a component.

✏️ Code CompletionRX React
⚡ +20 XPSolve
Hard#react-comp-6

useRef Access

Complete to access the DOM input element.

✏️ Code CompletionRX React
⚡ +35 XPSolve
Medium#react-reorder-2

Custom Hook

Arrange a custom hook that fetches data.

🧩 Code ReorderRX React
⚡ +20 XPSolve
Hard#react-reorder-3

Context Provider

Arrange Context API correctly.

🧩 Code ReorderRX React
⚡ +35 XPSolve
Easy#node-out-4

require vs import

Which syntax is used in CommonJS modules?

🔮 Output PredictionND Node.js
⚡ +10 XPSolve
Medium#node-out-5

Process Exit Code

What does process.exit(1) indicate?

🔮 Output PredictionND Node.js
⚡ +20 XPSolve
Hard#node-out-6

Readable Stream

How is data read from a readable stream?

🔮 Output PredictionND Node.js
⚡ +35 XPSolve
Easy#node-bug-3

Sync in Async Context

This blocks the event loop and degrades performance.

🐛 Bug HuntND Node.js
⚡ +10 XPSolve
Medium#node-bug-4

Missing Error Handler

Express doesn't return errors to clients.

🐛 Bug HuntND Node.js
⚡ +20 XPSolve
Hard#node-bug-5

CORS Not Set

Browser blocks requests from a different origin.

🐛 Bug HuntND Node.js
⚡ +35 XPSolve
Easy#node-comp-4

Path Join

Complete to safely join file paths.

✏️ Code CompletionND Node.js
⚡ +10 XPSolve
Medium#node-comp-5

JWT Sign

Complete to sign a JSON Web Token.

✏️ Code CompletionND Node.js
⚡ +20 XPSolve
Hard#node-comp-6

Cluster Fork

Complete to spawn a worker process per CPU.

✏️ Code CompletionND Node.js
⚡ +35 XPSolve
Medium#node-reorder-2

Middleware Chain

Arrange Express middleware in the correct order.

🧩 Code ReorderND Node.js
⚡ +20 XPSolve
Hard#node-reorder-3

Async File Read

Arrange the async file reading pattern correctly.

🧩 Code ReorderND Node.js
⚡ +35 XPSolve
Easy#qa-out-4

Test File Naming

Which file naming convention does Jest auto-discover?

🔮 Output PredictionQA Testing & QA
⚡ +10 XPSolve
Medium#qa-out-5

toHaveBeenCalledWith

What does this assertion check?

🔮 Output PredictionQA Testing & QA
⚡ +20 XPSolve
Hard#qa-out-6

Coverage Metric

What does 80% branch coverage mean?

🔮 Output PredictionQA Testing & QA
⚡ +35 XPSolve
Easy#qa-bug-3

Asserting Wrong Thing

This test always passes even with a bug.

🐛 Bug HuntQA Testing & QA
⚡ +10 XPSolve
Medium#qa-bug-4

Snapshot Outdated

Tests fail after a legitimate UI change.

🐛 Bug HuntQA Testing & QA
⚡ +20 XPSolve
Hard#qa-bug-5

Integration Test Flakiness

Tests randomly fail due to timing issues.

🐛 Bug HuntQA Testing & QA
⚡ +35 XPSolve
Easy#qa-comp-3

Spy on Method

Complete to spy on the console.log method.

✏️ Code CompletionQA Testing & QA
⚡ +10 XPSolve
Medium#qa-comp-4

Async Test

Complete the async test correctly.

✏️ Code CompletionQA Testing & QA
⚡ +20 XPSolve
Hard#qa-comp-5

Custom Matcher

Complete to extend Jest with a custom matcher.

✏️ Code CompletionQA Testing & QA
⚡ +35 XPSolve
Medium#qa-reorder-3

Given-When-Then

Arrange the BDD-style test structure.

🧩 Code ReorderQA Testing & QA
⚡ +20 XPSolve
Hard#qa-reorder-4

E2E Test Flow

Arrange a Playwright/Cypress E2E test.

🧩 Code ReorderQA Testing & QA
⚡ +35 XPSolve
Easy#aiml-out-4

Supervised vs Unsupervised

Which is supervised learning?

🔮 Output PredictionAI AI & ML
⚡ +10 XPSolve
Medium#aiml-out-5

Activation Function

What does ReLU return for input -3?

🔮 Output PredictionAI AI & ML
⚡ +20 XPSolve
Hard#aiml-out-6

Confusion Matrix TP

In a confusion matrix, what is a True Positive?

🔮 Output PredictionAI AI & ML
⚡ +35 XPSolve
Easy#aiml-bug-3

Feature Not Scaled

The model performs poorly despite good data.

🐛 Bug HuntAI AI & ML
⚡ +10 XPSolve
Medium#aiml-bug-4

Missing Feature Engineering

Model ignores the date column.

🐛 Bug HuntAI AI & ML
⚡ +20 XPSolve
Hard#aiml-bug-5

Class Imbalance Ignored

Model predicts majority class for almost all inputs.

🐛 Bug HuntAI AI & ML
⚡ +35 XPSolve
Easy#aiml-comp-3

Predict Method

Complete the prediction call.

✏️ Code CompletionAI AI & ML
⚡ +10 XPSolve
Medium#aiml-comp-4

DataFrame Shape

Complete to get the number of rows and columns.

✏️ Code CompletionAI AI & ML
⚡ +20 XPSolve
Hard#aiml-comp-5

Cross Validation

Complete the k-fold cross validation call.

✏️ Code CompletionAI AI & ML
⚡ +35 XPSolve
Medium#aiml-reorder-2

Data Preprocessing

Arrange the correct data preprocessing order.

🧩 Code ReorderAI AI & ML
⚡ +20 XPSolve
Hard#aiml-reorder-3

Neural Network Layers

Arrange Keras model layer order for image classification.

🧩 Code ReorderAI AI & ML
⚡ +35 XPSolve
Hard#aiml-out-7

Gradient Descent Direction

Which direction does gradient descent move?

🔮 Output PredictionAI AI & ML
⚡ +35 XPSolve
Easy#cs-out-4

Nullable Type

What does int? mean in C#?

🔮 Output PredictionC# C# / .NET
⚡ +10 XPSolve
Medium#cs-out-5

String Comparison

What does this return?

🔮 Output PredictionC# C# / .NET
⚡ +20 XPSolve
Hard#cs-out-6

Record Equality

What does this print?

🔮 Output PredictionC# C# / .NET
⚡ +35 XPSolve
Easy#cs-bug-3

Unhandled Exception

This crashes on invalid input.

🐛 Bug HuntC# C# / .NET
⚡ +10 XPSolve
Medium#cs-bug-4

LINQ Deferred Execution

The query result changes unexpectedly after modification.

🐛 Bug HuntC# C# / .NET
⚡ +20 XPSolve
Hard#cs-bug-5

Interface Not Implemented

This code won't compile.

🐛 Bug HuntC# C# / .NET
⚡ +35 XPSolve
Easy#cs-comp-3

String Interpolation

Complete the string interpolation.

✏️ Code CompletionC# C# / .NET
⚡ +10 XPSolve
Medium#cs-comp-4

Null Conditional Operator

Complete to safely access a property.

✏️ Code CompletionC# C# / .NET
⚡ +20 XPSolve
Hard#cs-comp-5

Dependency Injection

Complete the constructor injection registration.

✏️ Code CompletionC# C# / .NET
⚡ +35 XPSolve
Medium#cs-reorder-2

LINQ Query Chain

Arrange the LINQ query correctly.

🧩 Code ReorderC# C# / .NET
⚡ +20 XPSolve
Hard#cs-reorder-3

Entity Framework Query

Arrange the EF Core query pattern.

🧩 Code ReorderC# C# / .NET
⚡ +35 XPSolve
Hard#cs-out-7

Pattern Matching Switch

What does this print when shape is a Circle?

🔮 Output PredictionC# C# / .NET
⚡ +35 XPSolve
Easy#sol-out-4

Visibility Specifiers

Which visibility allows only the contract itself to call the function?

🔮 Output PredictionSO Solidity
⚡ +10 XPSolve
Medium#sol-out-5

Mapping Default

What does a mapping return for a key that was never set?

🔮 Output PredictionSO Solidity
⚡ +20 XPSolve
Hard#sol-out-6

msg.sender in Constructor

Who is msg.sender when a contract is deployed?

🔮 Output PredictionSO Solidity
⚡ +35 XPSolve
Easy#sol-bug-3

Integer Overflow (old)

In Solidity <0.8.0, what is the risk here?

🐛 Bug HuntSO Solidity
⚡ +10 XPSolve
Medium#sol-bug-4

Missing payable Modifier

This function can't receive ETH.

🐛 Bug HuntSO Solidity
⚡ +20 XPSolve
Hard#sol-bug-5

Reentrancy Vulnerability

This withdraw function is vulnerable to reentrancy.

🐛 Bug HuntSO Solidity
⚡ +35 XPSolve
Easy#sol-comp-3

Event Declaration

Complete the event declaration.

✏️ Code CompletionSO Solidity
⚡ +10 XPSolve
Medium#sol-comp-4

Require Message

Complete the require with an error message.

✏️ Code CompletionSO Solidity
⚡ +20 XPSolve
Hard#sol-comp-5

Custom Modifier

Complete the modifier to restrict access to the owner.

✏️ Code CompletionSO Solidity
⚡ +35 XPSolve
Medium#sol-reorder-2

ERC-20 Transfer

Arrange the ERC-20 transfer logic correctly.

🧩 Code ReorderSO Solidity
⚡ +20 XPSolve
Hard#sol-reorder-3

Contract Deployment Order

Arrange a proxy pattern deployment.

🧩 Code ReorderSO Solidity
⚡ +35 XPSolve
Hard#sol-out-7

view vs pure

What is the difference between view and pure functions?

🔮 Output PredictionSO Solidity
⚡ +35 XPSolve
Easy#django-out-4

ORM Filter

What does this queryset return?

🔮 Output PredictionDJ Django
⚡ +10 XPSolve
Medium#django-out-5

URL Namespace

What does this URL tag resolve to?

🔮 Output PredictionDJ Django
⚡ +20 XPSolve
Hard#django-out-6

select_related Purpose

Why use select_related() here?

🔮 Output PredictionDJ Django
⚡ +35 XPSolve
Easy#django-bug-3

Missing CSRF Token

POST form returns 403 Forbidden.

🐛 Bug HuntDJ Django
⚡ +10 XPSolve
Medium#django-bug-4

Missing Migration

New model field doesn't appear in the database.

🐛 Bug HuntDJ Django
⚡ +20 XPSolve
Hard#django-bug-5

N+1 Query Problem

This view makes too many database queries.

🐛 Bug HuntDJ Django
⚡ +35 XPSolve
Easy#django-comp-3

Template Variable

Complete to render a variable in a Django template.

✏️ Code CompletionDJ Django
⚡ +10 XPSolve
Medium#django-comp-4

Model String Representation

Complete to give the model a human-readable name.

✏️ Code CompletionDJ Django
⚡ +20 XPSolve
Hard#django-comp-5

Class-Based View

Complete to create a list view for the Post model.

✏️ Code CompletionDJ Django
⚡ +35 XPSolve
Medium#django-reorder-2

Form Processing View

Arrange the form processing logic correctly.

🧩 Code ReorderDJ Django
⚡ +20 XPSolve
Hard#django-reorder-3

Custom Middleware

Arrange the middleware process_request pattern.

🧩 Code ReorderDJ Django
⚡ +35 XPSolve
Hard#django-out-7

get_or_create Return

What does get_or_create return?

🔮 Output PredictionDJ Django
⚡ +35 XPSolve
Easy#laravel-out-4

Eloquent All

What does this return?

🔮 Output PredictionLV Laravel
⚡ +10 XPSolve
Medium#laravel-out-5

Blade Directive

What does @auth output?

🔮 Output PredictionLV Laravel
⚡ +20 XPSolve
Hard#laravel-out-6

Route Model Binding

What is $post in this route?

🔮 Output PredictionLV Laravel
⚡ +35 XPSolve
Easy#laravel-bug-3

Missing CSRF in Form

POST form returns 419 error.

🐛 Bug HuntLV Laravel
⚡ +10 XPSolve
Medium#laravel-bug-4

Mass Assignment Blocked

Model fails to save with fillable error.

🐛 Bug HuntLV Laravel
⚡ +20 XPSolve
Hard#laravel-bug-5

N+1 in Blade

This loads too many queries in the loop.

🐛 Bug HuntLV Laravel
⚡ +35 XPSolve
Easy#laravel-comp-3

Route GET

Complete the basic GET route definition.

✏️ Code CompletionLV Laravel
⚡ +10 XPSolve
Medium#laravel-comp-4

Eloquent Where

Complete the query to find active users.

✏️ Code CompletionLV Laravel
⚡ +20 XPSolve
Hard#laravel-comp-5

Dispatch Job

Complete to dispatch a queued job.

✏️ Code CompletionLV Laravel
⚡ +35 XPSolve
Medium#laravel-reorder-2

API Resource Route

Arrange to register a full REST resource.

🧩 Code ReorderLV Laravel
⚡ +20 XPSolve
Hard#laravel-reorder-3

Service Provider Boot

Arrange the service provider structure.

🧩 Code ReorderLV Laravel
⚡ +35 XPSolve
Hard#laravel-out-7

firstOrFail vs find

What happens when firstOrFail() finds no record?

🔮 Output PredictionLV Laravel
⚡ +35 XPSolve
🚀

Keep Sharpening Your Skills

365+ challenges across 19 languages. Earn XP, build streaks, and level up.