Microsoft Interview Question

hexadecimal to integer string output,