Incedo interview question

Corner cases while conversions