How kaustubh-hub/dsa-query-challenge works
DSA Query Challenge is an offline quiz prototype with two runtimes: a browser experience and a C console application. In the browser, users sign in, choose a topic and difficulty, play a timed question run, then see results and local rankings; they can also explore the DSA Lab and a 3D concept spotlight. The C implementation provides the core challenge and in-memory player/leaderboard behavior. Source excerpts show the browser’s agent generation and scoring, but not every UI handler; README statements support the broader capability map.
Main entry points: app.js Challenge interface · dsa_query_challenge.c C registration and login · agents.js Question agents · visualizer3d.js 3D structure renderer
Components 14
Browser challenge
- Challenge interface
app.js - Question agents
agents.js - Curated question banks
agents.js
Learning content
- DSA Lab
app.js - Concept spotlight
app.js - 3D structure renderer
visualizer3d.js
Results and state
- Local rankings
app.js
C core
- In-memory player records
dsa_query_challenge.c - C registration and login
dsa_query_challenge.c - C question queue
dsa_query_challenge.c - C answer history
dsa_query_challenge.c - C sorted leaderboard
dsa_query_challenge.c
Other components
- Player
- Console player
Connections 13
- Player → Challenge interface: uses
README.md - Challenge interface → Question agents: requests questions
app.js - Question agents → Curated question banks: selects from
agents.js - Challenge interface → Local rankings: saves and reads
app.js - Challenge interface → DSA Lab: opens
README.md - Challenge interface → Concept spotlight: shows concept
README.md - Challenge interface → 3D structure renderer: renders topic
README.md - Console player → C registration and login: registers or logs in
dsa_query_challenge.c - C registration and login → In-memory player records: searches players
dsa_query_challenge.c - C registration and login → C question queue: starts challenge
dsa_query_challenge.c - C question queue → C answer history: records answers
README.md - C question queue → In-memory player records: updates results
dsa_query_challenge.c - In-memory player records → C sorted leaderboard: ranks completed runs
dsa_query_challenge.c