Domanda di colloquio di Tripadvisor

Convert an int to a string without casting

Risposte di colloquio

Anonimo

10 ott 2018

chr(48 + number). using ascii values

Anonimo

22 mag 2015

The question was asked for Python, so I'm not sure what other solutions would look like.

Anonimo

22 mag 2015

Given int i String str = "" + i; Is this solution to simple?