LTM Limited Interview Question

One Coding problem of Leap year