Idea · Aug 20, 2026

Socratic Tutoring at the Proof-Concept Boundary: Extending and Evaluating LLM-Based CS Theory Tutoring for Data Structures and Algorithm Analysis

The CHIRON system showed LLMs are only marginally viable as CS theory tutors, especially on proof-based questions. This research extends that evaluation framework to data structures and algorithm analysis, adds a symbolic consistency checker for complexity claims, and compares Socratic vs. direct-answer tutoring modes on learning outcomes.

What it would do

CHIRON (SIGCSE TS 2026) evaluated GPT-4 as a tutor for automata theory, computability, and complexity using a five-criterion rubric, finding strong performance on conceptual explanation but systematic failure on proof-based questions such as reductions. Data structures and algorithm analysis (DS&A) courses present an analogous landscape: LLMs explain sorting algorithms fluently but generate incorrect Big-O complexity analyses, flawed loop-invariant proofs, and inconsistent recurrence derivations. This research (1) replicates and extends the CHIRON rubric to 18-20 DS&A subtopics using a question bank matched to Pisan's CSS 342/343 curriculum, (2) adds a symbolic consistency-checking layer — inspired by Pisan's functional-roles-of-equations work — that validates LLM-generated complexity claims against ground-truth recurrences before delivery to the student, and (3) runs a within-subjects comparison of Socratic mode vs. direct-answer mode on student engagement and error correction in a short DS&A lab. The result is both an empirical benchmark for LLM DS&A tutoring and a prototype correction mechanism grounded in symbolic reasoning, extending the composed-AI-tutor agenda Pisan has pursued across his career.

More in Algorithms & Data Structures

Build Your Own Type Inferencer

Students implement a Hindley-Milner type inference engine for a small functional language, guided by a step-through visual debugger that animates constraint generation, unification, and the final type environment in real time.

Algorithms & Data StructuresClass assignmentLargeSep 2, 2026

Build-Your-Own Vector Search Engine

Students implement a complete vector similarity search engine from flat brute-force cosine search to HNSW approximate nearest-neighbor search, wrapped in a Flask API, learning the algorithms and tradeoffs underlying every modern RAG and semantic search system.

Algorithms & Data StructuresClass assignmentLargeAug 29, 2026

Pathfinding Playground

An interactive browser sandbox that animates classic pathfinding algorithms step-by-step on user-drawn grids, with AI narration explaining each decision in real time. Good for teaching, portfolio demos, and pure curiosity.

BuiltAlgorithms & Data StructuresProduct for a businessJul 26, 2026

Misconception-Targeted LLM Feedback for Data Structures Algorithm Simulation

A research program that extends a validated misconception-classification framework for algorithm simulation traces to three additional DSA algorithms, then evaluates whether LLM-generated, solution-free explanations targeted at the classified misconception reduce error persistence more than generic wrong-answer feedback.

Algorithms & Data StructuresResearch directionResearchJul 10, 2026

All 27 ideas in Algorithms & Data Structures →