Keysight Technologies Interview Question

Reverse digits of integer. Leap year.