Discrete Math

Logic, sets, proofs, combinatorics, graphs, and discrete probability — the language most of computer science and algorithms are built on.

5 resources
3 types
Jump to YouTube 2 Courses 2 Articles 1
YouTube Playlists 2 playlists
MIT — 6.042J Mathematics for Computer Science
Full MIT lecture playlist: proofs, graphs, counting, probability, recurrences — aligned with the classic CS discrete math syllabus.
freeCodeCamp — Discrete Mathematics (full course)
Long-form course covering combinatorics, number theory, counting principles, and notation with code-adjacent examples. Good companion to a textbook.
Courses 2 courses
MIT 6.042J — Mathematics for Computer Science
Problem sets, exams with solutions, and notes alongside the lecture videos. The standard free package for this topic.
Oscar Levin — Discrete Mathematics: An Open Introduction
Free online textbook (logic, combinatorics, graphs, and more) with exercises — pairs well with MIT-style lectures.
Articles & References 1 read
Lehman, Leighton & Meyer — Mathematics for Computer Science (PDF)
The MIT course book: proofs, structures, probability, and graphs in one free PDF. Dense but complete.