The mathematical foundations every programmer needs — logic, sets, functions, graph theory, and number theory — explained with code and real engineering applications.