Tripadvisor Interview Question

Transform an integer to a string using only arithmetic operations. Known in C as 'itoa'.

Interview Answers

Anonymous

Mar 17, 2020

integer = 1 string = str(integer) assert len(string) == len(‘1’)

Anonymous

Feb 2, 2013

you can find the answer on google

1