Microsoft interview question

hexadecimal to integer string output,