OpenNet (Taiwan) Interview Question

I was asked to implement IsNumber