Veson Nautical interview question

Write an integer-to-string function in my choice which I used C++