Domanda di colloquio di Zillow

Write a function that take an integer and return a reversed number. Ex. Reverse(1234), return 4321

Risposta di colloquio

Anonimo

27 gen 2016

I miss the edge case where you should check for max integer input, basically if input is larger then Max integer, the function should throws NumberFormatException

1