Skip to content
pigchipPublic

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

One-DSA

Python-first data structures and algorithms study tools.

Applications

  • Main One-DSA site: /one-dsa/
  • Mobile DSA Mastery: /one-dsa/dsa-mastery/

DSA Mastery is a static, mobile-first application intended for recent Android and iOS phones. It shows one view at a time and defaults to the Python editor; the hamburger menu switches between the syntax reference, editor, and active recall tutor.

Python executes locally through Pyodide in a Web Worker. Curriculum order, grading rubrics, mastery, and progress are deterministic and stored only in the browser. No Copilot subscription, API key, or server is required.

Optional WebLLM support can rephrase hints on devices with WebGPU:

  • SmolLM2 360M is the recommended phone option.
  • Llama 3.2 1B is an explicit high-memory device/tablet option.

Models are never downloaded automatically and never decide whether an answer is correct.

Development

npm install
npm run dev

Open the main app at http://127.0.0.1:5173/ and DSA Mastery at http://127.0.0.1:5173/dsa-mastery/.

Validation

npm test
npm run lint
npm run build

The production build uses Vite base /one-dsa/ and emits both dist/index.html and dist/dsa-mastery/index.html.

Deployment

.github/workflows/pages.yml validates and builds the repository, uploads dist, and deploys it with GitHub Pages Actions. The public DSA Mastery URL is:

https://pigchip.github.io/one-dsa/dsa-mastery/

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages