Novartis interview question

Matrix multiplication code/logic Leap year code/logic