🧮 CSC3001 LEC17-19 function mapping