Practice
Short, focused questions for every topic — Basic, Intermediate and Advanced. You write every line; hints point the way without giving code.
- Checked instantly
- Hints, never code
- Earn XP for every solve
Solved · of 3235
SQL · of 1820
Python · of 380
Libraries · of 490
Data prep · of 110
Excel · of 255
ML · of 180
From CREATE TABLE and constraints to window functions and interview combos.
Interview questions
The patterns interviewers ask again and again, collected from every topic.
CREATE TABLE & data types
Design tables with the right columns and types.
Constraints
PRIMARY KEY, NOT NULL, UNIQUE, CHECK, DEFAULT and FOREIGN KEY.
INSERT, UPDATE & DELETE
Add, change and remove rows safely.
ALTER, DROP & views
Change table structure and save queries as views.
SELECT & WHERE
Pick columns and filter rows with conditions.
ORDER BY, LIMIT & DISTINCT
Sort, take the top rows and remove duplicates.
Aggregates & GROUP BY
COUNT, SUM, AVG, MIN, MAX — overall and per group.
HAVING
Filter groups after aggregating.
Joins
INNER, LEFT, RIGHT and FULL joins across tables.
Self & cross joins
Join a table to itself and build combinations.
Subqueries
Queries inside queries: IN, EXISTS and scalar subqueries.
CTEs (WITH)
Break problems into readable steps.
CASE WHEN
Conditional logic, buckets and pivots.
NULL handling
IS NULL, COALESCE, NULLIF and NULLs in aggregates.
String functions
Clean and transform text.
Date functions
Extract parts, truncate, add and subtract dates.
Window functions: ranking
ROW_NUMBER, RANK, DENSE_RANK, NTILE.
Window functions: LAG, LEAD & running totals
Compare rows and accumulate values.
Data cleaning & outliers
Find bad values, duplicates and outliers, then clean them with SQL.
UNION, INTERSECT & EXCEPT
Combine and compare result sets.
Mixed & interview problems
Combine everything — the questions interviews love.
Strings, lists, dicts, loops, functions, lambdas and comprehensions.
Interview questions
The patterns interviewers ask again and again, collected from every topic.
Strings
Slicing, methods, formatting and text puzzles.
Lists
Indexing, slicing, sorting and list methods.
Tuples & sets
Immutable sequences and set operations.
Dictionaries
Counting, grouping and looking things up.
For loops
Iterate, accumulate, enumerate and zip.
While loops
Loop until a condition changes.
Functions
Parameters, defaults, return values and recursion.
Lambda, map, filter & sorted
Small functions and functional tools.
Comprehensions
List, dict and set comprehensions.
Practice test 1: basics
Ten mixed questions on strings, lists, dicts and loops, to check you're ready.
Practice test 2: functions & more
Ten mixed questions on sets, functions, lambdas, comprehensions and recursion.
The four libraries every data analyst uses, in the order to learn them. Every question is a small task from real work, from the very first array to full analysis and report charts.
NumPy
0 / 110 solvedFast arrays: the maths engine under pandas and every ML library.
NumPy: creating & inspecting arrays
Build arrays from data and read their shape, size and type.
NumPy: indexing, slicing & masks
Pick values, rows, columns and everything that matches a rule.
NumPy: vectorised maths & statistics
Whole-array maths, aggregates and classic analysis formulas.
NumPy: reshape, stack & broadcasting
Change shapes, join arrays and combine different shapes.
NumPy: random, linear algebra & real analysis
Simulations, matrices and business problems solved with arrays.
NumPy: practice test
Ten mixed questions from every topic above, to check you're ready.
Pandas
0 / 160 solvedLoad, explore, clean, combine and summarise business data tables.
Pandas: first look at a dataset
Series and DataFrames: size, types, summaries and quick counts.
Pandas: selecting & filtering
Select columns, filter rows, sort and add columns.
Pandas: groupby & aggregation
Summaries per group.
Pandas: merge, pivot & reshape
Join DataFrames and change their shape.
Pandas: cleaning data
Missing values, duplicates, text and dates.
Pandas: dates & time series
Date parts, resampling, rolling windows and period comparisons.
Pandas: apply, windows & analysis tasks
Custom logic, ranking, cohorts and full analyst tasks.
Pandas: practice test 1
Ten mixed questions on selecting, filtering and groupby.
Pandas: practice test 2
Ten mixed questions on merges, dates, pivots and analysis.
Matplotlib
0 / 110 solvedBuild any chart line by line, from a quick plot to a report figure.
Matplotlib: line charts & labels
Your first charts: lines, titles, axis labels and legends.
Matplotlib: bars, histograms & pies
Compare categories and show distributions and shares.
Matplotlib: scatter plots & styling
Relationships between numbers, colours, markers and line styles.
Matplotlib: subplots & layouts
Several charts in one figure, shared axes and twin axes.
Matplotlib: report-ready charts
Annotations, reference lines and charts a manager can read.
Matplotlib: practice test
Ten mixed questions from every topic above, to check you're ready.
Seaborn
0 / 110 solvedStatistical charts in one call: distributions, comparisons and heatmaps.
Seaborn: distributions
Histograms, density curves and ECDFs of a column.
Seaborn: comparing categories
Count, bar, box, violin and point plots.
Seaborn: relationships & trends
Scatter and line plots with hue, style and size.
Seaborn: heatmaps & regression
Correlation and pivot heatmaps, trend lines.
Seaborn: facets, themes & analysis
Small multiples, styling and full charting tasks.
Seaborn: practice test
Ten mixed questions from every topic above, to check you're ready.
Real data is never ready to use. Practise every step in order: clean the mistakes, find and handle outliers, reshape the data, build features and get it ready for a model. Every question uses a small messy dataset like the ones you get at work. Learn pandas basics first, from the Python Libraries tab.
Data Prep: cleaning messy data
Placeholders, wrong types, impossible values, duplicates and a data quality check.
Data Prep: finding & handling outliers
IQR, z-scores, percentiles, outliers per group, capping and log transforms.
Data Prep: processing & transforming
Combine, reshape, bin, scale and turn raw records into analysis-ready tables.
Data Prep: feature engineering
Encode categories and build date, ratio, group and lag features without leakage.
Data Prep: getting data ready for ML
Splits, imputers, encoders, scalers, pipelines and outliers in scikit-learn.
Data Prep: practice test
Ten mixed questions from every Data Preparation topic, to check you're ready.
SQL: data cleaning & outliers
Find bad values, duplicates and outliers, then clean them with SQL. The same checks, inside the database.
Five companies, five industries, one workbook each. Download the workbook, clean the data and build the formulas a working analyst uses: lookups, SUMIFS, IFS, dates, text functions, financial functions, pivots and dashboards. Then type your final answer to check it.
Retail & Distribution: Kaveri Home Appliances
Clean a messy leads list, then lookups, SUMIFS, commission slabs, ageing and pivots on six months of appliance sales.
Banking & NBFC: Suvidha Finserv
Loan book cleaning, CIBIL and fee grids, EMI maths (PMT, IPMT, PPMT, RATE, NPER, Goal Seek), collections, DPD and NPA.
HR & Payroll: Nexora Tech Services
Employee master, manager self-lookups, tenure and retirement dates, attrition, pay gaps, increments, PF, PT and a wide attendance sheet.
Use Microsoft Excel 2021 or Microsoft 365, Excel for the web or Google Sheets: some solutions use XLOOKUP, FILTER and UNIQUE, which older Excel versions do not have.
Every algorithm starts with a real business problem. First watch a model being built step by step and run it yourself, then build one on new data in the practice questions. Python and pandas first will make this much easier.
Before you train: get the data ready for MLMissing values, outliers, encoding, scaling, pipelines and leakage: the data preparation every model needs.Linear Regression
Regression
Predict the delivery time of a food order.
Logistic Regression
Classification
Will a loan applicant repay or default?
K-Nearest Neighbours
Classification
Recommend a plan from what similar customers chose.
Decision Tree
Classification
Which employees are likely to leave the company?
Random Forest
Classification
Which telecom customers will stop recharging?
Naive Bayes
Classification
Is this SMS spam or a real message?
Support Vector Machine
Classification
Flag a risky card transaction.
K-Means Clustering
Clustering
Group mall shoppers for targeted offers.
PCA
Dimensionality reduction
Shrink 12 survey questions into 2 clear scores.