The Welcome to BASA DSA window over the Problems page.

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.

The BASA DSA Problems page. It shows 0 of 152 passed, in Python or TypeScript, a search box, filters for difficulty and progress, and the first topic, Arrays & Hashing, with Contains Duplicate, Valid Anagram and Two Sum.

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.

A BASA DSA problem, Contains Duplicate. The description and examples are on the left; on the right, a three-line Python answer and a Results panel showing that all three examples passed.

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.

Step 4 of 9 of the tour. A card titled Try it on the examples points to the highlighted Run button below the code editor.

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.