Courses · interactive lecture notes and videos

Interactive notes for every lecture.

Companion sites for ten courses, from AI literacy for everyone to building software with coding agents. Each lecture walks through its ideas one step at a time, asks you to predict before it shows you, and ends with a self-check.

Agentic SE open course ↓
  1. 1
    Step throughWatch each idea unfold one step at a time, whether it is a proof, a program, or an AI answer.
  2. 2
    PredictCommit to an answer before the page shows you what really happens.
  3. 3
    CheckEnd every lecture with a self-check and exercises.
Open course · No coding8 modules

AI for All: AI Literacy for Everyone

Open course in Chinese and English · Designer: Boxi Yu · 中文版

Eight shared modules on using AI, checking what it says, and knowing when not to use it, with tracks for K–12, university, working adults, seniors, and teachers. The core module, C4, teaches learners to catch AI’s mistakes.

FromC1What AI is and isn'ttoC8When not to use AI

Introductory · Python11 lectures

AIE1001: Introduction to AI Programming

CUHK–Shenzhen · Instructors: Pinjia He, Junjie Hu, and Wenjing Ma

From number systems to recursion, classes, and data structures, ending with how large language models work. Step through what Python does in memory, predict each output before it appears, and finish every lecture with a self-check.

From01Computers and Number Systemsto11Large Language Modelsopens later

Core · Proof and counting12 lectures

DM101: Discrete Mathematics

Open course in English · Instructors: Mingtao Xia and Boxi Yu

The language of proof and the objects of computer science: definitions and theorems, sets and counting, quantifiers, relations, contradiction and induction, functions, probability, number theory, and graphs. Key ideas come with demos you can step through, and every exercise has a hint and a full solution.

From01Definitionsto12Graphs

Core · Python & Java9 chapters

Data Structures

Python and Java versions · Instructors: Boxi Yu and Yintong Huo

The structures behind every program, from arrays and linked lists to search trees, hash tables, heaps, and graphs, with complexity and proof methods as the common language. Pick Python or Java: the concepts are shared, the code is in your language.

From01Complexity and Proof Methodsto09Graphs and Graph Algorithms

Core · Java25 lectures

CSC3100: Data Structures

CUHK–Shenzhen · Instructors: Tianshu Yu, Mengmeng Liu, and Li Jiang

From abstract data types and Java basics through sorting, lists, stacks and queues, to binary search trees, AVL and red-black trees, heaps, hashing, and graph algorithms. Step through each structure as it changes, predict what the code prints, and run every Java example yourself.

From00Course Introductionto24Java Data Structuresopens later

Graduate · Python19 lectures

CSC5001: Design and Analysis of Computer Algorithms

CUHK–Shenzhen · Instructor: Mengmeng Liu

From proofs and asymptotic analysis through divide and conquer, the FFT and linear-time selection, to dynamic programming, union-find, Fenwick and segment trees, and graph algorithms from BFS and DFS to 2-SAT and minimum spanning trees. Step through each algorithm on your own inputs, predict before it shows you, and run every Python program yourself.

From00Course Introductionto18Approximation Algorithmsopens later

Core · Math with code30 lectures

LA101: Linear Algebra

Open course in English · Designer: Boxi Yu · Inspired by MIT 18.06

From three pictures of a linear system to the singular value decomposition and computing with matrices. Every number in the notes is computed by running code, and every unit ends with a machine-learning example and a section on working with AI: what to ask, and how to check the answer.

FromL01–05Equations and eliminationtoL29–30Computing with matrices

Core · Neural networks3 lectures

DDA3020: Machine Learning

CUHK–Shenzhen · Lectures 9–11 · Instructor: Jicong Fan

From a single neuron to attention: backpropagation on computational graphs, convolution and pooling, recurrent networks with LSTM and GRU, and the Transformer. Adjust the inputs, predict each result, and run the NumPy labs.

From09Neural Networksto11RNN and Transformer

Advanced · Coding agents11 lectures

CSC4801: AI-assisted Software Engineering

CUHK–Shenzhen · Fall 2026 · Instructor: Jinsheng Ba · Official course site

How LLMs and agents work, then how to use them across the software lifecycle: prompts, MCP and skills, requirements, coding, and team collaboration. Step through the agent loop, prompts, and tool calls, then try each step with a coding agent of your own.

From00Introductionto10Team Collaboration

Advanced · Research benchmark14 lectures

FrontierCS 2: Can AI Agents Do CS Research?

Open course in English · Designer: Boxi Yu · The benchmark

A tour of FrontierCS 2, a benchmark that removes the key contribution from a research paper and asks an agent to write it back. Each lecture takes one field, from systems and databases to cryptography and robotics: the paper’s idea, how a run is judged, and what the agents wrote. Every idea comes with a small model you can run.

From00Introductionto13Robotics

Interactive notes and videos built with Peiyu Zhineng (培玉智能). I designed AI for All and LA101, teach DM101 with Mingtao Xia and Data Structures with Yintong Huo, and co-designed the AIE1001, CSC3100, CSC5001, DDA3020, and CSC4801 notes; their slides and course content belong to each instructor.

Open course · Fall 2026

Agentic Software Engineering

A twelve-week course on building software with coding agents: agents generate, and students verify, decide, and explain. Each week pairs a lecture with a practitioner talk or a project studio, and every example shows both generation and verification.

For
Students who build software with coding agents
Topics
Agent internals, context engineering, code review, testing, security, and evaluating agents
Format
Weekly notes and short films; assignments, open-source contributions, a term project, and two checkpoints without AI
Browse the course materials ↗

Teaching & supervision

Classroom teaching, Ph.D. supervision, and mentoring.

Courses I assisted at CUHK–Shenzhen, and where the students I mentored went next.

Teaching & supervision →