Practice coding problems
Solve by topic and difficulty, run and check your code in the browser, and get interview‑ready. Points: Easy 1 · Medium 2 · Hard 3 · Practice 0.
Trending courses
Go beyond practice — explore our instructor-led courses.












Frequently asked questions
Is Squarebrackets Prep free?+
Yes — practising coding problems on Squarebrackets Prep is completely free. You run and check your solution in the browser at no cost.
How does the online judge work?+
You write your solution in the in-browser compiler and submit it. It runs against hidden test cases and is marked correct only when all of them pass.
What topics can I practise?+
Problems are organised by topic — arrays, strings, hashing, dynamic programming, trees, graphs, sorting, greedy, recursion and more — and by difficulty: Easy, Medium and Hard.
How are points scored?+
Points are awarded by difficulty: Easy = 1, Medium = 2, Hard = 3, and Practice problems = 0. Your total shows on your prep profile.
Which programming languages are supported?+
You can solve problems in Python, Java, C, C++, JavaScript and more — the same languages supported by the Squarebrackets online compiler.
Is this useful for coding interview preparation?+
Yes. The problem set mirrors common coding-interview and competitive-programming patterns, so it is built for interview and placement preparation.
