Coding practice

Work through 19 coding practice exercises in JavaScript, TypeScript, Python, SQL and JSON. Run a starter, use a hint when needed and compare your result with the explained solution. These are self-guided exercises without automated grading.

Browse all coding tools

Choose a language and skill

Each exercise includes a runnable starter, hints and an explained solution. Choose a topic you already recognise, then try its edge case.

GenAI and Frontend interview preparation

100 GenAI and Frontend questions with lessons, reference answers, follow-ups and self-guided mock interviews.

Explore Interview Prep

Sort books by price

Sort the books from cheapest to most expensive without changing the original array. Print the titles on one line, then print the title of the first item in the original array to prove it did not move.

Sorting objects · Beginner