EPI 4.8 Primitive Types Reverse Digits

We are looking at question 4.8 from Elements Of Programming Interviews in Python book.

EPI 4.8 Write a program which takes an integer and returns the integer corresponding to the digits of the input written in reverse order.  For example: input: 42 output:24, input: -314 output: -413

If you are applying for software engineering positions I highly recommend getting this book.

Here is the video I created which walk you through the solution.

Elements Of Programming Interviews 4.8 Primitive Types Reverse Digits