BASA DSA: free coding practice for high school students
Announcement · November 2, 2026
Written by Alex Wang
BASA DSA is a free website where high school students practice data structures and algorithms: the ways programmers organize information, and the step-by-step methods they use to solve problems. It’s open now at dsa.basa.camp.
It has 152 problems in 18 topics, including arrays, trees, graphs and dynamic programming. Students write and run their code in the browser, in Python or TypeScript. They don’t need to install anything or create an account.

Problems are grouped by topic, and each topic starts with easier ones.
Every problem has at least three worked examples. Students who get stuck can open Hints, which give one small nudge at a time, or the Solution tab, which walks through full answers they can compare with their own. Run tries their code on the examples. Submit checks it against every test, including the tricky edge cases.

The problem on the left, the code and its results on the right.
BASA DSA is for students in grade 9 and up who already know some Python and are comfortable with loops, lists and functions. For parents: this isn’t a first coding class. If your student hasn’t written Python before, start with a beginner course.
On their first visit, students see a short welcome that explains who the site is for and offers a 2-minute tour. The tour happens on the real site. Students open their first problem, run their code and submit it, while a card points to each button they need. They can skip the tour and replay it later from the Progress page.

Each tour step points to the real button and waits for the student to use it.
Code and progress are saved on the student’s own device. To practice without internet, choose Download for offline once while connected. After that, the problems keep working offline. This works best in Chrome or Edge on a computer.
The tour starts with Contains Duplicate, an Easy problem from Arrays & Hashing, so that’s a good place to begin.
